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.AIMS_Start.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.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadModel(Modelica): time 1.682/1.682, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003497, allocations: 12 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07973/0.0801, allocations: 38.78 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.0162/0.09635, allocations: 9.653 MB / 282.3 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009388/0.1058, allocations: 3.692 MB / 286 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1076, allocations: 55.69 kB / 286 MB, free: 14.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.1107, allocations: 0.7269 MB / 286.8 MB, free: 13.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004073/0.1148, allocations: 0.9035 MB / 287.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1161, allocations: 299.6 kB / 288 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005433/0.1215, allocations: 2.663 MB / 290.6 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/0.1255, allocations: 2.205 MB / 292.8 MB, free: 7.246 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.1279, allocations: 1.308 MB / 294.1 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003126/0.131, allocations: 1.627 MB / 295.8 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007109/0.1317, allocations: 212 kB / 296 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.133, allocations: 275.9 kB / 296.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.1346, allocations: 0.9932 MB / 297.2 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.1357, allocations: 0.7459 MB / 298 MB, free: 2.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2222/0.3579, allocations: 5.207 MB / 303.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.358, allocations: 0 / 303.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.907e-06/0.358, allocations: 0 / 303.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0002181/0.3583, allocations: 1.375 kB / 303.2 MB, free: 14.21 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: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.01304/0.3713, allocations: 3.642 MB / 306.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3714, allocations: 7.938 kB / 306.8 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.3742, allocations: 438.1 kB / 307.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006897/0.3811, allocations: 2.15 MB / 309.4 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.3815, allocations: 225.7 kB / 309.6 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.3829, allocations: 310 kB / 309.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.3973, allocations: 4.314 MB / 314.3 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.3975, allocations: 10.59 kB / 314.3 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009827/0.3985, allocations: 131.9 kB / 314.4 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002208/0.3987, allocations: 127.4 kB / 314.5 MB, free: 10.78 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.4108, allocations: 3.751 MB / 318.3 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03104/0.4418, allocations: 13.51 MB / 331.8 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.4474, allocations: 2.889 MB / 334.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003957/0.4478, allocations: 128.9 kB / 334.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.4479, allocations: 56.86 kB / 334.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=164): time 4.569e-06/0.4479, allocations: 0 / 334.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=180): time 0.0328/0.4807, allocations: 9.352 MB / 344.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.4808, allocations: 69.41 kB / 344.3 MB, free: 3.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/0.4858, allocations: 2.26 MB / 346.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005108/0.4863, allocations: 57.7 kB / 346.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00162/0.488, allocations: 1.469 MB / 348.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.489, allocations: 0.6028 MB / 348.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.4893, allocations: 40 kB / 348.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.4895, allocations: 389.7 kB / 349.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/0.4929, allocations: 1.14 MB / 350.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003621/0.4966, allocations: 1.582 MB / 351.8 MB, free: 12.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/0.5006, allocations: 1.351 MB / 353.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.5007, allocations: 4 kB / 353.2 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.01064/0.5113, allocations: 3.621 MB / 356.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.5114, allocations: 12.62 kB / 356.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.639e-05/0.5114, allocations: 16 kB / 356.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/0.5149, allocations: 0.8058 MB / 357.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/0.5186, allocations: 460 kB / 358.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/0.5348, allocations: 10.51 MB / 368.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/0.538, allocations: 131.8 kB / 368.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003649/0.5384, allocations: 79.98 kB / 368.8 MB, free: 10.56 MB / 298.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 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,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.002973/0.5414, allocations: 1.096 MB / 369.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008285/0.5422, allocations: 249 kB / 370.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009523/0.5518, allocations: 3.33 MB / 373.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.5518, allocations: 11.92 kB / 373.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5519, allocations: 0 / 373.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/0.5541, allocations: 0.5721 MB / 374 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/0.5548, allocations: 35.98 kB / 374.1 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/0.557, allocations: 135.9 kB / 374.2 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005188/0.5576, allocations: 157.7 kB / 374.4 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01217/0.5697, allocations: 3.496 MB / 377.8 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01111/0.5809, allocations: 4.321 MB / 382.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003081/0.584, allocations: 1.23 MB / 383.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003657/0.5877, allocations: 1.559 MB / 385 MB, free: 10.34 MB / 314.7 MB Notification: Performance of Backend: time 8.91e-07/0.5878, allocations: 6.078 kB / 385 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.008/0.5958, allocations: 2.682 MB / 387.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of SimCode: time 0.01979/0.6156, allocations: 8.231 MB / 395.9 MB, free: 15.3 MB / 330.7 MB Notification: Performance of Templates: time 0.1125/0.7282, allocations: 39.47 MB / 435.3 MB, free: 7.934 MB / 362.7 MB