Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003578, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07985/0.08024, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009401/0.08969, allocations: 6.34 MB / 314.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.0953, allocations: 2.489 MB / 317.2 MB, free: 8.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.09647, allocations: 23.94 kB / 317.2 MB, free: 8.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.09821, allocations: 445.9 kB / 317.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.1001, allocations: 466.6 kB / 318.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007091/0.1008, allocations: 143.9 kB / 318.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002098/0.103, allocations: 0.8895 MB / 319.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000847/0.1038, allocations: 396 kB / 319.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.1045, allocations: 370.5 kB / 319.9 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.1052, allocations: 426 kB / 320.3 MB, free: 5.016 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.1054, allocations: 56 kB / 320.4 MB, free: 4.961 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.1057, allocations: 91.91 kB / 320.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.1059, allocations: 151.4 kB / 320.6 MB, free: 4.723 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002895/0.1062, allocations: 225.1 kB / 320.8 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.1077, allocations: 1.106 MB / 321.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.494e-06/0.1078, allocations: 0 / 321.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.118e-06/0.1078, allocations: 0 / 321.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.1078, allocations: 4 kB / 321.9 MB, free: 3.383 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00239/0.1102, allocations: 1.141 MB / 323.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1103, allocations: 8.031 kB / 323.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.1108, allocations: 134.7 kB / 323.2 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.1122, allocations: 0.6133 MB / 323.8 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.1123, allocations: 62 kB / 323.9 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.1124, allocations: 95.84 kB / 324 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.1144, allocations: 0.8145 MB / 324.8 MB, free: 404 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.283e-05/0.1145, allocations: 7.922 kB / 324.8 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/0.1146, allocations: 36 kB / 324.8 MB, free: 360 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1146, allocations: 24 kB / 324.9 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001595/0.1162, allocations: 0.5544 MB / 325.4 MB, free: 15.77 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006561/0.1228, allocations: 3.442 MB / 328.9 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007255/0.1236, allocations: 246.7 kB / 329.1 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1236, allocations: 7.984 kB / 329.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.1237, allocations: 34.56 kB / 329.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 3.557e-06/0.1237, allocations: 0 / 329.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.002941/0.1267, allocations: 1.11 MB / 330.2 MB, free: 10.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.1268, allocations: 81.11 kB / 330.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.128, allocations: 0.7154 MB / 331 MB, free: 9.809 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.1281, allocations: 29.7 kB / 331.1 MB, free: 9.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000488/0.1286, allocations: 0.5356 MB / 331.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.1288, allocations: 106.5 kB / 331.7 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1288, allocations: 12 kB / 331.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.129, allocations: 334.8 kB / 332 MB, free: 8.781 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.1294, allocations: 133.2 kB / 332.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.1301, allocations: 454.2 kB / 332.6 MB, free: 8.055 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.1307, allocations: 212.1 kB / 332.8 MB, free: 7.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.1308, allocations: 4 kB / 332.8 MB, free: 7.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001573/0.1323, allocations: 0.604 MB / 333.4 MB, free: 7.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.1324, allocations: 16 kB / 333.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.142e-05/0.1324, allocations: 11.94 kB / 333.5 MB, free: 7.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.1327, allocations: 40.84 kB / 333.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.1333, allocations: 151.7 kB / 333.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/0.1348, allocations: 1.288 MB / 334.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007184/0.1355, allocations: 52.12 kB / 335 MB, free: 5.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.1356, allocations: 32 kB / 335 MB, free: 5.512 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.000519/0.1362, allocations: 241.5 kB / 335.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.1363, allocations: 75.06 kB / 335.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.1373, allocations: 349.9 kB / 335.7 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.703e-06/0.1373, allocations: 4 kB / 335.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-06/0.1374, allocations: 0 / 335.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.184e-06/0.1374, allocations: 0 / 335.7 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.1399, allocations: 1.118 MB / 336.8 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.1399, allocations: 7.938 kB / 336.8 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.1403, allocations: 63.91 kB / 336.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001432/0.1405, allocations: 33.09 kB / 336.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.1405, allocations: 8 kB / 336.9 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.1419, allocations: 1.276 MB / 338.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.045e-06/0.142, allocations: 0 / 338.2 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.1434, allocations: 0.5883 MB / 338.8 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.1437, allocations: 172.2 kB / 338.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.1439, allocations: 8 kB / 338.9 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/0.1443, allocations: 27.97 kB / 339 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.1444, allocations: 23.97 kB / 339 MB, free: 1.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.1445, allocations: 8 kB / 339 MB, free: 1.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008932/0.1454, allocations: 490.9 kB / 339.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.1454, allocations: 0 / 339.5 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009934/0.1464, allocations: 168 kB / 339.6 MB, free: 0.5938 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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 Backend phase and start with SimCode phase: time 0.0002496/0.1467, allocations: 119.2 kB / 339.8 MB, free: 480 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.148, allocations: 492.6 kB / 340.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.975e-06/0.148, allocations: 8.062 kB / 340.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005815/0.1486, allocations: 246.5 kB / 340.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.1499, allocations: 175.8 kB / 340.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003719/0.1536, allocations: 1.826 MB / 342.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.1545, allocations: 0.9723 MB / 343.5 MB, free: 12.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.1547, allocations: 51.44 kB / 343.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of SimCode: time 1.656e-06/0.1548, allocations: 0 / 343.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Templates: time 0.02413/0.1789, allocations: 12.99 MB / 356.5 MB, free: 15.64 MB / 314.7 MB