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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003496, allocations: 12 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 44.51 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01235/0.1195, allocations: 7.238 MB / 316.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.1265, allocations: 2.8 MB / 319.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1278, allocations: 35.81 kB / 319.1 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002142/0.1299, allocations: 0.5014 MB / 319.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003382/0.1334, allocations: 0.6076 MB / 320.3 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.1347, allocations: 203.6 kB / 320.4 MB, free: 4.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003841/0.1385, allocations: 1.548 MB / 322 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.1409, allocations: 1.192 MB / 323.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.1425, allocations: 0.7395 MB / 323.9 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.1446, allocations: 0.9651 MB / 324.9 MB, free: 420 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004573/0.1451, allocations: 120 kB / 325 MB, free: 300 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008833/0.146, allocations: 183.9 kB / 325.2 MB, free: 116 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009537/0.147, allocations: 0.5881 MB / 325.8 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007378/0.1477, allocations: 448.6 kB / 326.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004403/0.1521, allocations: 2.926 MB / 329.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1522, allocations: 0 / 329.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1522, allocations: 0 / 329.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.96e-05/0.1523, allocations: 0 / 329.1 MB, free: 12.14 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.007418/0.1597, allocations: 2.205 MB / 331.3 MB, free: 9.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1598, allocations: 16.03 kB / 331.4 MB, free: 9.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.1611, allocations: 257.2 kB / 331.6 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.1648, allocations: 1.264 MB / 332.9 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.165, allocations: 135.6 kB / 333 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005526/0.1655, allocations: 183.9 kB / 333.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.1724, allocations: 2.39 MB / 335.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.237e-05/0.1725, allocations: 0 / 335.6 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/0.1728, allocations: 72 kB / 335.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/0.1729, allocations: 91.45 kB / 335.7 MB, free: 5.395 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006268/0.1792, allocations: 2.024 MB / 337.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02001/0.1993, allocations: 7.448 MB / 345.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.2025, allocations: 1.276 MB / 346.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.2029, allocations: 126.1 kB / 346.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.203, allocations: 39.56 kB / 346.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=84): time 6.032e-06/0.203, allocations: 3.984 kB / 346.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.0163/0.2193, allocations: 5.052 MB / 351.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2194, allocations: 60.41 kB / 351.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003081/0.2225, allocations: 1.322 MB / 353.1 MB, free: 3.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000298/0.2228, allocations: 45.7 kB / 353.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.2238, allocations: 0.9008 MB / 354 MB, free: 2.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004893/0.2243, allocations: 358.9 kB / 354.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.2245, allocations: 27.94 kB / 354.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2247, allocations: 353.9 kB / 354.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.2265, allocations: 0.6389 MB / 355.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.2285, allocations: 0.9337 MB / 356.3 MB, free: 224 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.2306, allocations: 0.772 MB / 357.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.2307, allocations: 4 kB / 357.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007303/0.238, allocations: 2.418 MB / 359.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2381, allocations: 8 kB / 359.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.2381, allocations: 8 kB / 359.5 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003245/0.2413, allocations: 0.7469 MB / 360.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.2431, allocations: 235.6 kB / 360.5 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.2615, allocations: 8.544 MB / 369.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/0.2633, allocations: 84.05 kB / 369.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.2634, allocations: 47.98 kB / 369.2 MB, free: 3.066 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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%) 1,(6,77.8%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001526/0.265, allocations: 0.6303 MB / 369.8 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.2654, allocations: 146.2 kB / 370 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007435/0.2728, allocations: 1.909 MB / 371.9 MB, free: 360 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-05/0.2729, allocations: 7.984 kB / 371.9 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.273, allocations: 3.938 kB / 371.9 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.241/0.514, allocations: 360.8 kB / 372.2 MB, free: 60.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/0.5147, allocations: 22.39 kB / 372.3 MB, free: 60.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.5161, allocations: 77.92 kB / 372.3 MB, free: 60.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.5164, allocations: 85 kB / 372.4 MB, free: 60.74 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008702/0.5251, allocations: 2.031 MB / 374.4 MB, free: 60.6 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01054/0.5357, allocations: 2.544 MB / 377 MB, free: 59.87 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002041/0.5378, allocations: 0.7064 MB / 377.7 MB, free: 59.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002024/0.5399, allocations: 0.9069 MB / 378.6 MB, free: 59.27 MB / 314.7 MB Notification: Performance of Backend: time 6.41e-07/0.5399, allocations: 0 / 378.6 MB, free: 59.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004813/0.5447, allocations: 1.558 MB / 380.2 MB, free: 58.57 MB / 314.7 MB Notification: Performance of SimCode: time 0.009776/0.5546, allocations: 5.04 MB / 385.2 MB, free: 55.59 MB / 314.7 MB Notification: Performance of Templates: time 0.05409/0.6087, allocations: 22.61 MB / 407.8 MB, free: 37.49 MB / 314.7 MB