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_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.000505, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1062, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01272/0.1189, allocations: 7.172 MB / 316.2 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007159/0.1262, allocations: 2.753 MB / 319 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.1276, allocations: 35.81 kB / 319 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00228/0.1299, allocations: 0.5054 MB / 319.5 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.1328, allocations: 0.5958 MB / 320.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.134, allocations: 207.7 kB / 320.3 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003563/0.1376, allocations: 1.458 MB / 321.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.14, allocations: 1.192 MB / 323 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.1415, allocations: 0.7006 MB / 323.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.1436, allocations: 0.9223 MB / 324.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005289/0.1442, allocations: 116 kB / 324.7 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009197/0.1451, allocations: 179.9 kB / 324.9 MB, free: 452 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009004/0.1461, allocations: 0.5531 MB / 325.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007355/0.1468, allocations: 432.6 kB / 325.9 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.1513, allocations: 2.789 MB / 328.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1513, allocations: 0 / 328.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.289e-06/0.1513, allocations: 0 / 328.7 MB, free: 12.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.72e-05/0.1514, allocations: 3.938 kB / 328.7 MB, free: 12.66 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007075/0.1585, allocations: 2.115 MB / 330.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.1586, allocations: 8.031 kB / 330.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.1599, allocations: 253.2 kB / 331 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.1633, allocations: 1.18 MB / 332.2 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.1636, allocations: 135.6 kB / 332.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.1641, allocations: 179.9 kB / 332.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00704/0.1712, allocations: 2.355 MB / 334.9 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.394e-05/0.1713, allocations: 7.953 kB / 334.9 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002785/0.1716, allocations: 68 kB / 335 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.1718, allocations: 95.5 kB / 335 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006475/0.1783, allocations: 1.962 MB / 337 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.1975, allocations: 7.144 MB / 344.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.2008, allocations: 1.292 MB / 345.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/0.2012, allocations: 126 kB / 345.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.2013, allocations: 39.56 kB / 345.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 4.298e-06/0.2013, allocations: 4 kB / 345.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.02806/0.2294, allocations: 6.964 MB / 352.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2295, allocations: 64.34 kB / 352.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.232, allocations: 1.156 MB / 353.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.2322, allocations: 49.7 kB / 353.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000952/0.2332, allocations: 0.8651 MB / 354.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005378/0.2337, allocations: 370.6 kB / 355.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.2339, allocations: 28 kB / 355.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2341, allocations: 353.9 kB / 355.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.236, allocations: 0.6623 MB / 356.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/0.2382, allocations: 0.9541 MB / 357.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002265/0.2405, allocations: 0.8072 MB / 357.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.747e-06/0.2405, allocations: 0 / 357.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007096/0.2476, allocations: 2.35 MB / 360.2 MB, free: 12.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/0.2477, allocations: 8 kB / 360.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.832e-05/0.2478, allocations: 12 kB / 360.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/0.2503, allocations: 0.5928 MB / 360.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.2524, allocations: 271.5 kB / 361.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.2689, allocations: 6.424 MB / 367.5 MB, free: 4.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.2716, allocations: 87.97 kB / 367.6 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.2719, allocations: 51.94 kB / 367.7 MB, free: 4.602 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (130): * Single equations (assignments): 126 * 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: 2 * 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: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002359/0.2743, allocations: 0.6066 MB / 368.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006154/0.275, allocations: 134.3 kB / 368.4 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009312/0.2843, allocations: 2.166 MB / 370.6 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/0.2843, allocations: 3.984 kB / 370.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.2844, allocations: 4 kB / 370.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.2858, allocations: 351.4 kB / 370.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004576/0.2863, allocations: 24 kB / 370.9 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.2881, allocations: 83.89 kB / 371 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/0.2885, allocations: 100.8 kB / 371.1 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2688/0.5573, allocations: 2.322 MB / 373.4 MB, free: 60.48 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006736/0.5641, allocations: 2.585 MB / 376 MB, free: 59.85 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002008/0.5662, allocations: 0.7317 MB / 376.8 MB, free: 59.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001828/0.568, allocations: 0.7911 MB / 377.5 MB, free: 59.28 MB / 314.7 MB Notification: Performance of Backend: time 7.81e-07/0.5681, allocations: 0 / 377.5 MB, free: 59.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005155/0.5733, allocations: 1.705 MB / 379.2 MB, free: 58.4 MB / 314.7 MB Notification: Performance of SimCode: time 0.01019/0.5835, allocations: 5.007 MB / 384.3 MB, free: 55.46 MB / 314.7 MB Notification: Performance of Templates: time 0.05693/0.6405, allocations: 21.85 MB / 406.1 MB, free: 39.24 MB / 314.7 MB