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.DCPM_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.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 171.2 MB / 186.7 MB, free: 1.031 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003572, allocations: 8 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.08019, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01001/0.09024, allocations: 5.704 MB / 278.3 MB, free: 5.785 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.09556, allocations: 2.243 MB / 280.6 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.09629, allocations: 15.94 kB / 280.6 MB, free: 3.523 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.09799, allocations: 426 kB / 281 MB, free: 3.105 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.09946, allocations: 402.8 kB / 281.4 MB, free: 2.711 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.09994, allocations: 119.9 kB / 281.5 MB, free: 2.594 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.1018, allocations: 0.8468 MB / 282.4 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.1026, allocations: 372.5 kB / 282.7 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005918/0.1032, allocations: 346.6 kB / 283.1 MB, free: 1.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.1038, allocations: 386.2 kB / 283.5 MB, free: 0.6523 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.104, allocations: 48 kB / 283.5 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.1044, allocations: 87.97 kB / 283.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.1046, allocations: 147.3 kB / 283.7 MB, free: 384 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002841/0.1049, allocations: 221.2 kB / 283.9 MB, free: 156 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001662/0.1066, allocations: 1.071 MB / 285 MB, free: 15.08 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1066, allocations: 7.938 kB / 285 MB, free: 15.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1066, allocations: 0 / 285 MB, free: 15.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.1066, allocations: 0 / 285 MB, free: 15.07 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.002645/0.1093, allocations: 1.091 MB / 286.1 MB, free: 13.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1093, allocations: 8.031 kB / 286.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005515/0.1099, allocations: 126.8 kB / 286.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.1113, allocations: 0.6212 MB / 286.9 MB, free: 13.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.492e-05/0.1114, allocations: 54 kB / 286.9 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.1116, allocations: 87.89 kB / 287 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.1137, allocations: 0.7676 MB / 287.8 MB, free: 12.2 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.1138, allocations: 4 kB / 287.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/0.1139, allocations: 32 kB / 287.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.1139, allocations: 20 kB / 287.8 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.1157, allocations: 0.5309 MB / 288.4 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006457/0.1221, allocations: 3.36 MB / 291.7 MB, free: 8.043 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.1229, allocations: 231.7 kB / 291.9 MB, free: 7.809 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.123, allocations: 11.92 kB / 292 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.123, allocations: 38.5 kB / 292 MB, free: 7.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=25): time 3.016e-06/0.123, allocations: 0 / 292 MB, free: 7.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.003156/0.1262, allocations: 1.065 MB / 293.1 MB, free: 6.613 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1263, allocations: 85.09 kB / 293.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.1276, allocations: 0.6801 MB / 293.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.1276, allocations: 29.7 kB / 293.9 MB, free: 5.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005001/0.1281, allocations: 0.4904 MB / 294.3 MB, free: 5.293 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.1283, allocations: 102.6 kB / 294.4 MB, free: 5.191 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1283, allocations: 12 kB / 294.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.1285, allocations: 378.8 kB / 294.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004651/0.129, allocations: 129.2 kB / 295 MB, free: 4.676 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007319/0.1298, allocations: 422.2 kB / 295.4 MB, free: 4.125 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.1304, allocations: 200.1 kB / 295.6 MB, free: 3.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.1304, allocations: 4 kB / 295.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001743/0.1322, allocations: 0.6147 MB / 296.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.1322, allocations: 8 kB / 296.2 MB, free: 3.293 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.1322, allocations: 15.98 kB / 296.2 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.1325, allocations: 37.2 kB / 296.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008356/0.1333, allocations: 143.7 kB / 296.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.1347, allocations: 1.288 MB / 297.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.1354, allocations: 39.89 kB / 297.7 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.1355, allocations: 31.94 kB / 297.7 MB, free: 1.605 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0005067/0.136, allocations: 245.8 kB / 298 MB, free: 1.355 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.1362, allocations: 75.14 kB / 298 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.1373, allocations: 333.5 kB / 298.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1373, allocations: 0 / 298.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.1373, allocations: 0 / 298.4 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003098/0.1376, allocations: 172.1 kB / 298.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.1378, allocations: 7.953 kB / 298.6 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.1383, allocations: 19.98 kB / 298.6 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.1384, allocations: 19.97 kB / 298.6 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001321/0.1397, allocations: 382.1 kB / 299 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2179/0.3577, allocations: 0.588 MB / 299.6 MB, free: 30.04 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003978/0.3581, allocations: 106.6 kB / 299.7 MB, free: 30.04 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0009331/0.3591, allocations: 461.1 kB / 300.1 MB, free: 29.95 MB / 250.7 MB Notification: Performance of Backend: time 5.41e-07/0.3591, allocations: 0 / 300.1 MB, free: 29.95 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.3606, allocations: 479 kB / 300.6 MB, free: 29.77 MB / 250.7 MB Notification: Performance of SimCode: time 0.003893/0.3645, allocations: 2.286 MB / 302.9 MB, free: 28.38 MB / 250.7 MB Notification: Performance of Templates: time 0.02777/0.3923, allocations: 7.285 MB / 310.1 MB, free: 26.3 MB / 250.7 MB