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_Initialize.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_Initialize,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.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07624/0.07662, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01217/0.08884, allocations: 7.213 MB / 279.8 MB, free: 4.289 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.09591, allocations: 2.776 MB / 282.6 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.09729, allocations: 35.81 kB / 282.7 MB, free: 1.473 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.09951, allocations: 0.5054 MB / 283.2 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.1025, allocations: 0.6191 MB / 283.8 MB, free: 352 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1036, allocations: 199.8 kB / 284 MB, free: 152 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003801/0.1074, allocations: 1.552 MB / 285.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.1102, allocations: 1.199 MB / 286.7 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.1119, allocations: 0.7434 MB / 287.5 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.1141, allocations: 0.9534 MB / 288.4 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005586/0.1147, allocations: 120 kB / 288.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1159, allocations: 187.9 kB / 288.7 MB, free: 11.36 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.1171, allocations: 0.5804 MB / 289.3 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.1182, allocations: 452.6 kB / 289.7 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004953/0.1231, allocations: 2.899 MB / 292.6 MB, free: 7.418 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1232, allocations: 3.938 kB / 292.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1232, allocations: 0 / 292.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001307/0.1234, allocations: 4 kB / 292.7 MB, free: 7.41 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.007213/0.1306, allocations: 2.193 MB / 294.8 MB, free: 5.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.1307, allocations: 12.03 kB / 294.9 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.132, allocations: 257.2 kB / 295.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.1357, allocations: 1.244 MB / 296.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/0.136, allocations: 139.6 kB / 296.5 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006159/0.1366, allocations: 183.9 kB / 296.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007242/0.1438, allocations: 2.37 MB / 299 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.876e-05/0.144, allocations: 4 kB / 299 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003114/0.1443, allocations: 79.98 kB / 299.1 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001658/0.1445, allocations: 87.47 kB / 299.2 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2247/0.3692, allocations: 2.001 MB / 301.2 MB, free: 29.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.3955, allocations: 7.416 MB / 308.6 MB, free: 25.55 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003955/0.3995, allocations: 1.276 MB / 309.9 MB, free: 24.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003916/0.3999, allocations: 125 kB / 310 MB, free: 24.62 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4, allocations: 39.09 kB / 310.1 MB, free: 24.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=84): time 5.44e-06/0.4, allocations: 0 / 310.1 MB, free: 24.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=100): time 0.01909/0.4191, allocations: 5.053 MB / 315.1 MB, free: 21.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.4192, allocations: 69.16 kB / 315.2 MB, free: 21.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.4215, allocations: 1.304 MB / 316.5 MB, free: 20.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.4217, allocations: 45.67 kB / 316.5 MB, free: 20.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/0.4224, allocations: 0.8871 MB / 317.4 MB, free: 20.04 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.4227, allocations: 354.1 kB / 317.8 MB, free: 19.74 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.4228, allocations: 19.91 kB / 317.8 MB, free: 19.72 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.4229, allocations: 353.7 kB / 318.1 MB, free: 19.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4244, allocations: 0.6412 MB / 318.8 MB, free: 19.06 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.4262, allocations: 0.9306 MB / 319.7 MB, free: 18.38 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.428, allocations: 0.7714 MB / 320.5 MB, free: 17.97 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.428, allocations: 1.562 kB / 320.5 MB, free: 17.97 MB / 250.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.006288/0.4343, allocations: 2.429 MB / 322.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.4343, allocations: 12 kB / 322.9 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.4344, allocations: 8 kB / 322.9 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002947/0.4373, allocations: 0.7352 MB / 323.7 MB, free: 15.22 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.439, allocations: 239.3 kB / 323.9 MB, free: 14.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.4564, allocations: 8.551 MB / 332.4 MB, free: 6.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.4593, allocations: 96.03 kB / 332.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003929/0.4598, allocations: 47.98 kB / 332.6 MB, free: 6.039 MB / 250.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.002267/0.462, allocations: 0.6262 MB / 333.2 MB, free: 5.402 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/0.4629, allocations: 138.3 kB / 333.3 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007681/0.4706, allocations: 1.921 MB / 335.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.283e-05/0.4707, allocations: 10.12 kB / 335.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.4707, allocations: 0 / 335.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/0.4723, allocations: 359.2 kB / 335.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006199/0.473, allocations: 24 kB / 335.6 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.4753, allocations: 79.91 kB / 335.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005497/0.4759, allocations: 80.86 kB / 335.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01056/0.4865, allocations: 2.028 MB / 337.8 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006289/0.4928, allocations: 2.553 MB / 340.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001832/0.4947, allocations: 0.6987 MB / 341.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00208/0.4968, allocations: 0.8957 MB / 342 MB, free: 12.57 MB / 266.7 MB Notification: Performance of Backend: time 1.804e-06/0.4968, allocations: 0 / 342 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005198/0.5021, allocations: 1.568 MB / 343.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of SimCode: time 0.01154/0.5136, allocations: 5.021 MB / 348.6 MB, free: 5.898 MB / 266.7 MB Notification: Performance of Templates: time 0.07465/0.5884, allocations: 22.27 MB / 370.8 MB, free: 15.67 MB / 298.7 MB