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_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadModel(Modelica): time 1.659/1.659, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004775, allocations: 12 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 38.76 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01106/0.1206, allocations: 6.339 MB / 279 MB, free: 5.156 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.1271, allocations: 2.473 MB / 281.4 MB, free: 2.68 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.1287, allocations: 23.94 kB / 281.5 MB, free: 2.656 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.132, allocations: 441.9 kB / 281.9 MB, free: 2.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003246/0.1353, allocations: 478.6 kB / 282.4 MB, free: 1.754 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1365, allocations: 135.9 kB / 282.5 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.1402, allocations: 0.8974 MB / 283.4 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.1416, allocations: 400 kB / 283.8 MB, free: 328 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1428, allocations: 362.6 kB / 284.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.1442, allocations: 410.1 kB / 284.5 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.1446, allocations: 52 kB / 284.6 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007524/0.1454, allocations: 91.97 kB / 284.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002598/0.1457, allocations: 151.4 kB / 284.8 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005279/0.1462, allocations: 225.1 kB / 285.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.1489, allocations: 1.091 MB / 286.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.149, allocations: 0 / 286.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.908e-06/0.149, allocations: 0 / 286.1 MB, free: 13.95 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.768e-05/0.1491, allocations: 0 / 286.1 MB, free: 13.95 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004595/0.1537, allocations: 1.149 MB / 287.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.1538, allocations: 8.031 kB / 287.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009469/0.1548, allocations: 134.6 kB / 287.4 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.1571, allocations: 0.6134 MB / 288 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1573, allocations: 62 kB / 288.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.1576, allocations: 95.84 kB / 288.2 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/0.1611, allocations: 0.8067 MB / 289 MB, free: 10.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.08e-05/0.1612, allocations: 11.98 kB / 289 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.1614, allocations: 28 kB / 289 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.1614, allocations: 24 kB / 289.1 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.1644, allocations: 0.5466 MB / 289.6 MB, free: 10.36 MB / 250.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.01076/0.1752, allocations: 3.468 MB / 293.1 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.1765, allocations: 242.7 kB / 293.3 MB, free: 6.422 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.637e-05/0.1766, allocations: 4 kB / 293.3 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.1767, allocations: 38.56 kB / 293.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 5.28e-06/0.1767, allocations: 0 / 293.4 MB, free: 6.371 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.005288/0.182, allocations: 1.108 MB / 294.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.1822, allocations: 81.11 kB / 294.5 MB, free: 5.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.1843, allocations: 0.696 MB / 295.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.1844, allocations: 33.7 kB / 295.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007526/0.1852, allocations: 0.5136 MB / 295.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/0.1854, allocations: 114.5 kB / 295.9 MB, free: 3.715 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.1855, allocations: 16 kB / 295.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003081/0.1858, allocations: 378.8 kB / 296.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008683/0.1867, allocations: 129.2 kB / 296.4 MB, free: 3.195 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.188, allocations: 454.2 kB / 296.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.1892, allocations: 215.8 kB / 297.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.1892, allocations: 0 / 297.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003212/0.1924, allocations: 0.6502 MB / 297.7 MB, free: 1.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.1925, allocations: 17.39 kB / 297.7 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.5e-05/0.1926, allocations: 12 kB / 297.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.1929, allocations: 36.84 kB / 297.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.1945, allocations: 151.7 kB / 297.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.1966, allocations: 1.311 MB / 299.2 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.198, allocations: 44.14 kB / 299.3 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2505/0.4486, allocations: 32.27 kB / 299.3 MB, free: 29.87 MB / 250.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.0006422/0.4493, allocations: 241.6 kB / 299.6 MB, free: 29.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.4495, allocations: 75.06 kB / 299.6 MB, free: 29.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.4508, allocations: 347.4 kB / 300 MB, free: 29.7 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.4508, allocations: 5.062 kB / 300 MB, free: 29.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.4509, allocations: 0.8125 kB / 300 MB, free: 29.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000364/0.4512, allocations: 164.1 kB / 300.1 MB, free: 29.61 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.4514, allocations: 10.2 kB / 300.1 MB, free: 29.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.4519, allocations: 28.22 kB / 300.2 MB, free: 29.61 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.4521, allocations: 18.67 kB / 300.2 MB, free: 29.61 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001397/0.4535, allocations: 392.8 kB / 300.6 MB, free: 29.49 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001573/0.4551, allocations: 0.6037 MB / 301.2 MB, free: 29.28 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004081/0.4555, allocations: 111.1 kB / 301.3 MB, free: 29.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000954/0.4565, allocations: 480 kB / 301.8 MB, free: 29.18 MB / 250.7 MB Notification: Performance of Backend: time 7.51e-07/0.4565, allocations: 0 / 301.8 MB, free: 29.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.4581, allocations: 0.4905 MB / 302.2 MB, free: 28.96 MB / 250.7 MB Notification: Performance of SimCode: time 0.004376/0.4625, allocations: 2.331 MB / 304.6 MB, free: 27.41 MB / 250.7 MB Notification: Performance of Templates: time 0.02573/0.4883, allocations: 7.577 MB / 312.2 MB, free: 25.08 MB / 250.7 MB