Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003719, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.08562, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5207, allocations: 94.35 MB / 367 MB, free: 11.3 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.521, allocations: 93.58 kB / 367.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.18/0.701, allocations: 40.46 MB / 407.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.7011, allocations: 0 / 407.5 MB, free: 8.383 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002407/0.7013, allocations: 47.94 kB / 407.6 MB, free: 8.336 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.008365/0.7097, allocations: 2.181 MB / 409.7 MB, free: 6.102 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.7098, allocations: 8.031 kB / 409.8 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.7115, allocations: 269.1 kB / 410 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.7166, allocations: 1.329 MB / 411.3 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.7169, allocations: 147.7 kB / 411.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.7177, allocations: 191.9 kB / 411.7 MB, free: 4.109 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007825/0.7256, allocations: 2.4 MB / 414.1 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.7257, allocations: 7.906 kB / 414.1 MB, free: 1.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003451/0.7261, allocations: 84 kB / 414.2 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.7262, allocations: 75.66 kB / 414.2 MB, free: 1.457 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007012/0.7333, allocations: 1.896 MB / 416.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02316/0.7565, allocations: 7.788 MB / 423.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003787/0.7603, allocations: 1.394 MB / 425.3 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004995/0.7609, allocations: 134 kB / 425.5 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.7609, allocations: 48.12 kB / 425.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 4.668e-06/0.761, allocations: 0 / 425.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.2633/1.024, allocations: 6.3 MB / 431.8 MB, free: 85.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.024, allocations: 65.5 kB / 431.9 MB, free: 85.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/1.028, allocations: 1.208 MB / 433.1 MB, free: 85.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003626/1.028, allocations: 47.3 kB / 433.1 MB, free: 85.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000876/1.029, allocations: 0.8688 MB / 434 MB, free: 85.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006283/1.03, allocations: 442.2 kB / 434.4 MB, free: 84.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.03, allocations: 30.84 kB / 434.4 MB, free: 84.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.03, allocations: 359.7 kB / 434.8 MB, free: 84.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/1.032, allocations: 0.6739 MB / 435.5 MB, free: 84.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/1.034, allocations: 0.9937 MB / 436.5 MB, free: 84.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/1.037, allocations: 0.8255 MB / 437.3 MB, free: 84.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/1.037, allocations: 8.031 kB / 437.3 MB, free: 84.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00776/1.045, allocations: 2.388 MB / 439.7 MB, free: 84.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/1.045, allocations: 12.3 kB / 439.7 MB, free: 84.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/1.045, allocations: 9.719 kB / 439.7 MB, free: 84.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/1.047, allocations: 0.5664 MB / 440.3 MB, free: 83.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002476/1.05, allocations: 307.9 kB / 440.6 MB, free: 83.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/1.063, allocations: 8.602 MB / 449.2 MB, free: 78.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.065, allocations: 86.56 kB / 449.3 MB, free: 78.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/1.065, allocations: 59.58 kB / 449.3 MB, free: 78.78 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.001666/1.067, allocations: 0.5936 MB / 449.9 MB, free: 78.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004942/1.067, allocations: 151.8 kB / 450.1 MB, free: 78.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005888/1.073, allocations: 2.191 MB / 452.3 MB, free: 78.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.073, allocations: 11.88 kB / 452.3 MB, free: 78.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/1.073, allocations: 11.75 kB / 452.3 MB, free: 78.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/1.073, allocations: 6.797 kB / 452.3 MB, free: 78.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.085, allocations: 4.371 MB / 456.7 MB, free: 77.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.287e-05/1.085, allocations: 3.875 kB / 456.7 MB, free: 77.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.086, allocations: 198.1 kB / 456.9 MB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002679/1.089, allocations: 0.6272 MB / 457.5 MB, free: 77.22 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.089, allocations: 35.83 kB / 457.5 MB, free: 77.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/1.103, allocations: 10.16 MB / 467.7 MB, free: 69.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.103, allocations: 2.156 kB / 467.7 MB, free: 69.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007597/1.11, allocations: 3.166 MB / 470.8 MB, free: 67.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/1.112, allocations: 370.7 kB / 471.2 MB, free: 67.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/1.112, allocations: 30.62 kB / 471.2 MB, free: 67.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/1.113, allocations: 83.38 kB / 471.3 MB, free: 67.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/1.114, allocations: 106.5 kB / 471.4 MB, free: 67.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.114, allocations: 39.75 kB / 471.5 MB, free: 67.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001656/1.116, allocations: 0.8298 MB / 472.3 MB, free: 67.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.116, allocations: 0 / 472.3 MB, free: 67.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002681/1.118, allocations: 492.2 kB / 472.8 MB, free: 67 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.0008287/1.119, allocations: 314.4 kB / 473.1 MB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005908/1.125, allocations: 2.515 MB / 475.6 MB, free: 65.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.125, allocations: 0 / 475.6 MB, free: 65.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003889/1.129, allocations: 1.746 MB / 477.3 MB, free: 64.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/1.132, allocations: 384.6 kB / 477.7 MB, free: 64.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/1.143, allocations: 5.002 MB / 482.7 MB, free: 61.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/1.144, allocations: 1.69 MB / 484.4 MB, free: 60.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001719/1.146, allocations: 323.9 kB / 484.7 MB, free: 60.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004952/1.147, allocations: 88.28 kB / 484.8 MB, free: 60.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/1.147, allocations: 0 / 484.8 MB, free: 60.66 MB / 346.7 MB Notification: Performance of Templates: time 0.07369/1.22, allocations: 25.34 MB / 0.4982 GB, free: 47.7 MB / 346.7 MB