Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 2.351/2.351, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003362, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09878, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01778/0.1166, allocations: 7.811 MB / 316.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009538/0.1262, allocations: 3.014 MB / 319.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.1278, allocations: 43.75 kB / 319.9 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003126/0.131, allocations: 0.548 MB / 320.5 MB, free: 4.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.1348, allocations: 0.6543 MB / 321.1 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.1364, allocations: 251.6 kB / 321.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004268/0.1407, allocations: 1.658 MB / 323 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.1437, allocations: 1.484 MB / 324.5 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.1454, allocations: 0.8056 MB / 325.3 MB, free: 12 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.1477, allocations: 1.062 MB / 326.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.1484, allocations: 136 kB / 326.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009933/0.1494, allocations: 207.9 kB / 326.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.1504, allocations: 0.6309 MB / 327.4 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.1514, allocations: 496.5 kB / 327.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005133/0.1565, allocations: 3.276 MB / 331.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1566, allocations: 0 / 331.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.277e-06/0.1566, allocations: 0 / 331.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000123/0.1567, allocations: 0 / 331.1 MB, free: 10.2 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.008196/0.1649, allocations: 2.456 MB / 333.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.165, allocations: 8.031 kB / 333.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001506/0.1665, allocations: 288.8 kB / 333.9 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004134/0.1707, allocations: 1.382 MB / 335.3 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.1709, allocations: 164.1 kB / 335.4 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006169/0.1715, allocations: 211.9 kB / 335.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00834/0.1799, allocations: 2.748 MB / 338.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.18, allocations: 12 kB / 338.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000312/0.1804, allocations: 83.98 kB / 338.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.1806, allocations: 108.1 kB / 338.6 MB, free: 2.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007287/0.1879, allocations: 2.327 MB / 340.9 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02319/0.2111, allocations: 8.546 MB / 349.4 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004142/0.2153, allocations: 1.688 MB / 351.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004342/0.2158, allocations: 211.2 kB / 351.3 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.2158, allocations: 43.56 kB / 351.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 4.017e-06/0.2159, allocations: 4 kB / 351.4 MB, free: 5.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=118): time 0.03523/0.2511, allocations: 6.789 MB / 358.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.2512, allocations: 64.41 kB / 358.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/0.2568, allocations: 1.374 MB / 359.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003845/0.2573, allocations: 49.7 kB / 359.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001834/0.2591, allocations: 1.021 MB / 360.7 MB, free: 11.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.2605, allocations: 418 kB / 361.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.2608, allocations: 24 kB / 361.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003088/0.2611, allocations: 361.9 kB / 361.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00378/0.2649, allocations: 0.7222 MB / 362.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.2674, allocations: 1.1 MB / 363.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002371/0.2698, allocations: 0.9003 MB / 364.2 MB, free: 8.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.457e-06/0.2698, allocations: 7.953 kB / 364.2 MB, free: 8.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007454/0.2773, allocations: 2.512 MB / 366.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.2774, allocations: 8 kB / 366.7 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.2774, allocations: 12 kB / 366.7 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.2798, allocations: 0.5374 MB / 367.3 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/0.2823, allocations: 335.5 kB / 367.6 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2747/0.557, allocations: 6.41 MB / 374 MB, free: 58.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.559, allocations: 109.7 kB / 374.1 MB, free: 58.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.5592, allocations: 57.7 kB / 374.2 MB, free: 58.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (154): * Single equations (assignments): 151 * 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: 2 * 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: 2 {(6,72.2%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001558/0.5608, allocations: 0.6887 MB / 374.9 MB, free: 58.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.5612, allocations: 161 kB / 375 MB, free: 58.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006493/0.5677, allocations: 2.245 MB / 377.3 MB, free: 57.22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.5677, allocations: 6.094 kB / 377.3 MB, free: 57.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5678, allocations: 1 kB / 377.3 MB, free: 57.22 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.5689, allocations: 387 kB / 377.6 MB, free: 57.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/0.5693, allocations: 25.84 kB / 377.7 MB, free: 57.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.5708, allocations: 102.9 kB / 377.8 MB, free: 57.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/0.5711, allocations: 105.4 kB / 377.9 MB, free: 57.01 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008481/0.5796, allocations: 2.371 MB / 380.2 MB, free: 56.27 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006445/0.5861, allocations: 2.795 MB / 383 MB, free: 55.23 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001819/0.588, allocations: 0.781 MB / 383.8 MB, free: 54.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0019/0.5899, allocations: 0.937 MB / 384.8 MB, free: 54.6 MB / 314.7 MB Notification: Performance of Backend: time 4.4e-07/0.5899, allocations: 0 / 384.8 MB, free: 54.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00727/0.5972, allocations: 1.727 MB / 386.5 MB, free: 53.74 MB / 314.7 MB Notification: Performance of SimCode: time 0.01252/0.6098, allocations: 5.598 MB / 392.1 MB, free: 50.41 MB / 314.7 MB Notification: Performance of Templates: time 0.0578/0.6676, allocations: 23.86 MB / 415.9 MB, free: 28.11 MB / 314.7 MB