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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.657/1.657, allocations: 171.3 MB / 179.2 MB, free: 7.484 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.603e-05, allocations: 4 kB / 222.5 MB, free: 8.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06908/0.06912, allocations: 38.76 MB / 261.3 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3214/0.3905, allocations: 93.6 MB / 354.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.3908, allocations: 82.08 kB / 355 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1678/0.5586, allocations: 39.99 MB / 395 MB, free: 5.867 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5587, allocations: 0 / 395 MB, free: 5.867 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002117/0.5589, allocations: 47.94 kB / 395 MB, free: 5.82 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.006353/0.5653, allocations: 1.973 MB / 397 MB, free: 3.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.5654, allocations: 8.031 kB / 397 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.5669, allocations: 265.2 kB / 397.2 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.5713, allocations: 1.325 MB / 398.6 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.5715, allocations: 60 kB / 398.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007069/0.5722, allocations: 127.9 kB / 398.8 MB, free: 1.961 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005389/0.5776, allocations: 1.722 MB / 400.5 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006853/0.5845, allocations: 2.092 MB / 402.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.5846, allocations: 0 / 402.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003355/0.585, allocations: 4 kB / 402.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.5851, allocations: 83.66 kB / 402.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01944/0.6046, allocations: 7.418 MB / 410.1 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/0.6076, allocations: 1.319 MB / 411.4 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.6099, allocations: 0.8651 MB / 412.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004183/0.6103, allocations: 134.4 kB / 412.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.6104, allocations: 43.88 kB / 412.4 MB, free: 3.914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 6.884e-06/0.6104, allocations: 3.984 kB / 412.4 MB, free: 3.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.2063/0.8167, allocations: 4.212 MB / 416.6 MB, free: 89.02 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.8168, allocations: 67.09 kB / 416.7 MB, free: 88.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.8189, allocations: 0.8619 MB / 417.6 MB, free: 88.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002491/0.8192, allocations: 28.42 kB / 417.6 MB, free: 88.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006876/0.8199, allocations: 0.867 MB / 418.5 MB, free: 88.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000592/0.8205, allocations: 423.7 kB / 418.9 MB, free: 88.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.8207, allocations: 1.094 kB / 418.9 MB, free: 88.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.8208, allocations: 370.6 kB / 419.2 MB, free: 88.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.8224, allocations: 0.6234 MB / 419.9 MB, free: 88.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.8243, allocations: 0.9289 MB / 420.8 MB, free: 87.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.8261, allocations: 0.7735 MB / 421.6 MB, free: 87.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-05/0.8262, allocations: 7.938 kB / 421.6 MB, free: 87.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005372/0.8316, allocations: 2.045 MB / 423.6 MB, free: 87.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.8317, allocations: 13 kB / 423.6 MB, free: 87.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.8317, allocations: 13.66 kB / 423.6 MB, free: 87.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001644/0.8334, allocations: 496.8 kB / 424.1 MB, free: 87.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.8352, allocations: 328.5 kB / 424.5 MB, free: 87.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.8434, allocations: 6.341 MB / 430.8 MB, free: 83.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.845, allocations: 61.38 kB / 430.9 MB, free: 83.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.8454, allocations: 55.53 kB / 430.9 MB, free: 83.86 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 () * 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.0003671/0.8458, allocations: 139.9 kB / 431 MB, free: 83.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.8462, allocations: 133.1 kB / 431.2 MB, free: 83.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.8511, allocations: 1.971 MB / 433.1 MB, free: 83.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.8512, allocations: 12.5 kB / 433.2 MB, free: 83.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.8512, allocations: 7.859 kB / 433.2 MB, free: 83.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/0.8513, allocations: 7.781 kB / 433.2 MB, free: 83.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.8614, allocations: 3.924 MB / 437.1 MB, free: 83.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/0.8615, allocations: 3.969 kB / 437.1 MB, free: 83.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/0.8629, allocations: 223.8 kB / 437.3 MB, free: 83.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.865, allocations: 0.545 MB / 437.9 MB, free: 83.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/0.8653, allocations: 15.17 kB / 437.9 MB, free: 83.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009044/0.8743, allocations: 7.846 MB / 445.7 MB, free: 77.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.811e-06/0.8744, allocations: 3.312 kB / 445.7 MB, free: 77.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006258/0.8807, allocations: 3.036 MB / 448.8 MB, free: 76.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.8818, allocations: 360.2 kB / 449.1 MB, free: 75.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/0.8822, allocations: 7.375 kB / 449.1 MB, free: 75.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8835, allocations: 56.36 kB / 449.2 MB, free: 75.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.8839, allocations: 105.9 kB / 449.3 MB, free: 75.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001365/0.884, allocations: 38.12 kB / 449.3 MB, free: 75.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001262/0.8853, allocations: 0.6524 MB / 450 MB, free: 75.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.38e-07/0.8853, allocations: 0 / 450 MB, free: 75.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002467/0.8878, allocations: 412.4 kB / 450.4 MB, free: 75.58 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 () * 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.0006932/0.8886, allocations: 286.7 kB / 450.7 MB, free: 75.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.8928, allocations: 2.201 MB / 452.9 MB, free: 74.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.728e-06/0.8928, allocations: 0 / 452.9 MB, free: 74.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.8957, allocations: 1.514 MB / 454.4 MB, free: 73.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.898, allocations: 291.6 kB / 454.7 MB, free: 73.42 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.9059, allocations: 3.4 MB / 458.1 MB, free: 71.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/0.9078, allocations: 1.671 MB / 459.7 MB, free: 71.01 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.9084, allocations: 97.31 kB / 459.8 MB, free: 71.01 MB / 346.7 MB Notification: Performance of SimCode: time 3.009e-06/0.9085, allocations: 3.281 kB / 459.8 MB, free: 71.01 MB / 346.7 MB Notification: Performance of Templates: time 0.08624/0.9947, allocations: 65.99 MB / 0.5135 GB, free: 22.3 MB / 346.7 MB