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.608/1.608, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.07917, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.02143/0.1007, allocations: 7.861 MB / 280.5 MB, free: 3.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1117, allocations: 2.87 MB / 283.4 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001943/0.1137, allocations: 35.81 kB / 283.4 MB, free: 0.7188 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003289/0.1171, allocations: 0.5247 MB / 283.9 MB, free: 196 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.1212, allocations: 0.627 MB / 284.6 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1227, allocations: 243.7 kB / 284.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005226/0.1279, allocations: 1.603 MB / 286.4 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.1314, allocations: 1.208 MB / 287.6 MB, free: 12.47 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.1336, allocations: 0.7706 MB / 288.4 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.1363, allocations: 0.9338 MB / 289.3 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006245/0.137, allocations: 124 kB / 289.4 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1382, allocations: 183.9 kB / 289.6 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.1396, allocations: 0.5609 MB / 290.2 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009686/0.1406, allocations: 452.6 kB / 290.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005946/0.1465, allocations: 2.844 MB / 293.5 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1466, allocations: 0 / 293.5 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1466, allocations: 0 / 293.5 MB, free: 6.598 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.766e-05/0.1467, allocations: 0 / 293.5 MB, free: 6.598 MB / 250.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.009545/0.1563, allocations: 2.182 MB / 295.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.208e-05/0.1564, allocations: 8.031 kB / 295.6 MB, free: 4.352 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.158, allocations: 265.1 kB / 295.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.163, allocations: 1.193 MB / 297.1 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.1633, allocations: 147.7 kB / 297.2 MB, free: 2.695 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007834/0.1642, allocations: 195.8 kB / 297.4 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009282/0.1735, allocations: 2.379 MB / 299.8 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/0.1736, allocations: 4 kB / 299.8 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.1739, allocations: 76 kB / 299.9 MB, free: 8 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2512/0.4251, allocations: 81.48 kB / 300 MB, free: 29.53 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009486/0.4346, allocations: 1.938 MB / 301.9 MB, free: 29.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02914/0.4638, allocations: 7.799 MB / 309.7 MB, free: 25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003937/0.4678, allocations: 1.226 MB / 310.9 MB, free: 24.25 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004689/0.4683, allocations: 125.3 kB / 311.1 MB, free: 24.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.4684, allocations: 43.69 kB / 311.1 MB, free: 24.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=95): time 6.322e-06/0.4684, allocations: 0.5469 kB / 311.1 MB, free: 24.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=111): time 0.03074/0.4992, allocations: 5.875 MB / 317 MB, free: 20.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4993, allocations: 64.16 kB / 317 MB, free: 20.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/0.5027, allocations: 1.216 MB / 318.3 MB, free: 20.03 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003199/0.5031, allocations: 49.23 kB / 318.3 MB, free: 19.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.5042, allocations: 0.9084 MB / 319.2 MB, free: 19.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006821/0.5049, allocations: 388.5 kB / 319.6 MB, free: 18.85 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.5051, allocations: 32.84 kB / 319.6 MB, free: 18.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5053, allocations: 360.9 kB / 320 MB, free: 18.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.5077, allocations: 0.6358 MB / 320.6 MB, free: 18.16 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.5104, allocations: 0.9911 MB / 321.6 MB, free: 17.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.5132, allocations: 0.7812 MB / 322.4 MB, free: 16.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.685e-05/0.5132, allocations: 4 kB / 322.4 MB, free: 16.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.008438/0.5217, allocations: 2.233 MB / 324.6 MB, free: 14.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.5218, allocations: 12.23 kB / 324.6 MB, free: 14.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/0.5218, allocations: 12 kB / 324.6 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/0.5247, allocations: 491.7 kB / 325.1 MB, free: 13.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/0.5275, allocations: 299.5 kB / 325.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.54, allocations: 6.608 MB / 332 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.5424, allocations: 83.92 kB / 332.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002796/0.5427, allocations: 52 kB / 332.2 MB, free: 6.301 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * 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,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001795/0.5445, allocations: 0.6106 MB / 332.8 MB, free: 5.68 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.5451, allocations: 142.2 kB / 332.9 MB, free: 5.539 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/0.5521, allocations: 1.956 MB / 334.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.5522, allocations: 7.984 kB / 334.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5522, allocations: 0 / 334.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.5532, allocations: 351.2 kB / 335.2 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/0.5536, allocations: 27.94 kB / 335.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.5549, allocations: 79.91 kB / 335.3 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.5552, allocations: 84.86 kB / 335.4 MB, free: 2.996 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006899/0.5621, allocations: 2.087 MB / 337.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00563/0.5678, allocations: 2.472 MB / 340 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001672/0.5695, allocations: 0.6636 MB / 340.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.5713, allocations: 0.829 MB / 341.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of Backend: time 6.72e-07/0.5714, allocations: 0 / 341.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004882/0.5763, allocations: 1.761 MB / 343.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of SimCode: time 0.01202/0.5883, allocations: 5.264 MB / 348.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of Templates: time 0.0662/0.6546, allocations: 22.08 MB / 370.6 MB, free: 15.73 MB / 298.7 MB