Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.909/1.909, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 8 kB / 264.1 MB, free: 2.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2886, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics): time 0.0354/0.324, allocations: 20.69 MB / 329.3 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.3433, allocations: 6.891 MB / 336.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004568/0.348, allocations: 155.5 kB / 336.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007132/0.3551, allocations: 1.504 MB / 337.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01179/0.367, allocations: 2.52 MB / 340.3 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006302/0.3733, allocations: 1.185 MB / 341.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02418/0.3975, allocations: 10.17 MB / 351.7 MB, free: 1.398 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04699/0.4446, allocations: 17.79 MB / 369.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008496/0.4531, allocations: 3.945 MB / 373.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01014/0.4633, allocations: 4.343 MB / 377.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.4659, allocations: 0.6406 MB / 378.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004878/0.4708, allocations: 0.9293 MB / 379.4 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003496/0.4743, allocations: 1.892 MB / 381.2 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004075/0.4784, allocations: 2.067 MB / 383.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02889/0.5074, allocations: 18.95 MB / 402.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.5074, allocations: 0 / 402.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5074, allocations: 0 / 402.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005044/0.508, allocations: 0 / 402.3 MB, free: 14.65 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2677 * Number of variables: 2677 Notification: Performance of Generate backend data structure: time 0.04731/0.5553, allocations: 10.85 MB / 413.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.5553, allocations: 12.03 kB / 413.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00706/0.5624, allocations: 1.581 MB / 414.7 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5598/1.122, allocations: 7.088 MB / 421.8 MB, free: 74.94 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.139, allocations: 6.102 MB / 427.9 MB, free: 71.57 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007941/1.14, allocations: 0.7094 MB / 428.6 MB, free: 71.25 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004193/1.144, allocations: 0.9341 MB / 429.5 MB, free: 70.95 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04912/1.194, allocations: 16.07 MB / 445.6 MB, free: 57.56 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005247/1.194, allocations: 19.06 kB / 445.6 MB, free: 57.55 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003608/1.198, allocations: 397.9 kB / 446 MB, free: 57.17 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007598/1.199, allocations: 0.5833 MB / 446.6 MB, free: 56.59 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04276/1.241, allocations: 15.41 MB / 462 MB, free: 41.16 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/1.358, allocations: 52.95 MB / 0.5029 GB, free: 3.266 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05/1.408, allocations: 35.5 MB / 0.5376 GB, free: 11.55 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03038/1.439, allocations: 10.26 MB / 0.5476 GB, free: 1.309 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.172e-05/1.439, allocations: 64.95 kB / 0.5476 GB, free: 1.234 MB / 410.8 MB Notification: Performance of pre-optimization done (n=307): time 6.412e-06/1.439, allocations: 3.938 kB / 0.5476 GB, free: 1.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=313): time 0.06033/1.499, allocations: 15.58 MB / 0.5629 GB, free: 1.441 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.12e-05/1.499, allocations: 93.83 kB / 0.5629 GB, free: 1.336 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2793/1.779, allocations: 3.807 MB / 0.5667 GB, free: 142.5 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006603/1.779, allocations: 73.45 kB / 0.5667 GB, free: 142.4 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/1.782, allocations: 4.245 MB / 0.5709 GB, free: 139.8 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001424/1.784, allocations: 1.087 MB / 0.5719 GB, free: 139 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000487/1.784, allocations: 111.7 kB / 0.572 GB, free: 138.9 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0003263/1.784, allocations: 0.5274 MB / 0.5726 GB, free: 138.5 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006052/1.791, allocations: 2.598 MB / 0.5751 GB, free: 137.5 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007381/1.798, allocations: 4.938 MB / 0.5799 GB, free: 133.4 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008048/1.806, allocations: 3.732 MB / 0.5836 GB, free: 131.8 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-05/1.806, allocations: 26.56 kB / 0.5836 GB, free: 131.8 MB / 426.8 MB Notification: Performance of matching and sorting (n=706) (initialization): time 0.0232/1.829, allocations: 8.722 MB / 0.5921 GB, free: 128.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/1.829, allocations: 42.53 kB / 0.5922 GB, free: 128.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.83, allocations: 81.81 kB / 0.5922 GB, free: 128.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005229/1.835, allocations: 1.214 MB / 0.5934 GB, free: 128.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008231/1.843, allocations: 1.236 MB / 0.5946 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/1.865, allocations: 9.383 MB / 0.6038 GB, free: 121 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006156/1.871, allocations: 339 kB / 0.6041 GB, free: 120.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007804/1.872, allocations: 287.1 kB / 0.6044 GB, free: 120.5 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (645): * Single equations (assignments): 640 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007938/1.88, allocations: 3.737 MB / 0.608 GB, free: 117.3 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/1.881, allocations: 380.5 kB / 0.6084 GB, free: 116.9 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.896, allocations: 5.929 MB / 0.6142 GB, free: 111 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01184/1.908, allocations: 4.87 MB / 0.6189 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.908, allocations: 13.73 kB / 0.619 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.585e-05/1.908, allocations: 19.91 kB / 0.619 GB, free: 106.1 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03211/1.94, allocations: 13.91 MB / 0.6326 GB, free: 92.11 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.94, allocations: 4 kB / 0.6326 GB, free: 92.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00463/1.945, allocations: 0.5695 MB / 0.6331 GB, free: 91.53 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004741/1.95, allocations: 1.071 MB / 0.6342 GB, free: 90.45 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/1.95, allocations: 75.97 kB / 0.6342 GB, free: 90.38 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/1.968, allocations: 8.313 MB / 0.6424 GB, free: 81.94 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.969, allocations: 4 kB / 0.6424 GB, free: 81.94 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02828/1.997, allocations: 8.698 MB / 0.6509 GB, free: 73.12 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003669/2.001, allocations: 0.8982 MB / 0.6517 GB, free: 72.2 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/2.002, allocations: 60 kB / 0.6518 GB, free: 72.14 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004879/2.007, allocations: 195.8 kB / 0.652 GB, free: 71.95 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000994/2.008, allocations: 226.7 kB / 0.6522 GB, free: 71.72 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004438/2.008, allocations: 91.98 kB / 0.6523 GB, free: 71.63 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007109/2.015, allocations: 2.553 MB / 0.6548 GB, free: 69.09 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.51e-07/2.015, allocations: 0 / 0.6548 GB, free: 69.09 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01079/2.026, allocations: 1.547 MB / 0.6563 GB, free: 67.55 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (imcQS.rotorCage.port_p.reference.gamma,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 284 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,40.8%) 44} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02679/2.053, allocations: 9.413 MB / 0.6655 GB, free: 58.02 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01571/2.069, allocations: 6.622 MB / 0.6719 GB, free: 51.37 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/2.069, allocations: 0 / 0.6719 GB, free: 51.37 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008577/2.077, allocations: 3.054 MB / 0.6749 GB, free: 48.31 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006863/2.084, allocations: 0.8568 MB / 0.6758 GB, free: 47.46 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4359/2.52, allocations: 45.77 MB / 0.7205 GB, free: 138.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/2.532, allocations: 6.379 MB / 0.7267 GB, free: 137.3 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.008966/2.541, allocations: 1.883 MB / 0.7285 GB, free: 137.2 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008008/2.549, allocations: 3.303 MB / 0.7318 GB, free: 135.1 MB / 426.8 MB Notification: Performance of SimCode: time 2.084e-06/2.549, allocations: 4 kB / 0.7318 GB, free: 135.1 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2417/2.791, allocations: 117.3 MB / 0.8463 GB, free: 26.99 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/2.791, allocations: 277.4 kB / 0.8466 GB, free: 26.62 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.983/8.774, allocations: 4 kB / 0.8466 GB, free: 26.61 MB / 426.8 MB