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.SMEE_LoadDump.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.SMEE_LoadDump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005327/0.000533, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1005, allocations: 44.52 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump): time 0.01724/0.1178, allocations: 10.03 MB / 319.1 MB, free: 6.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.1281, allocations: 4.034 MB / 323.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.1303, allocations: 55.75 kB / 323.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00317/0.1336, allocations: 0.7035 MB / 323.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.138, allocations: 0.9152 MB / 324.8 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.1403, allocations: 415.3 kB / 325.2 MB, free: 152 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006006/0.1464, allocations: 2.419 MB / 327.6 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/0.1504, allocations: 1.849 MB / 329.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002803/0.1532, allocations: 1.195 MB / 330.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.1567, allocations: 1.463 MB / 332.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009897/0.1577, allocations: 176 kB / 332.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.1592, allocations: 251.9 kB / 332.6 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.1609, allocations: 0.8645 MB / 333.4 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.1624, allocations: 0.6562 MB / 334.1 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007198/0.1696, allocations: 4.344 MB / 338.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1696, allocations: 0 / 338.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1697, allocations: 0 / 338.4 MB, free: 2.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001637/0.1698, allocations: 0 / 338.4 MB, free: 2.871 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.0121/0.1819, allocations: 3.369 MB / 341.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.182, allocations: 8.031 kB / 341.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/0.1848, allocations: 483.5 kB / 342.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005911/0.1907, allocations: 1.881 MB / 344.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.1912, allocations: 379.8 kB / 344.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008975/0.1921, allocations: 279.9 kB / 344.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.203, allocations: 3.634 MB / 348.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.2031, allocations: 15.94 kB / 348.5 MB, free: 8.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.2036, allocations: 116 kB / 348.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.2038, allocations: 121.4 kB / 348.7 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.214, allocations: 3.047 MB / 351.7 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.2463, allocations: 11.74 MB / 363.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005857/0.2522, allocations: 2.822 MB / 366.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/0.2527, allocations: 127.8 kB / 366.4 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003491/0.2562, allocations: 1.155 MB / 367.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=152): time 5.17e-06/0.2563, allocations: 0 / 367.6 MB, free: 4.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=172): time 0.2907/0.547, allocations: 9.309 MB / 376.9 MB, free: 58.4 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.5472, allocations: 306.3 kB / 377.2 MB, free: 58.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005365/0.5526, allocations: 2.053 MB / 379.2 MB, free: 57.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004164/0.553, allocations: 63.64 kB / 379.3 MB, free: 57.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.5546, allocations: 1.374 MB / 380.7 MB, free: 56.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008562/0.5555, allocations: 0.5738 MB / 381.2 MB, free: 55.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.5557, allocations: 44.41 kB / 381.3 MB, free: 55.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.5559, allocations: 383.8 kB / 381.7 MB, free: 55.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/0.5589, allocations: 1.038 MB / 382.7 MB, free: 54.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003471/0.5624, allocations: 1.57 MB / 384.3 MB, free: 53.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003332/0.5658, allocations: 1.234 MB / 385.5 MB, free: 53.49 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.5659, allocations: 5.906 kB / 385.5 MB, free: 53.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01101/0.5769, allocations: 3.582 MB / 389.1 MB, free: 52.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.5772, allocations: 0.4946 MB / 389.6 MB, free: 51.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.5772, allocations: 15.64 kB / 389.6 MB, free: 51.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004571/0.5818, allocations: 1.138 MB / 390.7 MB, free: 51.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.5846, allocations: 384 kB / 391.1 MB, free: 51.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02086/0.6055, allocations: 14.3 MB / 405.4 MB, free: 38.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/0.6092, allocations: 170.3 kB / 405.6 MB, free: 38.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004063/0.6096, allocations: 83.98 kB / 405.7 MB, free: 38.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.6096, allocations: 0 / 405.7 MB, free: 38.1 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008453/0.6181, allocations: 3.328 MB / 409 MB, free: 34.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.635e-05/0.6182, allocations: 16 kB / 409 MB, free: 34.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004269/0.6225, allocations: 1.133 MB / 410.1 MB, free: 33.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.6252, allocations: 375 kB / 410.5 MB, free: 33.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.6455, allocations: 14.27 MB / 424.8 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003404/0.649, allocations: 163.8 kB / 424.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004709/0.6495, allocations: 76 kB / 425 MB, free: 17.93 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 204 * 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: 6 * 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 {(4,100.0%) 14,(3,100.0%) 21,(2,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002585/0.6521, allocations: 0.9769 MB / 426 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008041/0.6529, allocations: 225.3 kB / 426.2 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.6634, allocations: 3.379 MB / 429.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-05/0.6634, allocations: 7.969 kB / 429.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.6635, allocations: 3.953 kB / 429.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.6655, allocations: 0.5315 MB / 430.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009287/0.6665, allocations: 47.98 kB / 430.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002861/0.6693, allocations: 139.8 kB / 430.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006706/0.6701, allocations: 177.7 kB / 430.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01219/0.6823, allocations: 3.567 MB / 434 MB, free: 8.844 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008497/0.6908, allocations: 3.783 MB / 437.8 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002466/0.6933, allocations: 1.116 MB / 438.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003048/0.6964, allocations: 1.398 MB / 440.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of Backend: time 1.332e-06/0.6965, allocations: 4 kB / 440.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01538/0.7118, allocations: 5.396 MB / 445.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of SimCode: time 0.01812/0.73, allocations: 7.505 MB / 453.2 MB, free: 5.367 MB / 330.7 MB Notification: Performance of Templates: time 0.1261/0.8562, allocations: 45.55 MB / 498.8 MB, free: 7.812 MB / 378.7 MB