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.137/2.137, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003575, allocations: 11.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1241, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4876/0.6118, allocations: 104.2 MB / 413.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.6121, allocations: 96.23 kB / 413.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2218/0.8339, allocations: 51.39 MB / 464.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.8339, allocations: 0 / 464.7 MB, free: 7.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000328/0.8343, allocations: 59.94 kB / 464.8 MB, free: 7.199 MB / 346.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.01128/0.8456, allocations: 2.77 MB / 467.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.8457, allocations: 15.97 kB / 467.6 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.8478, allocations: 334.1 kB / 467.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006982/0.8548, allocations: 1.778 MB / 469.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002732/0.8551, allocations: 156 kB / 469.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.8561, allocations: 199.9 kB / 470 MB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.8671, allocations: 2.677 MB / 472.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.8672, allocations: 4 kB / 472.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006356/0.8679, allocations: 84 kB / 472.8 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001686/0.8681, allocations: 87.94 kB / 472.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008964/0.8771, allocations: 2.198 MB / 475.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.9039, allocations: 8.333 MB / 483.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00564/0.9096, allocations: 1.674 MB / 485.1 MB, free: 2.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005302/0.9102, allocations: 146 kB / 485.2 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.9102, allocations: 47.5 kB / 485.3 MB, free: 2.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.929e-06/0.9103, allocations: 0 / 485.3 MB, free: 2.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.02704/0.9373, allocations: 6.694 MB / 492 MB, free: 11.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.9374, allocations: 68.72 kB / 492 MB, free: 11.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/0.9435, allocations: 2.089 MB / 494.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000388/0.9439, allocations: 49.7 kB / 494.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.9454, allocations: 1.096 MB / 495.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009066/0.9464, allocations: 473.2 kB / 495.7 MB, free: 7.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.9466, allocations: 24 kB / 495.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.9468, allocations: 361.9 kB / 496.1 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002588/0.9494, allocations: 0.773 MB / 496.9 MB, free: 6.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.9524, allocations: 1.017 MB / 497.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003094/0.9556, allocations: 0.9333 MB / 498.8 MB, free: 4.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.9557, allocations: 4 kB / 498.8 MB, free: 4.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.01158/0.9672, allocations: 2.872 MB / 0.49 GB, free: 1.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/0.9674, allocations: 33.95 kB / 0.49 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/0.9674, allocations: 15.98 kB / 0.49 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/0.9715, allocations: 0.8384 MB / 0.4908 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/0.974, allocations: 267.6 kB / 0.4911 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/0.9967, allocations: 9.658 MB / 0.5005 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.9992, allocations: 99.89 kB / 0.5006 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/0.9994, allocations: 51.98 kB / 0.5007 GB, free: 6.324 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002256/1.002, allocations: 0.7434 MB / 0.5014 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007739/1.002, allocations: 205.5 kB / 0.5016 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.011, allocations: 2.591 MB / 0.5041 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/1.011, allocations: 15.98 kB / 0.5041 GB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/1.011, allocations: 8 kB / 0.5041 GB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/1.011, allocations: 7.969 kB / 0.5041 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/1.028, allocations: 5.097 MB / 0.5091 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/1.028, allocations: 4 kB / 0.5091 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.03, allocations: 215.6 kB / 0.5093 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/1.033, allocations: 0.7106 MB / 0.51 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002349/1.033, allocations: 35.97 kB / 0.5101 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/1.05, allocations: 8.688 MB / 0.5185 GB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.05, allocations: 4.031 kB / 0.5185 GB, free: 3.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2923/1.343, allocations: 3.638 MB / 0.5221 GB, free: 107.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00351/1.346, allocations: 474.8 kB / 0.5225 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001211/1.348, allocations: 27.33 kB / 0.5226 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003534/1.351, allocations: 97.08 kB / 0.5227 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007532/1.352, allocations: 108 kB / 0.5228 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002661/1.352, allocations: 43.28 kB / 0.5228 GB, free: 107.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01929/1.372, allocations: 1.466 MB / 0.5242 GB, free: 107 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.246e-06/1.372, allocations: 0 / 0.5242 GB, free: 107 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00463/1.376, allocations: 0.6003 MB / 0.5248 GB, free: 107 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01612/1.392, allocations: 0.5011 MB / 0.5253 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02614/1.419, allocations: 2.573 MB / 0.5278 GB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/1.419, allocations: 3.312 kB / 0.5278 GB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.426, allocations: 1.745 MB / 0.5295 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005037/1.431, allocations: 407.5 kB / 0.5299 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.452, allocations: 6.07 MB / 0.5359 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005739/1.458, allocations: 2.002 MB / 0.5378 GB, free: 102.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003759/1.462, allocations: 401.6 kB / 0.5382 GB, free: 102.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.463, allocations: 133.2 kB / 0.5383 GB, free: 102.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/1.463, allocations: 0 / 0.5383 GB, free: 102.8 MB / 410.7 MB Notification: Performance of Templates: time 0.09107/1.555, allocations: 31.12 MB / 0.5687 GB, free: 100.9 MB / 410.7 MB