Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09427, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01542/0.1098, allocations: 7.905 MB / 317 MB, free: 8.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.1173, allocations: 2.968 MB / 319.9 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.1188, allocations: 39.81 kB / 320 MB, free: 5.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002264/0.1211, allocations: 0.5169 MB / 320.5 MB, free: 4.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.1242, allocations: 0.6543 MB / 321.2 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1254, allocations: 247.6 kB / 321.4 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003574/0.1289, allocations: 1.611 MB / 323 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.1312, allocations: 1.204 MB / 324.2 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00133/0.1325, allocations: 0.7628 MB / 325 MB, free: 372 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.1343, allocations: 0.9533 MB / 325.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.1346, allocations: 120 kB / 326 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.1354, allocations: 187.9 kB / 326.2 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008563/0.1363, allocations: 0.5685 MB / 326.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005888/0.1369, allocations: 456.6 kB / 327.2 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00395/0.1408, allocations: 2.867 MB / 330.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1409, allocations: 0 / 330.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1409, allocations: 0 / 330.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.603e-05/0.1409, allocations: 0 / 330.1 MB, free: 11.21 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00622/0.1472, allocations: 2.201 MB / 332.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1472, allocations: 8.031 kB / 332.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.1482, allocations: 257.2 kB / 332.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/0.1513, allocations: 1.224 MB / 333.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.1515, allocations: 147.8 kB / 333.9 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000449/0.1519, allocations: 188 kB / 334.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006119/0.1581, allocations: 2.391 MB / 336.5 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.349e-05/0.1582, allocations: 11.84 kB / 336.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.1585, allocations: 76 kB / 336.6 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.1586, allocations: 95.62 kB / 336.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005368/0.164, allocations: 1.947 MB / 338.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01827/0.1823, allocations: 7.844 MB / 346.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.185, allocations: 1.231 MB / 347.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/0.1854, allocations: 118.1 kB / 347.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.1854, allocations: 43.56 kB / 347.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 4.729e-06/0.1854, allocations: 0 / 347.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.0214/0.2068, allocations: 5.889 MB / 353.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.2069, allocations: 68.34 kB / 353.8 MB, free: 2.863 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.2095, allocations: 1.247 MB / 355.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.2097, allocations: 49.7 kB / 355.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009333/0.2106, allocations: 0.916 MB / 356 MB, free: 0.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.2111, allocations: 390.3 kB / 356.4 MB, free: 244 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2112, allocations: 24 kB / 356.4 MB, free: 220 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.2114, allocations: 365.9 kB / 356.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001687/0.2131, allocations: 0.6325 MB / 357.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.2152, allocations: 0.9925 MB / 358.4 MB, free: 14.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001977/0.2172, allocations: 0.7799 MB / 359.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.2172, allocations: 8 kB / 359.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00615/0.2234, allocations: 2.23 MB / 361.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.2235, allocations: 8 kB / 361.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.2235, allocations: 12 kB / 361.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.2255, allocations: 488.1 kB / 361.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/0.2275, allocations: 299.5 kB / 362.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.2382, allocations: 6.601 MB / 368.8 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.24, allocations: 91.81 kB / 368.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.2402, allocations: 56 kB / 369 MB, free: 3.078 MB / 314.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 (idealCloser.control,idealOpener.control) * 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.00154/0.2418, allocations: 0.6028 MB / 369.6 MB, free: 2.465 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/0.2422, allocations: 150.2 kB / 369.7 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006407/0.2486, allocations: 1.949 MB / 371.7 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/0.2487, allocations: 15.97 kB / 371.7 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.2488, allocations: 0 / 371.7 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2647/0.5135, allocations: 345.5 kB / 372 MB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006116/0.5141, allocations: 26.89 kB / 372.1 MB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.5155, allocations: 79.78 kB / 372.1 MB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/0.5159, allocations: 90.98 kB / 372.2 MB, free: 60.28 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00821/0.5241, allocations: 2.092 MB / 374.3 MB, free: 60.13 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005993/0.5301, allocations: 2.471 MB / 376.8 MB, free: 59.38 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001771/0.532, allocations: 0.667 MB / 377.4 MB, free: 59.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0019/0.5339, allocations: 0.846 MB / 378.3 MB, free: 58.8 MB / 314.7 MB Notification: Performance of Backend: time 8.41e-07/0.5339, allocations: 3.281 kB / 378.3 MB, free: 58.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004842/0.5388, allocations: 1.747 MB / 380 MB, free: 57.82 MB / 314.7 MB Notification: Performance of SimCode: time 0.0112/0.55, allocations: 5.285 MB / 385.3 MB, free: 54.65 MB / 314.7 MB Notification: Performance of Templates: time 0.05588/0.606, allocations: 22.4 MB / 407.7 MB, free: 36.99 MB / 314.7 MB