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.63/1.63, allocations: 171.2 MB / 186.8 MB, free: 1.113 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 8 kB / 233.3 MB, free: 3.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07096/0.07134, allocations: 38.76 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3445/0.4159, allocations: 94.35 MB / 366.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.4162, allocations: 86.2 kB / 366.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1983/0.6146, allocations: 40.47 MB / 406.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.89e-06/0.6146, allocations: 0 / 406.9 MB, free: 8.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002018/0.6148, allocations: 55.92 kB / 407 MB, free: 8.883 MB / 330.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.006702/0.6216, allocations: 2.172 MB / 409.1 MB, free: 6.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.6216, allocations: 8.031 kB / 409.2 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.6231, allocations: 273.1 kB / 409.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.6271, allocations: 1.333 MB / 410.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.6274, allocations: 139.8 kB / 410.9 MB, free: 4.852 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000687/0.6281, allocations: 191.9 kB / 411.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006777/0.6349, allocations: 2.404 MB / 413.5 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.304e-05/0.635, allocations: 3.906 kB / 413.5 MB, free: 2.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.6353, allocations: 80 kB / 413.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.6354, allocations: 83.66 kB / 413.6 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005791/0.6412, allocations: 1.892 MB / 415.5 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.6598, allocations: 7.788 MB / 423.3 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.6629, allocations: 1.398 MB / 424.7 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.6633, allocations: 138 kB / 424.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.6634, allocations: 44.12 kB / 424.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 4.4e-06/0.6634, allocations: 0 / 424.9 MB, free: 6.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01873/0.6822, allocations: 6.301 MB / 431.2 MB, free: 16 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.191/0.8732, allocations: 61.94 kB / 431.3 MB, free: 86.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.8758, allocations: 1.067 MB / 432.3 MB, free: 86.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.8761, allocations: 47.77 kB / 432.4 MB, free: 86.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005846/0.8767, allocations: 0.8428 MB / 433.2 MB, free: 86.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/0.8772, allocations: 444.1 kB / 433.7 MB, free: 86.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.8774, allocations: 27.44 kB / 433.7 MB, free: 86.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.8775, allocations: 367.7 kB / 434 MB, free: 85.71 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/0.8791, allocations: 0.6727 MB / 434.7 MB, free: 85.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001902/0.8811, allocations: 0.9928 MB / 435.7 MB, free: 85.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/0.883, allocations: 0.8307 MB / 436.5 MB, free: 85.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.8831, allocations: 4.172 kB / 436.5 MB, free: 85.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005817/0.8889, allocations: 2.301 MB / 438.8 MB, free: 85.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.889, allocations: 9.172 kB / 438.8 MB, free: 85.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/0.889, allocations: 10.12 kB / 438.9 MB, free: 85.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.891, allocations: 0.562 MB / 439.4 MB, free: 85.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.8927, allocations: 302.4 kB / 439.7 MB, free: 85.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.9039, allocations: 8.595 MB / 448.3 MB, free: 79.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.9055, allocations: 89.83 kB / 448.4 MB, free: 79.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.9057, allocations: 56.53 kB / 448.5 MB, free: 79.97 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 138 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001419/0.9071, allocations: 0.6031 MB / 449.1 MB, free: 79.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004004/0.9076, allocations: 147.2 kB / 449.2 MB, free: 79.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.9124, allocations: 2.197 MB / 451.4 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.9125, allocations: 18.33 kB / 451.4 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.9125, allocations: 7.688 kB / 451.4 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.9125, allocations: 7.781 kB / 451.4 MB, free: 79.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009579/0.9221, allocations: 4.365 MB / 455.8 MB, free: 78.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/0.9222, allocations: 3.25 kB / 455.8 MB, free: 78.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.9234, allocations: 199.4 kB / 456 MB, free: 78.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.9257, allocations: 0.619 MB / 456.6 MB, free: 78.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.9259, allocations: 37.5 kB / 456.6 MB, free: 78.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.9375, allocations: 10.16 MB / 466.8 MB, free: 70.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-06/0.9376, allocations: 9.156 kB / 466.8 MB, free: 70.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006584/0.9442, allocations: 3.29 MB / 470.1 MB, free: 68.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.9453, allocations: 367.9 kB / 470.5 MB, free: 68.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/0.9456, allocations: 36.42 kB / 470.5 MB, free: 68.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.9467, allocations: 75.91 kB / 470.6 MB, free: 68.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.9471, allocations: 107 kB / 470.7 MB, free: 68.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.9472, allocations: 34.8 kB / 470.7 MB, free: 68.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.9487, allocations: 0.8254 MB / 471.5 MB, free: 68.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.9488, allocations: 2.406 kB / 471.5 MB, free: 68.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002321/0.9511, allocations: 494.5 kB / 472 MB, free: 68.16 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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: 5 * 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: 5 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 8,(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.0006014/0.9517, allocations: 316.7 kB / 472.3 MB, free: 68.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004552/0.9563, allocations: 2.517 MB / 474.9 MB, free: 66.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.812e-06/0.9563, allocations: 0 / 474.9 MB, free: 66.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003397/0.9597, allocations: 1.751 MB / 476.6 MB, free: 65.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/0.9623, allocations: 383.5 kB / 477 MB, free: 65.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.9711, allocations: 5.04 MB / 482 MB, free: 62.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.9727, allocations: 1.679 MB / 483.7 MB, free: 61.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.9733, allocations: 101.4 kB / 483.8 MB, free: 61.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.668e-06/0.9733, allocations: 0 / 483.8 MB, free: 61.84 MB / 346.7 MB Notification: Performance of Templates: time 0.08167/1.055, allocations: 75.81 MB / 0.5465 GB, free: 14.53 MB / 362.7 MB