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.AsynchronousInductionMachines.AIMC_withLosses.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.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 16 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07841, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses): time 0.01344/0.0919, allocations: 7.775 MB / 280.4 MB, free: 3.719 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1043, allocations: 3.264 MB / 283.7 MB, free: 460 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.1061, allocations: 35.81 kB / 283.7 MB, free: 424 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002309/0.1085, allocations: 0.5365 MB / 284.3 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003133/0.1116, allocations: 0.6893 MB / 284.9 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1128, allocations: 271.5 kB / 285.2 MB, free: 14.92 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004052/0.1169, allocations: 1.751 MB / 287 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002478/0.1194, allocations: 1.28 MB / 288.2 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.1211, allocations: 0.8485 MB / 289.1 MB, free: 11 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.1235, allocations: 1.086 MB / 290.2 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005311/0.124, allocations: 132 kB / 290.3 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.1252, allocations: 247.8 kB / 290.5 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.1264, allocations: 0.7556 MB / 291.3 MB, free: 8.781 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007852/0.1272, allocations: 0.5042 MB / 291.8 MB, free: 8.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.1322, allocations: 3.304 MB / 295.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1322, allocations: 0 / 295.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.1323, allocations: 0 / 295.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.079e-05/0.1324, allocations: 3.938 kB / 295.1 MB, free: 4.953 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.00826/0.1406, allocations: 2.692 MB / 297.8 MB, free: 2.191 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.1407, allocations: 8.031 kB / 297.8 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.1421, allocations: 324.3 kB / 298.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.1464, allocations: 1.521 MB / 299.6 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.1466, allocations: 152 kB / 299.8 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2127/0.3593, allocations: 200.9 kB / 300 MB, free: 28.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008407/0.3678, allocations: 2.635 MB / 302.6 MB, free: 28.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.698e-05/0.3679, allocations: 7.656 kB / 302.6 MB, free: 28.29 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.3682, allocations: 78.27 kB / 302.7 MB, free: 28.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.3684, allocations: 92.3 kB / 302.8 MB, free: 28.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007422/0.3758, allocations: 2.244 MB / 305 MB, free: 27.45 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.3962, allocations: 8.13 MB / 313.2 MB, free: 22.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.4003, allocations: 1.55 MB / 314.7 MB, free: 21.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003292/0.4007, allocations: 129.6 kB / 314.9 MB, free: 21.56 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4007, allocations: 47.31 kB / 314.9 MB, free: 21.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=112): time 5.029e-06/0.4007, allocations: 0 / 314.9 MB, free: 21.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=128): time 0.01995/0.4207, allocations: 6.607 MB / 321.5 MB, free: 17.09 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.4207, allocations: 64.41 kB / 321.6 MB, free: 17.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/0.4241, allocations: 2.062 MB / 323.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002493/0.4243, allocations: 50.64 kB / 323.7 MB, free: 14.85 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008346/0.4252, allocations: 1.091 MB / 324.8 MB, free: 13.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/0.4256, allocations: 443.6 kB / 325.2 MB, free: 13.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.4258, allocations: 26.34 kB / 325.2 MB, free: 13.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4259, allocations: 361.9 kB / 325.6 MB, free: 12.94 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.4278, allocations: 0.7457 MB / 326.3 MB, free: 12.19 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.4299, allocations: 1.007 MB / 327.3 MB, free: 11.09 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.432, allocations: 0.9137 MB / 328.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.4321, allocations: 0 / 328.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.007502/0.4396, allocations: 2.79 MB / 331 MB, free: 7.359 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.4397, allocations: 38.36 kB / 331.1 MB, free: 7.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.4397, allocations: 8 kB / 331.1 MB, free: 7.309 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00325/0.4429, allocations: 0.8064 MB / 331.9 MB, free: 6.496 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.445, allocations: 267.6 kB / 332.2 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/0.4639, allocations: 9.288 MB / 341.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.4661, allocations: 95.89 kB / 341.5 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.4665, allocations: 59.03 kB / 341.6 MB, free: 12.54 MB / 266.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 (121): * Single equations (assignments): 116 * 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.002093/0.4686, allocations: 0.7356 MB / 342.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006821/0.4693, allocations: 205.5 kB / 342.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007985/0.4773, allocations: 2.488 MB / 345 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/0.4773, allocations: 3.984 kB / 345 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.4774, allocations: 4 kB / 345 MB, free: 9.078 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.4788, allocations: 446.4 kB / 345.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004962/0.4793, allocations: 27.98 kB / 345.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.481, allocations: 91.89 kB / 345.6 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.4814, allocations: 113.1 kB / 345.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0103/0.4917, allocations: 2.61 MB / 348.3 MB, free: 5.793 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008511/0.5003, allocations: 3.046 MB / 351.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002387/0.5027, allocations: 0.8582 MB / 352.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003216/0.506, allocations: 1.449 MB / 353.6 MB, free: 420 kB / 266.7 MB Notification: Performance of Backend: time 1.453e-06/0.506, allocations: 1.859 kB / 353.7 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006848/0.5129, allocations: 2.043 MB / 355.7 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 0.01475/0.5277, allocations: 6.28 MB / 362 MB, free: 8.039 MB / 282.7 MB Notification: Performance of Templates: time 0.08263/0.6104, allocations: 27.36 MB / 389.3 MB, free: 12.68 MB / 314.7 MB