Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.701/1.701, allocations: 171.2 MB / 184.2 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.294e-05, allocations: 0 / 228.8 MB, free: 15.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2425, allocations: 38.77 MB / 267.6 MB, free: 9.453 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3752/0.6178, allocations: 94.25 MB / 361.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.6181, allocations: 85.09 kB / 361.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1471/0.7652, allocations: 40.53 MB / 402.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.707e-06/0.7653, allocations: 0 / 402.5 MB, free: 29.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001771/0.7655, allocations: 47 kB / 402.5 MB, free: 29.14 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.005493/0.771, allocations: 1.977 MB / 404.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.771, allocations: 7.906 kB / 404.5 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.7724, allocations: 268.1 kB / 404.8 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.7758, allocations: 1.328 MB / 406.1 MB, free: 27.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.776, allocations: 146.1 kB / 406.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007018/0.7768, allocations: 195 kB / 406.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.7829, allocations: 2.356 MB / 408.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.7831, allocations: 3.562 kB / 408.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002861/0.7834, allocations: 77.72 kB / 408.9 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.724e-05/0.7835, allocations: 84.03 kB / 408.9 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004984/0.7885, allocations: 1.833 MB / 410.8 MB, free: 26.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.8043, allocations: 7.788 MB / 418.6 MB, free: 19.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002453/0.8068, allocations: 1.379 MB / 419.9 MB, free: 18.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.8086, allocations: 0.8955 MB / 420.8 MB, free: 17.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003261/0.809, allocations: 134 kB / 421 MB, free: 17.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.809, allocations: 47.56 kB / 421 MB, free: 17.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=111): time 4.815e-06/0.8091, allocations: 0 / 421 MB, free: 17.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=127): time 0.01388/0.8229, allocations: 5.122 MB / 426.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.823, allocations: 68.72 kB / 426.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.825, allocations: 1.058 MB / 427.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.8253, allocations: 49.7 kB / 427.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.8258, allocations: 0.8441 MB / 428.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003828/0.8262, allocations: 437.7 kB / 428.6 MB, free: 9.727 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.8263, allocations: 28 kB / 428.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8265, allocations: 366.8 kB / 429 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.8278, allocations: 0.656 MB / 429.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.8292, allocations: 0.965 MB / 430.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.8307, allocations: 0.8129 MB / 431.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.634e-06/0.8308, allocations: 0 / 431.4 MB, free: 6.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004542/0.8353, allocations: 2.191 MB / 433.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.8354, allocations: 13.03 kB / 433.6 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.8354, allocations: 8 kB / 433.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.8369, allocations: 0.4923 MB / 434.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001735/0.8387, allocations: 331.5 kB / 434.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008649/0.8473, allocations: 6.648 MB / 441.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.849, allocations: 79.91 kB / 441.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.8492, allocations: 56 kB / 441.2 MB, free: 12.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(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%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004033/0.8496, allocations: 188.7 kB / 441.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.85, allocations: 158.1 kB / 441.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005102/0.8551, allocations: 2.086 MB / 443.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.8552, allocations: 15.94 kB / 443.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.8552, allocations: 8 kB / 443.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.141e-05/0.8552, allocations: 3.984 kB / 443.7 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.8664, allocations: 4.288 MB / 447.9 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.8665, allocations: 0 / 447.9 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/0.8681, allocations: 227.6 kB / 448.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/0.8703, allocations: 0.5427 MB / 448.7 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/0.8706, allocations: 35.98 kB / 448.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.8826, allocations: 8.181 MB / 456.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/0.8827, allocations: 7.953 kB / 456.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007147/0.8899, allocations: 3.164 MB / 460.1 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.8911, allocations: 371.2 kB / 460.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.8915, allocations: 27.98 kB / 460.5 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8927, allocations: 76.02 kB / 460.6 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003547/0.8931, allocations: 108.8 kB / 460.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001354/0.8933, allocations: 35.98 kB / 460.7 MB, free: 8.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001784/0.8951, allocations: 0.8107 MB / 461.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.041e-06/0.8951, allocations: 0 / 461.5 MB, free: 7.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002436/0.8975, allocations: 484 kB / 462 MB, free: 6.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007099/0.8983, allocations: 305.9 kB / 462.3 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004984/0.9033, allocations: 2.298 MB / 464.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.9033, allocations: 0 / 464.6 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.9068, allocations: 1.569 MB / 466.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.9094, allocations: 384.8 kB / 466.5 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008865/0.9183, allocations: 3.49 MB / 470 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.9205, allocations: 1.682 MB / 471.7 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/0.9212, allocations: 111.4 kB / 471.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.799e-06/0.9212, allocations: 0 / 471.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of Templates: time 0.2895/1.211, allocations: 67.4 MB / 0.5266 GB, free: 93.72 MB / 362.7 MB