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_DOL.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_DOL,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_DOL") Notification: Performance of loadModel(Modelica): time 2.206/2.206, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 15.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09496/0.09534, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.01343/0.1088, allocations: 7.643 MB / 316.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007723/0.1166, allocations: 2.913 MB / 319.6 MB, free: 5.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.1181, allocations: 39.81 kB / 319.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.1204, allocations: 0.5325 MB / 320.2 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.1234, allocations: 0.6465 MB / 320.8 MB, free: 4.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1247, allocations: 219.7 kB / 321.1 MB, free: 4.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004237/0.1289, allocations: 1.739 MB / 322.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.1318, allocations: 1.339 MB / 324.1 MB, free: 1.207 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.1336, allocations: 0.8212 MB / 325 MB, free: 392 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.1363, allocations: 1.066 MB / 326 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006464/0.137, allocations: 132 kB / 326.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.138, allocations: 199.8 kB / 326.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.1391, allocations: 0.6427 MB / 327 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009375/0.14, allocations: 496.5 kB / 327.5 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005204/0.1452, allocations: 3.241 MB / 330.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1453, allocations: 0 / 330.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1453, allocations: 0 / 330.7 MB, free: 10.6 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.1454, allocations: 0 / 330.7 MB, free: 10.6 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008023/0.1534, allocations: 2.424 MB / 333.1 MB, free: 8.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.1535, allocations: 11.97 kB / 333.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.1549, allocations: 288.8 kB / 333.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004039/0.159, allocations: 1.391 MB / 334.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.1592, allocations: 152 kB / 335 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/0.1597, allocations: 211.9 kB / 335.2 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007102/0.1669, allocations: 2.705 MB / 337.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.501e-05/0.167, allocations: 7.938 kB / 337.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003052/0.1673, allocations: 87.94 kB / 338 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000162/0.1675, allocations: 95.92 kB / 338.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006771/0.1742, allocations: 2.322 MB / 340.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/0.1958, allocations: 8.427 MB / 348.8 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.1994, allocations: 1.772 MB / 350.6 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003644/0.1998, allocations: 122.1 kB / 350.7 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.1999, allocations: 47.5 kB / 350.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=104): time 4.168e-06/0.1999, allocations: 0 / 350.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.02238/0.2223, allocations: 6.197 MB / 357 MB, free: 15.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.2224, allocations: 68.34 kB / 357 MB, free: 15.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.2256, allocations: 1.458 MB / 358.5 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.2259, allocations: 45.7 kB / 358.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.227, allocations: 0.9834 MB / 359.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005734/0.2275, allocations: 417.9 kB / 359.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.2277, allocations: 24 kB / 359.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2279, allocations: 361.9 kB / 360.3 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.23, allocations: 0.7417 MB / 361 MB, free: 11.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.2323, allocations: 1.059 MB / 362.1 MB, free: 10.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.2347, allocations: 0.8925 MB / 363 MB, free: 9.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.2348, allocations: 0 / 363 MB, free: 9.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00672/0.2415, allocations: 2.368 MB / 365.4 MB, free: 7.047 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2416, allocations: 17.8 kB / 365.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/0.2416, allocations: 12 kB / 365.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.2433, allocations: 415.4 kB / 365.8 MB, free: 6.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/0.2458, allocations: 331.5 kB / 366.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008143/0.254, allocations: 4.743 MB / 370.9 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.256, allocations: 95.91 kB / 370.9 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001765/0.2562, allocations: 60.05 kB / 371 MB, free: 1.117 MB / 314.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * 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.001826/0.258, allocations: 0.708 MB / 371.7 MB, free: 408 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.2585, allocations: 162 kB / 371.9 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2481/0.5066, allocations: 2.155 MB / 374 MB, free: 60.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-05/0.5067, allocations: 6.812 kB / 374 MB, free: 60.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.343e-06/0.5067, allocations: 4.094 kB / 374 MB, free: 60.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.5081, allocations: 401.6 kB / 374.4 MB, free: 60.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005031/0.5086, allocations: 25.33 kB / 374.5 MB, free: 60.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.5102, allocations: 89.36 kB / 374.5 MB, free: 60.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/0.5106, allocations: 105.1 kB / 374.6 MB, free: 60.4 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008502/0.5191, allocations: 2.286 MB / 376.9 MB, free: 59.66 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008784/0.528, allocations: 2.94 MB / 379.9 MB, free: 58.56 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002133/0.5302, allocations: 0.8293 MB / 380.7 MB, free: 58.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002165/0.5324, allocations: 0.998 MB / 381.7 MB, free: 57.89 MB / 314.7 MB Notification: Performance of Backend: time 6.31e-07/0.5324, allocations: 0 / 381.7 MB, free: 57.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004976/0.5374, allocations: 1.699 MB / 383.4 MB, free: 57 MB / 314.7 MB Notification: Performance of SimCode: time 0.011/0.5484, allocations: 5.516 MB / 388.9 MB, free: 53.74 MB / 314.7 MB Notification: Performance of Templates: time 0.06576/0.6142, allocations: 24.56 MB / 413.5 MB, free: 31.3 MB / 314.7 MB