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_YD.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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_YD") Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 11.94 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09584, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01388/0.1098, allocations: 8.006 MB / 317.1 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007835/0.1177, allocations: 3.022 MB / 320.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.1189, allocations: 39.81 kB / 320.1 MB, free: 5.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.121, allocations: 0.5519 MB / 320.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.1239, allocations: 0.6931 MB / 321.4 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.125, allocations: 239.7 kB / 321.6 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004455/0.1294, allocations: 1.965 MB / 323.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.1325, allocations: 1.555 MB / 325.1 MB, free: 208 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.1343, allocations: 0.9497 MB / 326.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.1366, allocations: 1.195 MB / 327.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004711/0.137, allocations: 152 kB / 327.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008928/0.138, allocations: 219.9 kB / 327.6 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.139, allocations: 0.705 MB / 328.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008069/0.1399, allocations: 0.5549 MB / 328.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005511/0.1454, allocations: 3.74 MB / 332.6 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1454, allocations: 0 / 332.6 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1454, allocations: 4 kB / 332.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.892e-05/0.1455, allocations: 0 / 332.7 MB, free: 8.664 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.009435/0.155, allocations: 2.753 MB / 335.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.1551, allocations: 8.031 kB / 335.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.1565, allocations: 320.4 kB / 335.7 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004496/0.1611, allocations: 1.58 MB / 337.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.1613, allocations: 168.6 kB / 337.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/0.1619, allocations: 227.9 kB / 337.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008706/0.1706, allocations: 3.157 MB / 340.9 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.989e-05/0.1707, allocations: 11.92 kB / 340.9 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.1711, allocations: 96 kB / 341 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000179/0.1713, allocations: 100.4 kB / 341.1 MB, free: 32 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00815/0.1795, allocations: 2.75 MB / 343.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03913/0.2186, allocations: 9.899 MB / 353.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.2231, allocations: 2.095 MB / 355.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.2235, allocations: 130.1 kB / 355.9 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.2236, allocations: 43.56 kB / 356 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=126): time 7.815e-06/0.2236, allocations: 0 / 356 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of matching and sorting (n=142): time 0.03311/0.2567, allocations: 8.095 MB / 364.1 MB, free: 8.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.2568, allocations: 64.72 kB / 364.1 MB, free: 8.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.2606, allocations: 1.629 MB / 365.8 MB, free: 6.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003536/0.261, allocations: 49.7 kB / 365.8 MB, free: 6.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.2623, allocations: 1.086 MB / 366.9 MB, free: 5.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007724/0.2631, allocations: 489 kB / 367.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2633, allocations: 32 kB / 367.4 MB, free: 5.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.2636, allocations: 373.9 kB / 367.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002708/0.2663, allocations: 0.9096 MB / 368.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00315/0.2694, allocations: 1.275 MB / 369.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.2726, allocations: 1.076 MB / 371 MB, free: 1.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.2726, allocations: 4 kB / 371 MB, free: 1.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.2783/0.5509, allocations: 3.054 MB / 374.1 MB, free: 59.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.551, allocations: 12.91 kB / 374.1 MB, free: 59.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/0.5511, allocations: 9.969 kB / 374.1 MB, free: 59.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0036/0.5547, allocations: 0.8397 MB / 374.9 MB, free: 59.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.557, allocations: 311.8 kB / 375.2 MB, free: 59.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/0.5737, allocations: 9.328 MB / 384.6 MB, free: 53.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.5759, allocations: 107.5 kB / 384.7 MB, free: 53.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.5761, allocations: 64.14 kB / 384.7 MB, free: 53.26 MB / 314.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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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.001866/0.578, allocations: 0.8063 MB / 385.5 MB, free: 52.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004697/0.5785, allocations: 184.6 kB / 385.7 MB, free: 52.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007774/0.5862, allocations: 2.866 MB / 388.6 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-05/0.5863, allocations: 8.391 kB / 388.6 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5863, allocations: 3.281 kB / 388.6 MB, free: 51.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.5877, allocations: 470.2 kB / 389.1 MB, free: 51.53 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/0.5882, allocations: 31.88 kB / 389.1 MB, free: 51.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/0.5897, allocations: 93.75 kB / 389.2 MB, free: 51.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000476/0.5902, allocations: 150.6 kB / 389.3 MB, free: 51.48 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009641/0.5999, allocations: 3.039 MB / 392.4 MB, free: 50.04 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0075/0.6074, allocations: 3.521 MB / 395.9 MB, free: 48.11 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002161/0.6096, allocations: 1.036 MB / 396.9 MB, free: 47.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.6117, allocations: 1.106 MB / 398 MB, free: 46.2 MB / 314.7 MB Notification: Performance of Backend: time 6.71e-07/0.6118, allocations: 0 / 398 MB, free: 46.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005487/0.6172, allocations: 2.247 MB / 400.3 MB, free: 43.87 MB / 314.7 MB Notification: Performance of SimCode: time 0.01142/0.6287, allocations: 6.451 MB / 406.7 MB, free: 37.38 MB / 314.7 MB Notification: Performance of Templates: time 0.07309/0.7019, allocations: 30.23 MB / 437 MB, free: 7.195 MB / 314.7 MB