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_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003325, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08817/0.08852, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.03354/0.1221, allocations: 20.72 MB / 329.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01888/0.141, allocations: 7.199 MB / 337 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004146/0.1452, allocations: 143.6 kB / 337.2 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006608/0.1519, allocations: 1.512 MB / 338.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.1631, allocations: 2.571 MB / 341.2 MB, free: 92 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.1688, allocations: 1.193 MB / 342.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02339/0.1922, allocations: 10.41 MB / 352.8 MB, free: 4.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04777/0.24, allocations: 19.13 MB / 372 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2636/0.5037, allocations: 4.061 MB / 376 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01063/0.5144, allocations: 4.496 MB / 380.5 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003665/0.5181, allocations: 0.66 MB / 381.2 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006425/0.5246, allocations: 0.9631 MB / 382.1 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004569/0.5292, allocations: 2.094 MB / 384.2 MB, free: 23.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004449/0.5337, allocations: 2.153 MB / 386.4 MB, free: 23.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02283/0.5565, allocations: 19.54 MB / 405.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5566, allocations: 0 / 405.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.5566, allocations: 0 / 405.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005516/0.5572, allocations: 1.75 kB / 405.9 MB, free: 14.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2742 * Number of variables: 2742 Notification: Performance of Generate backend data structure: time 0.04431/0.6015, allocations: 11.41 MB / 417.3 MB, free: 8.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6016, allocations: 8.031 kB / 417.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05931/0.6609, allocations: 7.159 MB / 424.5 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01928/0.6802, allocations: 6.413 MB / 430.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008561/0.6811, allocations: 0.7307 MB / 431.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004633/0.6858, allocations: 0.956 MB / 432.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05323/0.739, allocations: 16.45 MB / 449.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003482/0.7394, allocations: 15.89 kB / 449.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003319/0.7427, allocations: 403.7 kB / 449.5 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009374/0.7437, allocations: 0.5985 MB / 450.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04839/0.7921, allocations: 15.72 MB / 465.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1293/0.9214, allocations: 53.95 MB / 0.5076 GB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5367/1.458, allocations: 22.68 MB / 0.5297 GB, free: 102.2 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03056/1.489, allocations: 11.82 MB / 0.5413 GB, free: 98.75 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/1.489, allocations: 75.62 kB / 0.5413 GB, free: 98.68 MB / 410.8 MB Notification: Performance of pre-optimization done (n=365): time 7.625e-06/1.489, allocations: 0.875 kB / 0.5413 GB, free: 98.68 MB / 410.8 MB Notification: Performance of matching and sorting (n=370): time 0.06898/1.558, allocations: 18.57 MB / 0.5595 GB, free: 91.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.558, allocations: 93.28 kB / 0.5595 GB, free: 91.18 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008492/1.566, allocations: 4.685 MB / 0.5641 GB, free: 89.46 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007287/1.567, allocations: 85.45 kB / 0.5642 GB, free: 89.38 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00301/1.57, allocations: 4.457 MB / 0.5686 GB, free: 86.03 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/1.572, allocations: 1.277 MB / 0.5698 GB, free: 85.05 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005755/1.573, allocations: 118.3 kB / 0.5699 GB, free: 84.96 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003519/1.573, allocations: 0.5474 MB / 0.5705 GB, free: 84.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006622/1.58, allocations: 2.921 MB / 0.5733 GB, free: 83.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007974/1.588, allocations: 5.255 MB / 0.5784 GB, free: 79.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009475/1.597, allocations: 4.13 MB / 0.5825 GB, free: 76.81 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.949e-05/1.597, allocations: 27.95 kB / 0.5825 GB, free: 76.79 MB / 410.8 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.02415/1.621, allocations: 9.656 MB / 0.5919 GB, free: 67.32 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/1.621, allocations: 61.7 kB / 0.592 GB, free: 67.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.622, allocations: 80 kB / 0.5921 GB, free: 67.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005761/1.627, allocations: 1.418 MB / 0.5934 GB, free: 65.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008986/1.636, allocations: 1.33 MB / 0.5947 GB, free: 64.42 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.661, allocations: 11.96 MB / 0.6064 GB, free: 52.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006774/1.667, allocations: 367.5 kB / 0.6068 GB, free: 51.84 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008598/1.668, allocations: 300 kB / 0.6071 GB, free: 51.55 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 686 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(14,45.9%) 54} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008264/1.677, allocations: 3.923 MB / 0.6109 GB, free: 47.61 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001384/1.678, allocations: 446.2 kB / 0.6113 GB, free: 47.18 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/1.696, allocations: 6.846 MB / 0.618 GB, free: 40.29 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.724e-05/1.696, allocations: 23.92 kB / 0.618 GB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.696, allocations: 0 / 0.618 GB, free: 40.27 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003056/1.699, allocations: 1.019 MB / 0.619 GB, free: 39.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/1.7, allocations: 68 kB / 0.6191 GB, free: 39.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003663/1.704, allocations: 211.7 kB / 0.6193 GB, free: 38.95 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.705, allocations: 298.6 kB / 0.6196 GB, free: 38.66 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0185/1.723, allocations: 6.5 MB / 0.6259 GB, free: 32.21 MB / 410.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01661/1.74, allocations: 8.11 MB / 0.6338 GB, free: 24.05 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004878/1.745, allocations: 2.476 MB / 0.6363 GB, free: 21.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.006204/1.751, allocations: 3.166 MB / 0.6394 GB, free: 18.39 MB / 410.8 MB Notification: Performance of Backend: time 9.32e-07/1.751, allocations: 0 / 0.6394 GB, free: 18.39 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01604/1.767, allocations: 5.895 MB / 0.6451 GB, free: 12.6 MB / 410.8 MB Notification: Performance of SimCode: time 0.04367/1.811, allocations: 20.34 MB / 0.665 GB, free: 8.184 MB / 426.8 MB Notification: Performance of Templates: time 0.479/2.29, allocations: 78.54 MB / 0.7417 GB, free: 84.86 MB / 426.8 MB