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_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_YD") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005343/0.0005344, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1346, 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_YD): time 0.01353/0.1482, allocations: 7.97 MB / 280.6 MB, free: 3.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007637/0.1559, allocations: 3.002 MB / 283.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.1573, allocations: 39.81 kB / 283.6 MB, free: 492 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.1595, allocations: 0.5519 MB / 284.2 MB, free: 15.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003157/0.1627, allocations: 0.6855 MB / 284.9 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00112/0.1639, allocations: 243.6 kB / 285.1 MB, free: 15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004456/0.1683, allocations: 1.957 MB / 287.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.1714, allocations: 1.574 MB / 288.7 MB, free: 11.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.1733, allocations: 0.9497 MB / 289.6 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.176, allocations: 1.171 MB / 290.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006459/0.1767, allocations: 160 kB / 290.9 MB, free: 9.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.1779, allocations: 219.9 kB / 291.1 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.179, allocations: 0.7011 MB / 291.8 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009672/0.18, allocations: 0.551 MB / 292.4 MB, free: 7.668 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005766/0.1857, allocations: 3.705 MB / 296.1 MB, free: 3.953 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1858, allocations: 4 kB / 296.1 MB, free: 3.949 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.1858, allocations: 0 / 296.1 MB, free: 3.949 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.1859, allocations: 0 / 296.1 MB, free: 3.949 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.008974/0.1949, allocations: 2.734 MB / 298.8 MB, free: 1.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.195, allocations: 8.031 kB / 298.8 MB, free: 1.145 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.1965, allocations: 324.4 kB / 299.2 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.216/0.4125, allocations: 1.546 MB / 300.7 MB, free: 28.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004082/0.413, allocations: 169.9 kB / 300.9 MB, free: 28.13 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.4141, allocations: 228.1 kB / 301.1 MB, free: 28.13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.4278, allocations: 3.141 MB / 304.2 MB, free: 26.87 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001555/0.428, allocations: 7.5 kB / 304.2 MB, free: 26.87 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005457/0.4286, allocations: 93.05 kB / 304.3 MB, free: 26.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/0.4289, allocations: 100.3 kB / 304.4 MB, free: 26.79 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.4408, allocations: 2.73 MB / 307.2 MB, free: 25.81 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/0.465, allocations: 9.829 MB / 317 MB, free: 19.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.4688, allocations: 2.093 MB / 319.1 MB, free: 17.95 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.4692, allocations: 127.5 kB / 319.2 MB, free: 17.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.4693, allocations: 47.5 kB / 319.3 MB, free: 17.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=126): time 4.258e-06/0.4693, allocations: 0 / 319.3 MB, free: 17.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=142): time 0.03021/0.4995, allocations: 8.095 MB / 327.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.4996, allocations: 72.66 kB / 327.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.5025, allocations: 1.595 MB / 329 MB, free: 8.766 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003157/0.5029, allocations: 57.69 kB / 329.1 MB, free: 8.703 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008129/0.5037, allocations: 1.075 MB / 330.2 MB, free: 7.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.5043, allocations: 488.4 kB / 330.6 MB, free: 7.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.5045, allocations: 28 kB / 330.7 MB, free: 7.117 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5046, allocations: 369.9 kB / 331 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.5069, allocations: 0.9209 MB / 331.9 MB, free: 5.832 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002558/0.5095, allocations: 1.267 MB / 333.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002741/0.5123, allocations: 1.072 MB / 334.3 MB, free: 3.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.5123, allocations: 10.2 kB / 334.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008361/0.5207, allocations: 3.068 MB / 337.4 MB, free: 256 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.5208, allocations: 12.61 kB / 337.4 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.5208, allocations: 12 kB / 337.4 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/0.5243, allocations: 0.841 MB / 338.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/0.5268, allocations: 307.5 kB / 338.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01863/0.5454, allocations: 9.342 MB / 347.9 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.5477, allocations: 107.9 kB / 348 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/0.5481, allocations: 59.98 kB / 348 MB, free: 5.18 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 150 * 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,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002228/0.5503, allocations: 0.8057 MB / 348.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005988/0.5509, allocations: 177.8 kB / 349 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009076/0.56, allocations: 2.87 MB / 351.9 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-05/0.5601, allocations: 7.969 kB / 351.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.5601, allocations: 0 / 351.9 MB, free: 1.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.5622, allocations: 462.7 kB / 352.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006603/0.5629, allocations: 32 kB / 352.4 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/0.5646, allocations: 95.89 kB / 352.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/0.5652, allocations: 141.1 kB / 352.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01124/0.5764, allocations: 3.055 MB / 355.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009419/0.5859, allocations: 3.526 MB / 359.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002791/0.5888, allocations: 1.035 MB / 360.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.002537/0.5914, allocations: 1.095 MB / 361.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of Backend: time 1.343e-06/0.5914, allocations: 1.594 kB / 361.3 MB, free: 7.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006795/0.5982, allocations: 2.263 MB / 363.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of SimCode: time 0.01504/0.6133, allocations: 6.427 MB / 370 MB, free: 15 MB / 298.7 MB Notification: Performance of Templates: time 0.08569/0.6991, allocations: 29.88 MB / 399.9 MB, free: 1.152 MB / 314.7 MB