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_DOL.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_DOL,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_DOL") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 11.98 kB / 233.9 MB, free: 2.367 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08058, allocations: 38.77 MB / 272.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01316/0.0938, allocations: 7.603 MB / 280.2 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007322/0.1012, allocations: 2.889 MB / 283.1 MB, free: 0.9766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.1026, allocations: 39.81 kB / 283.2 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002175/0.1048, allocations: 0.5247 MB / 283.7 MB, free: 420 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.1079, allocations: 0.6504 MB / 284.3 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.109, allocations: 215.7 kB / 284.6 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003834/0.1128, allocations: 1.731 MB / 286.3 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.1154, allocations: 1.335 MB / 287.6 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.117, allocations: 0.829 MB / 288.5 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.1191, allocations: 1.051 MB / 289.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.1196, allocations: 132 kB / 289.6 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/0.1205, allocations: 195.9 kB / 289.8 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.1216, allocations: 0.6387 MB / 290.5 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008311/0.1224, allocations: 0.4887 MB / 291 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005206/0.1276, allocations: 3.21 MB / 294.2 MB, free: 5.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1277, allocations: 0 / 294.2 MB, free: 5.883 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1277, allocations: 0 / 294.2 MB, free: 5.883 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001241/0.1278, allocations: 4 kB / 294.2 MB, free: 5.879 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.007785/0.1356, allocations: 2.405 MB / 296.6 MB, free: 3.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1357, allocations: 11.97 kB / 296.6 MB, free: 3.402 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.1371, allocations: 292.8 kB / 296.9 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004173/0.1413, allocations: 1.375 MB / 298.2 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.1416, allocations: 144 kB / 298.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007011/0.1423, allocations: 215.8 kB / 298.6 MB, free: 1.332 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2196/0.3619, allocations: 2.679 MB / 301.3 MB, free: 28.4 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/0.362, allocations: 6.5 kB / 301.3 MB, free: 28.4 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/0.3624, allocations: 82.91 kB / 301.4 MB, free: 28.4 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.3626, allocations: 91.09 kB / 301.4 MB, free: 28.39 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008064/0.3706, allocations: 2.305 MB / 303.8 MB, free: 27.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.3927, allocations: 8.344 MB / 312.1 MB, free: 22.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.3961, allocations: 1.776 MB / 313.9 MB, free: 21.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/0.3965, allocations: 119.1 kB / 314 MB, free: 21.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.3966, allocations: 44.19 kB / 314 MB, free: 21.22 MB / 250.7 MB Notification: Performance of pre-optimization done (n=104): time 4.468e-06/0.3966, allocations: 0 / 314 MB, free: 21.22 MB / 250.7 MB Notification: Performance of matching and sorting (n=120): time 0.02124/0.4178, allocations: 6.201 MB / 320.2 MB, free: 17.83 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.4179, allocations: 64.34 kB / 320.3 MB, free: 17.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/0.4208, allocations: 1.439 MB / 321.7 MB, free: 16.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.4211, allocations: 45.7 kB / 321.8 MB, free: 16.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.4219, allocations: 0.9696 MB / 322.7 MB, free: 15.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004981/0.4224, allocations: 415.8 kB / 323.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.4225, allocations: 28 kB / 323.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4227, allocations: 361.9 kB / 323.5 MB, free: 15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001844/0.4245, allocations: 0.7417 MB / 324.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/0.4265, allocations: 1.067 MB / 325.3 MB, free: 13.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002142/0.4287, allocations: 0.8808 MB / 326.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.4288, allocations: 4 kB / 326.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006139/0.4349, allocations: 2.379 MB / 328.6 MB, free: 9.781 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.435, allocations: 8.969 kB / 328.6 MB, free: 9.773 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.435, allocations: 12.88 kB / 328.6 MB, free: 9.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/0.4366, allocations: 407.1 kB / 329 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/0.4391, allocations: 332.3 kB / 329.4 MB, free: 9.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/0.4459, allocations: 4.75 MB / 334.1 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.4478, allocations: 99.92 kB / 334.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.448, allocations: 48 kB / 334.2 MB, free: 3.871 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0017/0.4497, allocations: 0.7159 MB / 335 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004823/0.4502, allocations: 161.6 kB / 335.1 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005671/0.4559, allocations: 2.168 MB / 337.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.456, allocations: 3.984 kB / 337.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.456, allocations: 0 / 337.3 MB, free: 0.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/0.4573, allocations: 403 kB / 337.7 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005395/0.4579, allocations: 30.52 kB / 337.7 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/0.4595, allocations: 83.91 kB / 337.8 MB, free: 276 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/0.4599, allocations: 104.8 kB / 337.9 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008694/0.4686, allocations: 2.287 MB / 340.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00783/0.4765, allocations: 2.948 MB / 343.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002267/0.4788, allocations: 0.8198 MB / 344 MB, free: 10.1 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002396/0.4812, allocations: 0.9813 MB / 344.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of Backend: time 8.11e-07/0.4813, allocations: 0 / 344.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.005426/0.4867, allocations: 1.708 MB / 346.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of SimCode: time 0.01406/0.5008, allocations: 5.501 MB / 352.1 MB, free: 1.777 MB / 266.7 MB Notification: Performance of Templates: time 0.0906/0.5915, allocations: 24.2 MB / 376.3 MB, free: 9.629 MB / 298.7 MB