Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005204, allocations: 8 kB / 265.9 MB, free: 11.58 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09565, allocations: 44.5 MB / 310.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6176/0.7133, allocations: 147.8 MB / 458.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/0.7137, allocations: 106.4 kB / 458.3 MB, free: 6.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.606/3.319, allocations: 468.3 MB / 0.9049 GB, free: 29.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/3.319, allocations: 0 / 0.9049 GB, free: 29.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001262/3.321, allocations: 324.8 kB / 0.9052 GB, free: 29.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.06935/3.39, allocations: 14.42 MB / 0.9193 GB, free: 25.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/3.39, allocations: 10.5 kB / 0.9193 GB, free: 25.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0556/3.446, allocations: 6.749 MB / 0.9259 GB, free: 24.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03902/3.485, allocations: 11.5 MB / 0.9371 GB, free: 22.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001739/3.487, allocations: 1.04 MB / 0.9381 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007193/3.494, allocations: 1.366 MB / 0.9394 GB, free: 22.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.081/3.575, allocations: 24.1 MB / 0.963 GB, free: 21.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007949/3.576, allocations: 26.41 kB / 0.963 GB, free: 21.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006233/3.582, allocations: 0.5816 MB / 0.9636 GB, free: 21.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001428/3.583, allocations: 0.9379 MB / 0.9645 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06689/3.65, allocations: 22.06 MB / 0.986 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.663/4.313, allocations: 77.5 MB / 1.062 GB, free: 28.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06559/4.379, allocations: 30.77 MB / 1.092 GB, free: 28.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09638/4.475, allocations: 32.66 MB / 1.124 GB, free: 24.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/4.476, allocations: 129.8 kB / 1.124 GB, free: 23.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1021): time 1.62e-05/4.476, allocations: 1.812 kB / 1.124 GB, free: 23.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=1029): time 1.002/5.478, allocations: 94.48 MB / 1.216 GB, free: 56.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/5.478, allocations: 167.8 kB / 1.216 GB, free: 56.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01442/5.492, allocations: 4.863 MB / 1.221 GB, free: 56.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002562/5.495, allocations: 171.3 kB / 1.221 GB, free: 56.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0051/5.5, allocations: 5.183 MB / 1.226 GB, free: 53.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.006016/5.506, allocations: 3.379 MB / 1.229 GB, free: 51.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002804/5.509, allocations: 175.2 kB / 1.23 GB, free: 51.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001411/5.51, allocations: 0.704 MB / 1.23 GB, free: 51.13 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01902/5.529, allocations: 6.833 MB / 1.237 GB, free: 51.11 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02207/5.552, allocations: 8.548 MB / 1.245 GB, free: 49.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02205/5.574, allocations: 8.117 MB / 1.253 GB, free: 49.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/5.574, allocations: 16.91 kB / 1.253 GB, free: 49.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.06534/5.639, allocations: 21.29 MB / 1.274 GB, free: 45.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/5.639, allocations: 20.53 kB / 1.274 GB, free: 45.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/5.639, allocations: 43.72 kB / 1.274 GB, free: 45.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03047/5.67, allocations: 8.519 MB / 1.282 GB, free: 42.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/5.681, allocations: 1.406 MB / 1.284 GB, free: 42.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07477/5.756, allocations: 28.15 MB / 1.311 GB, free: 25.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/5.768, allocations: 430.1 kB / 1.312 GB, free: 25.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003139/5.771, allocations: 377.3 kB / 1.312 GB, free: 25.51 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.01637/5.787, allocations: 5.363 MB / 1.317 GB, free: 22.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003438/5.791, allocations: 0.696 MB / 1.318 GB, free: 22.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06181/5.853, allocations: 21.42 MB / 1.339 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003185/5.853, allocations: 250.9 kB / 1.339 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.358e-05/5.853, allocations: 10.62 kB / 1.339 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001867/5.853, allocations: 49.91 kB / 1.339 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.535/6.388, allocations: 42.08 MB / 1.38 GB, free: 68.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001565/6.388, allocations: 5.188 kB / 1.38 GB, free: 68.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009072/6.398, allocations: 0.9912 MB / 1.381 GB, free: 68.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03144/6.429, allocations: 8.607 MB / 1.39 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002774/6.432, allocations: 225.2 kB / 1.39 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06113/6.493, allocations: 32.51 MB / 1.422 GB, free: 57.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/6.493, allocations: 7.906 kB / 1.422 GB, free: 57.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0874/6.581, allocations: 31.48 MB / 1.452 GB, free: 53.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.009774/6.59, allocations: 2.368 MB / 1.455 GB, free: 52.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004776/6.595, allocations: 161 kB / 1.455 GB, free: 52.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01015/6.605, allocations: 398.9 kB / 1.455 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004388/6.61, allocations: 0.795 MB / 1.456 GB, free: 51.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002742/6.613, allocations: 267.3 kB / 1.456 GB, free: 51.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009541/6.622, allocations: 3.312 MB / 1.46 GB, free: 50.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.32e-07/6.622, allocations: 0 / 1.46 GB, free: 50.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0177/6.64, allocations: 2.658 MB / 1.462 GB, free: 50.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 490 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.003819/6.644, allocations: 0.6242 MB / 1.463 GB, free: 49.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.05139/6.695, allocations: 17.8 MB / 1.48 GB, free: 42.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/6.695, allocations: 1.25 kB / 1.48 GB, free: 42.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03243/6.728, allocations: 10.35 MB / 1.49 GB, free: 38.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01743/6.745, allocations: 1.582 MB / 1.492 GB, free: 37.86 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1161/6.861, allocations: 36.55 MB / 1.527 GB, free: 5.707 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03265/6.894, allocations: 10.08 MB / 1.537 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01216/6.906, allocations: 1.996 MB / 1.539 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003161/6.91, allocations: 451.5 kB / 1.54 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of SimCode: time 1.293e-06/6.91, allocations: 0 / 1.54 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.8965/7.806, allocations: 188.9 MB / 1.724 GB, free: 12.21 MB / 0.5105 GB