Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_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.819/1.819, allocations: 171.1 MB / 187.3 MB, free: 1.047 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003621/0.0003623, allocations: 15.98 kB / 233.8 MB, free: 3.055 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09492, allocations: 38.77 MB / 272.6 MB, free: 12.21 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.4963, allocations: 94.34 MB / 366.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003722/0.4967, allocations: 90.95 kB / 367 MB, free: 11.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1852/0.682, allocations: 40.45 MB / 407.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.682, allocations: 0 / 407.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002753/0.6823, allocations: 51.94 kB / 407.5 MB, free: 8.969 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.008811/0.6911, allocations: 2.171 MB / 409.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6912, allocations: 12.03 kB / 409.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.6929, allocations: 269.1 kB / 409.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/0.6976, allocations: 1.333 MB / 411.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.6979, allocations: 143.8 kB / 411.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008719/0.6988, allocations: 195.9 kB / 411.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008025/0.7069, allocations: 2.416 MB / 414 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/0.707, allocations: 3.906 kB / 414 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005085/0.7076, allocations: 83.98 kB / 414.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001524/0.7077, allocations: 87.66 kB / 414.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007107/0.7149, allocations: 1.892 MB / 416.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02335/0.7382, allocations: 7.784 MB / 423.9 MB, free: 8.168 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/0.7422, allocations: 1.394 MB / 425.3 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.7427, allocations: 142 kB / 425.4 MB, free: 6.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.7428, allocations: 43.56 kB / 425.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 4.037e-06/0.7428, allocations: 480 / 425.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.02598/0.7688, allocations: 6.309 MB / 431.7 MB, free: 72 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2537/1.023, allocations: 64.33 kB / 431.8 MB, free: 86.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/1.026, allocations: 1.203 MB / 433 MB, free: 86.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/1.026, allocations: 48.83 kB / 433.1 MB, free: 86.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/1.027, allocations: 0.8388 MB / 433.9 MB, free: 86.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006988/1.028, allocations: 442.5 kB / 434.3 MB, free: 85.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.028, allocations: 30.62 kB / 434.4 MB, free: 85.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/1.028, allocations: 369.6 kB / 434.7 MB, free: 85.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.03, allocations: 0.6784 MB / 435.4 MB, free: 85.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/1.033, allocations: 0.9897 MB / 436.4 MB, free: 85.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/1.036, allocations: 0.8299 MB / 437.2 MB, free: 85.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.337e-05/1.036, allocations: 1.719 kB / 437.2 MB, free: 85.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007584/1.043, allocations: 2.3 MB / 439.5 MB, free: 85.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/1.043, allocations: 9.688 kB / 439.5 MB, free: 85.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/1.043, allocations: 11.95 kB / 439.5 MB, free: 85.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/1.046, allocations: 0.567 MB / 440.1 MB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002536/1.049, allocations: 301.7 kB / 440.4 MB, free: 85.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.062, allocations: 8.602 MB / 449 MB, free: 79.87 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.064, allocations: 86.95 kB / 449.1 MB, free: 79.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/1.065, allocations: 52.47 kB / 449.1 MB, free: 79.87 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.002143/1.067, allocations: 0.6037 MB / 449.7 MB, free: 79.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005693/1.068, allocations: 146.1 kB / 449.9 MB, free: 79.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006462/1.074, allocations: 2.197 MB / 452.1 MB, free: 79.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.074, allocations: 20.64 kB / 452.1 MB, free: 79.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/1.074, allocations: 3.875 kB / 452.1 MB, free: 79.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/1.074, allocations: 6.516 kB / 452.1 MB, free: 79.52 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.086, allocations: 4.376 MB / 456.5 MB, free: 78.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/1.087, allocations: 5.312 kB / 456.5 MB, free: 78.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/1.088, allocations: 199.1 kB / 456.7 MB, free: 78.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002798/1.091, allocations: 0.6228 MB / 457.3 MB, free: 78.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000319/1.091, allocations: 32.03 kB / 457.3 MB, free: 78.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01384/1.105, allocations: 10.17 MB / 467.5 MB, free: 70.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.105, allocations: 2.719 kB / 467.5 MB, free: 70.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008685/1.114, allocations: 3.168 MB / 470.7 MB, free: 68.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.115, allocations: 368.9 kB / 471 MB, free: 68.69 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005638/1.116, allocations: 33.03 kB / 471.1 MB, free: 68.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/1.118, allocations: 80.47 kB / 471.2 MB, free: 68.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004937/1.118, allocations: 101.9 kB / 471.2 MB, free: 68.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.118, allocations: 40.92 kB / 471.3 MB, free: 68.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001934/1.12, allocations: 0.826 MB / 472.1 MB, free: 68.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.924e-06/1.12, allocations: 2.594 kB / 472.1 MB, free: 68.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002919/1.123, allocations: 496.9 kB / 472.6 MB, free: 68.24 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.0008738/1.124, allocations: 310.4 kB / 472.9 MB, free: 68.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006113/1.13, allocations: 2.509 MB / 475.4 MB, free: 66.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.13, allocations: 0 / 475.4 MB, free: 66.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004166/1.135, allocations: 1.756 MB / 477.2 MB, free: 65.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003403/1.138, allocations: 379.6 kB / 477.5 MB, free: 65.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.15, allocations: 5.038 MB / 482.6 MB, free: 62.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/1.152, allocations: 1.676 MB / 484.3 MB, free: 61.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007487/1.152, allocations: 106.7 kB / 484.4 MB, free: 61.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.452e-06/1.152, allocations: 0 / 484.4 MB, free: 61.92 MB / 346.7 MB Notification: Performance of Templates: time 0.1171/1.269, allocations: 75.82 MB / 0.5471 GB, free: 14.59 MB / 362.7 MB