Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.1 MB / 186.7 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07802/0.07839, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01312/0.09156, allocations: 7.81 MB / 280.4 MB, free: 3.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.09871, allocations: 2.979 MB / 283.4 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.09973, allocations: 39.81 kB / 283.5 MB, free: 0.668 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.1016, allocations: 0.5519 MB / 284 MB, free: 116 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.104, allocations: 0.662 MB / 284.7 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.105, allocations: 243.7 kB / 284.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003212/0.1082, allocations: 1.677 MB / 286.6 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.1108, allocations: 1.495 MB / 288.1 MB, free: 12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00141/0.1122, allocations: 0.8212 MB / 288.9 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.1141, allocations: 1.031 MB / 289.9 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000387/0.1145, allocations: 132 kB / 290.1 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.1153, allocations: 203.8 kB / 290.3 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.1164, allocations: 0.6388 MB / 290.9 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006286/0.117, allocations: 492.5 kB / 291.4 MB, free: 8.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.1215, allocations: 3.238 MB / 294.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1216, allocations: 0 / 294.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1216, allocations: 0 / 294.6 MB, free: 5.438 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.686e-05/0.1216, allocations: 0 / 294.6 MB, free: 5.438 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.00712/0.1288, allocations: 2.436 MB / 297.1 MB, free: 2.938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1288, allocations: 11.97 kB / 297.1 MB, free: 2.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.1298, allocations: 288.8 kB / 297.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.1333, allocations: 1.339 MB / 298.7 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.1335, allocations: 156.2 kB / 298.9 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005059/0.134, allocations: 207.9 kB / 299.1 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2261/0.3601, allocations: 2.761 MB / 301.8 MB, free: 28.32 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.101e-05/0.3602, allocations: 3.922 kB / 301.8 MB, free: 28.32 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.3605, allocations: 87.7 kB / 301.9 MB, free: 28.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.3607, allocations: 104 kB / 302 MB, free: 28.24 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006756/0.3675, allocations: 2.332 MB / 304.3 MB, free: 27.41 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.3882, allocations: 8.518 MB / 312.9 MB, free: 22.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003559/0.3918, allocations: 1.682 MB / 314.5 MB, free: 21.13 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.3922, allocations: 122.7 kB / 314.7 MB, free: 21.03 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3922, allocations: 45 kB / 314.7 MB, free: 20.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=99): time 4.078e-06/0.3923, allocations: 0 / 314.7 MB, free: 20.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=114): time 0.02016/0.4124, allocations: 6.125 MB / 320.8 MB, free: 17.48 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.4125, allocations: 63.47 kB / 320.9 MB, free: 17.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.4147, allocations: 1.321 MB / 322.2 MB, free: 16.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.4148, allocations: 49.7 kB / 322.3 MB, free: 16.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006622/0.4155, allocations: 1.015 MB / 323.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.4158, allocations: 407.1 kB / 323.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.416, allocations: 28 kB / 323.7 MB, free: 14.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.4161, allocations: 357.9 kB / 324 MB, free: 14.41 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.4177, allocations: 0.691 MB / 324.7 MB, free: 13.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.4195, allocations: 1.061 MB / 325.8 MB, free: 12.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.4214, allocations: 0.8501 MB / 326.6 MB, free: 11.64 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4215, allocations: 8 kB / 326.7 MB, free: 11.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005423/0.4269, allocations: 2.366 MB / 329 MB, free: 9.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.427, allocations: 12.88 kB / 329 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/0.427, allocations: 19.95 kB / 329.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.4284, allocations: 383.2 kB / 329.4 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/0.4305, allocations: 331.5 kB / 329.8 MB, free: 8.488 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00771/0.4383, allocations: 6.379 MB / 336.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.4401, allocations: 95.81 kB / 336.2 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.4402, allocations: 67.7 kB / 336.3 MB, free: 1.566 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (158): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 11,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.4417, allocations: 0.6852 MB / 337 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.442, allocations: 154.1 kB / 337.1 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/0.4476, allocations: 2.099 MB / 339.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/0.4476, allocations: 3.984 kB / 339.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/0.4476, allocations: 2.531 kB / 339.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/0.4486, allocations: 382.9 kB / 339.6 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003564/0.449, allocations: 24 kB / 339.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.4504, allocations: 95.89 kB / 339.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.4506, allocations: 88.84 kB / 339.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00746/0.4581, allocations: 2.133 MB / 341.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006511/0.4646, allocations: 2.652 MB / 344.6 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001864/0.4665, allocations: 0.7417 MB / 345.3 MB, free: 8.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002005/0.4686, allocations: 0.8903 MB / 346.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of Backend: time 5.91e-07/0.4686, allocations: 0 / 346.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.4733, allocations: 1.68 MB / 347.9 MB, free: 5.801 MB / 266.7 MB Notification: Performance of SimCode: time 0.01145/0.4848, allocations: 5.491 MB / 353.4 MB, free: 264 kB / 266.7 MB Notification: Performance of Templates: time 0.06368/0.5485, allocations: 22.17 MB / 375.6 MB, free: 10.15 MB / 298.7 MB