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.DCMachines.DCPM_Temperature.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.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09685, allocations: 44.51 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01093/0.1078, allocations: 6.348 MB / 315.4 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.1137, allocations: 2.485 MB / 317.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009974/0.1147, allocations: 19.94 kB / 317.9 MB, free: 7.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.1165, allocations: 437.9 kB / 318.4 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.1181, allocations: 474.6 kB / 318.8 MB, free: 6.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.1186, allocations: 143.8 kB / 319 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.1205, allocations: 0.8779 MB / 319.8 MB, free: 5.547 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008047/0.1213, allocations: 408 kB / 320.2 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005732/0.1219, allocations: 358.6 kB / 320.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.1226, allocations: 414.1 kB / 321 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1227, allocations: 55.94 kB / 321 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.1231, allocations: 95.91 kB / 321.1 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1233, allocations: 151.4 kB / 321.3 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.1236, allocations: 229.1 kB / 321.5 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.1252, allocations: 1.079 MB / 322.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1252, allocations: 0 / 322.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1252, allocations: 4 kB / 322.6 MB, free: 2.754 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.1252, allocations: 4 kB / 322.6 MB, free: 2.75 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.002887/0.1281, allocations: 1.141 MB / 323.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1282, allocations: 8.031 kB / 323.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.1287, allocations: 134.7 kB / 323.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.1302, allocations: 0.6133 MB / 324.5 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.98e-05/0.1303, allocations: 69.94 kB / 324.6 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.1305, allocations: 80 kB / 324.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.133, allocations: 0.8145 MB / 325.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/0.1332, allocations: 11.89 kB / 325.5 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.1333, allocations: 32 kB / 325.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.905e-05/0.1334, allocations: 24 kB / 325.5 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.1355, allocations: 0.5466 MB / 326.1 MB, free: 15.16 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.00691/0.1425, allocations: 3.439 MB / 329.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.1434, allocations: 250.6 kB / 329.7 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.1434, allocations: 4 kB / 329.7 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.1435, allocations: 38.56 kB / 329.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.886e-06/0.1435, allocations: 0 / 329.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.003316/0.1468, allocations: 1.102 MB / 330.9 MB, free: 10.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1469, allocations: 81.11 kB / 331 MB, free: 9.922 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.1482, allocations: 0.6999 MB / 331.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1483, allocations: 29.7 kB / 331.7 MB, free: 9.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005203/0.1488, allocations: 0.5136 MB / 332.2 MB, free: 8.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.1489, allocations: 110.5 kB / 332.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.149, allocations: 16 kB / 332.3 MB, free: 8.535 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.1492, allocations: 382.8 kB / 332.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.1497, allocations: 129.2 kB / 332.8 MB, free: 8.027 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.1505, allocations: 454.2 kB / 333.3 MB, free: 7.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.1512, allocations: 216.1 kB / 333.5 MB, free: 7.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.1512, allocations: 4 kB / 333.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001839/0.153, allocations: 0.6532 MB / 334.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.1531, allocations: 16.91 kB / 334.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.1531, allocations: 8 kB / 334.2 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.1533, allocations: 40.84 kB / 334.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/0.1543, allocations: 155.7 kB / 334.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.1557, allocations: 1.295 MB / 335.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.1565, allocations: 39.89 kB / 335.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.1566, allocations: 40.19 kB / 335.7 MB, free: 4.828 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.0005136/0.1571, allocations: 241.5 kB / 336 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.1573, allocations: 75.06 kB / 336 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.1584, allocations: 349.9 kB / 336.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1584, allocations: 0 / 336.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1585, allocations: 0 / 336.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.1588, allocations: 168.2 kB / 336.6 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.1589, allocations: 4 kB / 336.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.1595, allocations: 35.92 kB / 336.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.599e-05/0.1596, allocations: 19.97 kB / 336.6 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001354/0.1609, allocations: 398 kB / 337 MB, free: 3.508 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001469/0.1624, allocations: 0.5999 MB / 337.6 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000393/0.1628, allocations: 112 kB / 337.7 MB, free: 2.781 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009313/0.1638, allocations: 475 kB / 338.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of Backend: time 8.92e-07/0.1638, allocations: 0 / 338.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.1654, allocations: 0.4969 MB / 338.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of SimCode: time 0.004911/0.1703, allocations: 2.339 MB / 341 MB, free: 15.42 MB / 298.7 MB Notification: Performance of Templates: time 0.02585/0.1962, allocations: 7.569 MB / 348.6 MB, free: 7.898 MB / 298.7 MB