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.817/1.817, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12 kB / 265.9 MB, free: 11.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.0936, allocations: 44.51 MB / 310.4 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.05043/0.1441, allocations: 30.17 MB / 340.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02546/0.1696, allocations: 9.357 MB / 349.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006754/0.1764, allocations: 207.2 kB / 350.1 MB, free: 7.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008641/0.1851, allocations: 1.955 MB / 352.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.2004, allocations: 3.541 MB / 355.6 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008231/0.2087, allocations: 1.618 MB / 357.3 MB, free: 20 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.03222/0.2409, allocations: 14.24 MB / 371.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3446/0.5856, allocations: 24.25 MB / 395.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.5973, allocations: 5.857 MB / 401.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01325/0.6106, allocations: 6.596 MB / 408.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004893/0.6155, allocations: 0.9659 MB / 409.2 MB, free: 12.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007936/0.6235, allocations: 1.257 MB / 410.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005728/0.6293, allocations: 3.021 MB / 413.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005862/0.6352, allocations: 3.17 MB / 416.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04567/0.6809, allocations: 27.88 MB / 444.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.681, allocations: 0 / 444.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.681, allocations: 0 / 444.5 MB, free: 1.547 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000814/0.6818, allocations: 4 kB / 444.5 MB, free: 1.543 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.08386/0.7657, allocations: 16.17 MB / 460.7 MB, free: 1.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.7658, allocations: 8.031 kB / 460.7 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08262/0.8484, allocations: 9.655 MB / 470.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03028/0.8787, allocations: 9.3 MB / 479.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001688/0.8805, allocations: 1.067 MB / 480.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006901/0.8874, allocations: 1.401 MB / 482.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08087/0.9683, allocations: 23.36 MB / 0.4936 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007237/0.9691, allocations: 31.73 kB / 0.4937 GB, free: 5.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005405/0.9745, allocations: 0.5766 MB / 0.4942 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001339/0.9759, allocations: 0.8068 MB / 0.495 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5916/1.567, allocations: 22.12 MB / 0.5166 GB, free: 104.7 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1664/1.734, allocations: 75.18 MB / 0.59 GB, free: 57.38 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04186/1.776, allocations: 38.05 MB / 0.6272 GB, free: 18.28 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04752/1.823, allocations: 17.65 MB / 0.6444 GB, free: 0.6797 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.059e-05/1.824, allocations: 111.9 kB / 0.6445 GB, free: 0.5625 MB / 410.8 MB Notification: Performance of pre-optimization done (n=589): time 9.488e-06/1.824, allocations: 7.875 kB / 0.6445 GB, free: 0.5547 MB / 410.8 MB Notification: Performance of matching and sorting (n=597): time 0.168/1.992, allocations: 36.58 MB / 0.6803 GB, free: 11.65 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.992, allocations: 138.5 kB / 0.6804 GB, free: 11.5 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01511/2.007, allocations: 5.962 MB / 0.6862 GB, free: 5.516 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001278/2.008, allocations: 125.7 kB / 0.6863 GB, free: 5.387 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2934/2.302, allocations: 6.103 MB / 0.6923 GB, free: 148.1 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003315/2.305, allocations: 2.022 MB / 0.6943 GB, free: 147.7 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001272/2.306, allocations: 165.6 kB / 0.6944 GB, free: 147.7 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008267/2.307, allocations: 0.6378 MB / 0.695 GB, free: 147.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01244/2.32, allocations: 4.25 MB / 0.6992 GB, free: 147.3 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01467/2.334, allocations: 7.137 MB / 0.7062 GB, free: 143.5 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/2.348, allocations: 5.698 MB / 0.7117 GB, free: 141.1 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001856/2.349, allocations: 27.56 kB / 0.7118 GB, free: 141.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.03993/2.388, allocations: 14.3 MB / 0.7257 GB, free: 135.3 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/2.389, allocations: 42 kB / 0.7258 GB, free: 135.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001882/2.389, allocations: 98.22 kB / 0.7259 GB, free: 135.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01237/2.401, allocations: 2.773 MB / 0.7286 GB, free: 134.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/2.413, allocations: 1.698 MB / 0.7302 GB, free: 134.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06097/2.474, allocations: 30.29 MB / 0.7598 GB, free: 110.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/2.488, allocations: 443.4 kB / 0.7602 GB, free: 110.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00231/2.49, allocations: 387.3 kB / 0.7606 GB, free: 109.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 12 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (887): * Single equations (assignments): 880 * 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: 6 * 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: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(24,33.0%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01715/2.507, allocations: 5.421 MB / 0.7659 GB, free: 105.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002503/2.51, allocations: 0.6443 MB / 0.7665 GB, free: 104.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04244/2.552, allocations: 11.68 MB / 0.7779 GB, free: 93.43 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001662/2.552, allocations: 31.88 kB / 0.778 GB, free: 93.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/2.552, allocations: 0 / 0.778 GB, free: 93.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005212/2.558, allocations: 1.57 MB / 0.7795 GB, free: 91.8 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002436/2.56, allocations: 109.8 kB / 0.7796 GB, free: 91.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00684/2.567, allocations: 327.6 kB / 0.7799 GB, free: 91.38 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002069/2.569, allocations: 0.5475 MB / 0.7804 GB, free: 90.83 MB / 458.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03637/2.606, allocations: 11.56 MB / 0.7917 GB, free: 79.38 MB / 458.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03131/2.637, allocations: 12.94 MB / 0.8044 GB, free: 66.33 MB / 458.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008616/2.646, allocations: 4.123 MB / 0.8084 GB, free: 62.21 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.008186/2.654, allocations: 4.01 MB / 0.8123 GB, free: 58.2 MB / 458.8 MB Notification: Performance of Backend: time 7.21e-07/2.654, allocations: 0 / 0.8123 GB, free: 58.2 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02277/2.677, allocations: 8.701 MB / 0.8208 GB, free: 49.45 MB / 458.8 MB Notification: Performance of SimCode: time 0.06297/2.74, allocations: 30.56 MB / 0.8506 GB, free: 18.85 MB / 458.8 MB Notification: Performance of Templates: time 0.5983/3.338, allocations: 123.9 MB / 0.9716 GB, free: 49.42 MB / 458.8 MB