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.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aims.i_0_r|aims.idq_rr.1.|aims.idq_rr.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 2.172/2.172, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003627, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09864, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01683/0.1155, allocations: 9.666 MB / 318.7 MB, free: 6.652 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009748/0.1253, allocations: 3.724 MB / 322.5 MB, free: 2.918 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002098/0.1275, allocations: 55.69 kB / 322.5 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003354/0.1309, allocations: 0.7269 MB / 323.2 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.1353, allocations: 0.8997 MB / 324.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.1371, allocations: 303.6 kB / 324.4 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006317/0.1435, allocations: 2.671 MB / 327.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004282/0.1478, allocations: 2.201 MB / 329.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.1506, allocations: 1.296 MB / 330.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/0.1545, allocations: 1.642 MB / 332.2 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008861/0.1554, allocations: 212 kB / 332.5 MB, free: 8.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.1569, allocations: 283.8 kB / 332.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.1586, allocations: 0.9854 MB / 333.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.1599, allocations: 0.7498 MB / 334.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008227/0.1682, allocations: 5.228 MB / 339.7 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1682, allocations: 4 kB / 339.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1682, allocations: 0 / 339.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002035/0.1684, allocations: 0 / 339.7 MB, free: 1.59 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01377/0.1822, allocations: 3.651 MB / 343.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.1823, allocations: 16.03 kB / 343.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002924/0.1853, allocations: 439.1 kB / 343.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009758/0.1951, allocations: 2.177 MB / 346 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.1956, allocations: 234.2 kB / 346.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001416/0.197, allocations: 303.9 kB / 346.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.2228, allocations: 4.322 MB / 350.8 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.223, allocations: 4 kB / 350.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007478/0.2237, allocations: 135.9 kB / 351 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002883/0.224, allocations: 126 kB / 351.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03801/0.2621, allocations: 3.771 MB / 354.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05677/0.3189, allocations: 13.56 MB / 368.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009506/0.3285, allocations: 2.892 MB / 371.3 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.3292, allocations: 126.4 kB / 371.4 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.595e-05/0.3293, allocations: 55.81 kB / 371.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=164): time 8.035e-06/0.3293, allocations: 0 / 371.5 MB, free: 1.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=180): time 0.2986/0.6279, allocations: 9.341 MB / 380.8 MB, free: 56.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.628, allocations: 70.69 kB / 380.9 MB, free: 56.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005093/0.6331, allocations: 2.287 MB / 383.2 MB, free: 55.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004141/0.6336, allocations: 57.95 kB / 383.2 MB, free: 55.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001246/0.6348, allocations: 1.478 MB / 384.7 MB, free: 53.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007984/0.6357, allocations: 0.6006 MB / 385.3 MB, free: 53.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.6359, allocations: 41 kB / 385.4 MB, free: 53.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.636, allocations: 381.3 kB / 385.7 MB, free: 53.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/0.639, allocations: 1.146 MB / 386.9 MB, free: 52.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/0.6419, allocations: 1.576 MB / 388.4 MB, free: 51.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.6451, allocations: 1.351 MB / 389.8 MB, free: 51.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.6451, allocations: 3.906 kB / 389.8 MB, free: 51.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.009101/0.6542, allocations: 3.629 MB / 393.4 MB, free: 49.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.6543, allocations: 15.56 kB / 393.4 MB, free: 49.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.6543, allocations: 13.16 kB / 393.5 MB, free: 49.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003149/0.6575, allocations: 0.7903 MB / 394.3 MB, free: 49.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003387/0.6609, allocations: 462.6 kB / 394.7 MB, free: 48.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.6744, allocations: 10.5 MB / 405.2 MB, free: 38.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.6775, allocations: 126.5 kB / 405.3 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.678, allocations: 79.98 kB / 405.4 MB, free: 37.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002728/0.6807, allocations: 1.088 MB / 406.5 MB, free: 36.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008276/0.6816, allocations: 245 kB / 406.7 MB, free: 36.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008894/0.6905, allocations: 3.34 MB / 410.1 MB, free: 33.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.132e-05/0.6906, allocations: 11.97 kB / 410.1 MB, free: 33.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.6906, allocations: 0 / 410.1 MB, free: 33.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/0.6927, allocations: 0.5742 MB / 410.7 MB, free: 32.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009405/0.6936, allocations: 32 kB / 410.7 MB, free: 32.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/0.6964, allocations: 139.8 kB / 410.8 MB, free: 32.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006346/0.6971, allocations: 161.7 kB / 411 MB, free: 32.24 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01528/0.7124, allocations: 3.492 MB / 414.5 MB, free: 28.75 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.015/0.7275, allocations: 4.313 MB / 418.8 MB, free: 24.42 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004307/0.7318, allocations: 1.23 MB / 420 MB, free: 23.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.005245/0.7371, allocations: 1.57 MB / 421.6 MB, free: 21.61 MB / 314.7 MB Notification: Performance of Backend: time 2.354e-06/0.7372, allocations: 0 / 421.6 MB, free: 21.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01034/0.7476, allocations: 2.678 MB / 424.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of SimCode: time 0.02258/0.7702, allocations: 8.247 MB / 432.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of Templates: time 0.1247/0.8949, allocations: 39.83 MB / 472.3 MB, free: 2.707 MB / 346.7 MB