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.DCMachines.DCEE_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.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005156, allocations: 8 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08986, allocations: 38.78 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01138/0.1013, allocations: 6.425 MB / 279.1 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006034/0.1074, allocations: 2.493 MB / 281.6 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.1084, allocations: 19.94 kB / 281.6 MB, free: 2.547 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.1104, allocations: 469.8 kB / 282 MB, free: 2.086 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.1122, allocations: 474.6 kB / 282.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.1127, allocations: 143.8 kB / 282.6 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002537/0.1153, allocations: 1.003 MB / 283.6 MB, free: 488 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.1164, allocations: 439.2 kB / 284.1 MB, free: 40 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.1173, allocations: 418.4 kB / 284.5 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007708/0.1181, allocations: 461.8 kB / 284.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.1183, allocations: 60 kB / 285 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.1187, allocations: 111.8 kB / 285.1 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.1189, allocations: 175.2 kB / 285.3 MB, free: 14.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003373/0.1193, allocations: 261.1 kB / 285.5 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.1213, allocations: 1.277 MB / 286.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1213, allocations: 0 / 286.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1213, allocations: 0 / 286.8 MB, free: 13.29 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.1214, allocations: 4 kB / 286.8 MB, free: 13.29 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003116/0.1245, allocations: 1.231 MB / 288 MB, free: 12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1246, allocations: 8.031 kB / 288 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000681/0.1252, allocations: 150.5 kB / 288.2 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.127, allocations: 0.6873 MB / 288.9 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.58e-05/0.1271, allocations: 81.94 kB / 289 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.1273, allocations: 99.91 kB / 289.1 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/0.1299, allocations: 0.9112 MB / 290 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.1299, allocations: 4 kB / 290 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1301, allocations: 40 kB / 290 MB, free: 9.961 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.1301, allocations: 24 kB / 290 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.1322, allocations: 0.6324 MB / 290.7 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007976/0.1402, allocations: 3.878 MB / 294.5 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009061/0.1411, allocations: 363.6 kB / 294.9 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/0.1412, allocations: 8 kB / 294.9 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1413, allocations: 34.56 kB / 294.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 3.547e-06/0.1413, allocations: 0 / 294.9 MB, free: 4.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.003596/0.1449, allocations: 1.213 MB / 296.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.145, allocations: 85.05 kB / 296.2 MB, free: 3.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.1465, allocations: 0.7588 MB / 297 MB, free: 2.594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.1466, allocations: 33.7 kB / 297 MB, free: 2.555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006034/0.1472, allocations: 0.5679 MB / 297.6 MB, free: 1.977 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1474, allocations: 134.2 kB / 297.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.1474, allocations: 16 kB / 297.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1476, allocations: 326 kB / 298.1 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.1482, allocations: 157.9 kB / 298.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008138/0.149, allocations: 464 kB / 298.7 MB, free: 0.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.1497, allocations: 231.4 kB / 298.9 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.1497, allocations: 8 kB / 298.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2129/0.3626, allocations: 0.6856 MB / 299.6 MB, free: 29.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.3627, allocations: 10.25 kB / 299.6 MB, free: 29.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.787e-05/0.3627, allocations: 11.16 kB / 299.6 MB, free: 29.52 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.363, allocations: 34.33 kB / 299.6 MB, free: 29.51 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.364, allocations: 162.4 kB / 299.8 MB, free: 29.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3651, allocations: 1.302 MB / 301.1 MB, free: 28.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008842/0.3661, allocations: 39.02 kB / 301.1 MB, free: 28.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.578e-05/0.3662, allocations: 35.44 kB / 301.2 MB, free: 28.25 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006074/0.3668, allocations: 258.7 kB / 301.4 MB, free: 28.14 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.367, allocations: 81.73 kB / 301.5 MB, free: 28.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.3683, allocations: 393.6 kB / 301.9 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.3683, allocations: 2.484 kB / 301.9 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3683, allocations: 0 / 301.9 MB, free: 28.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/0.3687, allocations: 179.9 kB / 302.1 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.3689, allocations: 9.234 kB / 302.1 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005811/0.3695, allocations: 24.16 kB / 302.1 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3696, allocations: 26.3 kB / 302.1 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001504/0.3711, allocations: 436.4 kB / 302.6 MB, free: 27.87 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001579/0.3727, allocations: 0.6624 MB / 303.2 MB, free: 27.65 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004578/0.3732, allocations: 124.5 kB / 303.3 MB, free: 27.62 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.3744, allocations: 0.5094 MB / 303.8 MB, free: 27.39 MB / 250.7 MB Notification: Performance of Backend: time 8.72e-07/0.3745, allocations: 3.375 kB / 303.9 MB, free: 27.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3762, allocations: 0.5143 MB / 304.4 MB, free: 27.13 MB / 250.7 MB Notification: Performance of SimCode: time 0.005051/0.3813, allocations: 2.626 MB / 307 MB, free: 25.36 MB / 250.7 MB Notification: Performance of Templates: time 0.03933/0.4207, allocations: 8.675 MB / 315.7 MB, free: 22.41 MB / 250.7 MB