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.AsynchronousInductionMachines.AIMC_withLosses.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.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004702, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09045, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01357/0.1041, allocations: 7.859 MB / 316.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009079/0.1132, allocations: 3.288 MB / 320.2 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001603/0.1149, allocations: 35.81 kB / 320.3 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.1176, allocations: 0.5559 MB / 320.8 MB, free: 4.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003476/0.1212, allocations: 0.6893 MB / 321.5 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1228, allocations: 275.5 kB / 321.8 MB, free: 3.609 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.1273, allocations: 1.775 MB / 323.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.13, allocations: 1.28 MB / 324.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.1319, allocations: 0.8485 MB / 325.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002688/0.1347, allocations: 1.101 MB / 326.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007369/0.1354, allocations: 136 kB / 326.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.1371, allocations: 331.7 kB / 327.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001644/0.1388, allocations: 0.7947 MB / 328 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.1399, allocations: 0.5081 MB / 328.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005783/0.1457, allocations: 3.347 MB / 331.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1458, allocations: 4 kB / 331.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1458, allocations: 0 / 331.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001304/0.1459, allocations: 0 / 331.9 MB, free: 9.43 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008928/0.1549, allocations: 2.723 MB / 334.6 MB, free: 6.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/0.155, allocations: 8.031 kB / 334.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001547/0.1565, allocations: 328.3 kB / 334.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.1614, allocations: 1.537 MB / 336.5 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.1616, allocations: 155.9 kB / 336.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007043/0.1623, allocations: 211.9 kB / 336.8 MB, free: 4.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008148/0.1705, allocations: 2.655 MB / 339.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.1706, allocations: 7.938 kB / 339.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.171, allocations: 91.94 kB / 339.6 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.1712, allocations: 95.92 kB / 339.7 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007704/0.1789, allocations: 2.264 MB / 341.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02988/0.2088, allocations: 8.205 MB / 350.1 MB, free: 6.754 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00675/0.2156, allocations: 1.6 MB / 351.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005422/0.2162, allocations: 135.3 kB / 351.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.094e-05/0.2163, allocations: 43.56 kB / 351.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 1.485e-05/0.2163, allocations: 3.984 kB / 351.9 MB, free: 4.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.02719/0.2435, allocations: 6.455 MB / 358.4 MB, free: 14.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.2436, allocations: 64.72 kB / 358.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/0.2481, allocations: 2.101 MB / 360.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003085/0.2485, allocations: 45.7 kB / 360.6 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001284/0.2498, allocations: 1.104 MB / 361.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007389/0.2505, allocations: 453.4 kB / 362.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.2507, allocations: 28 kB / 362.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.2509, allocations: 361.9 kB / 362.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.2533, allocations: 0.7574 MB / 363.3 MB, free: 9.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00266/0.256, allocations: 1.01 MB / 364.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.2588, allocations: 0.9255 MB / 365.2 MB, free: 7.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.2589, allocations: 7.953 kB / 365.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.009288/0.2682, allocations: 2.809 MB / 368 MB, free: 4.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.2683, allocations: 37.73 kB / 368.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.2683, allocations: 11.94 kB / 368.1 MB, free: 4.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003574/0.2719, allocations: 0.8055 MB / 368.9 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/0.2742, allocations: 271.6 kB / 369.1 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2611/0.5353, allocations: 9.26 MB / 378.4 MB, free: 56.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.5375, allocations: 98.11 kB / 378.5 MB, free: 56.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.5377, allocations: 54.09 kB / 378.6 MB, free: 56.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001798/0.5395, allocations: 0.7414 MB / 379.3 MB, free: 55.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005798/0.5401, allocations: 198.2 kB / 379.5 MB, free: 55.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007802/0.5479, allocations: 2.518 MB / 382 MB, free: 55.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/0.548, allocations: 10.45 kB / 382 MB, free: 55.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.548, allocations: 1.75 kB / 382 MB, free: 55.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.5493, allocations: 437.5 kB / 382.4 MB, free: 54.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004351/0.5498, allocations: 28.38 kB / 382.5 MB, free: 54.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/0.5515, allocations: 101.5 kB / 382.6 MB, free: 54.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003721/0.5519, allocations: 121.6 kB / 382.7 MB, free: 54.8 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009599/0.5615, allocations: 2.643 MB / 385.3 MB, free: 53.98 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007417/0.5689, allocations: 3.076 MB / 388.4 MB, free: 52.75 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002035/0.571, allocations: 0.8618 MB / 389.3 MB, free: 52.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002698/0.5737, allocations: 1.466 MB / 390.7 MB, free: 51.91 MB / 314.7 MB Notification: Performance of Backend: time 1.062e-06/0.5738, allocations: 3.344 kB / 390.7 MB, free: 51.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006246/0.58, allocations: 2.111 MB / 392.9 MB, free: 50.74 MB / 314.7 MB Notification: Performance of SimCode: time 0.01193/0.592, allocations: 6.341 MB / 399.2 MB, free: 45.4 MB / 314.7 MB Notification: Performance of Templates: time 0.07035/0.6624, allocations: 28.19 MB / 427.4 MB, free: 17.19 MB / 314.7 MB