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_Cooling.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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 2.289/2.289, allocations: 194.9 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 8 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.0128/0.1137, allocations: 7.545 MB / 316.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00703/0.1208, allocations: 2.925 MB / 319.5 MB, free: 5.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.122, allocations: 23.94 kB / 319.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.1241, allocations: 497.5 kB / 320 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.1266, allocations: 0.6154 MB / 320.7 MB, free: 4.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1277, allocations: 231.6 kB / 320.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003067/0.1308, allocations: 1.23 MB / 322.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.132, allocations: 495.2 kB / 322.6 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.1329, allocations: 0.5176 MB / 323.1 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.134, allocations: 0.5794 MB / 323.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.1342, allocations: 79.94 kB / 323.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.1348, allocations: 120 kB / 323.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002752/0.1351, allocations: 223.1 kB / 324.1 MB, free: 1.242 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.1355, allocations: 309 kB / 324.4 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.1377, allocations: 1.433 MB / 325.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1378, allocations: 0 / 325.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.929e-06/0.1378, allocations: 0 / 325.8 MB, free: 15.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.8e-05/0.1378, allocations: 3.938 kB / 325.9 MB, free: 15.49 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.004397/0.1422, allocations: 1.52 MB / 327.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1423, allocations: 8.031 kB / 327.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/0.1431, allocations: 186.1 kB / 327.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/0.145, allocations: 0.7464 MB / 328.3 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.1452, allocations: 115.8 kB / 328.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.1455, allocations: 115.9 kB / 328.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003041/0.1485, allocations: 1.125 MB / 329.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.331e-05/0.1486, allocations: 7.953 kB / 329.7 MB, free: 11.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.1488, allocations: 51.94 kB / 329.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.916e-05/0.1488, allocations: 28 kB / 329.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002645/0.1515, allocations: 0.7652 MB / 330.5 MB, free: 10.62 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.008909/0.1604, allocations: 3.855 MB / 334.4 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.163, allocations: 0.6011 MB / 335 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-05/0.1631, allocations: 4.562 kB / 335 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.1641, allocations: 311 kB / 335.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 4.429e-06/0.1642, allocations: 3.938 kB / 335.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=65): time 0.007473/0.1716, allocations: 2.102 MB / 337.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002597/0.1719, allocations: 479.2 kB / 337.8 MB, free: 2.852 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.1739, allocations: 0.9905 MB / 338.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001075/0.174, allocations: 45.7 kB / 338.9 MB, free: 1.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/0.1748, allocations: 0.6271 MB / 339.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.1751, allocations: 236.7 kB / 339.7 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.1752, allocations: 20 kB / 339.8 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1754, allocations: 345.9 kB / 340.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009308/0.1763, allocations: 250.5 kB / 340.3 MB, free: 324 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.1777, allocations: 0.7091 MB / 341.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.179, allocations: 410.4 kB / 341.5 MB, free: 14.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.179, allocations: 8 kB / 341.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003327/0.1823, allocations: 1.142 MB / 342.6 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.1824, allocations: 59.41 kB / 342.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.1825, allocations: 12 kB / 342.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008961/0.1834, allocations: 173.8 kB / 342.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.1848, allocations: 211.7 kB / 343 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006528/0.1913, allocations: 3.607 MB / 346.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.1932, allocations: 80.12 kB / 346.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.1933, allocations: 48 kB / 346.8 MB, free: 9.344 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007437/0.1941, allocations: 293.5 kB / 347.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.1944, allocations: 126.4 kB / 347.2 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/0.1969, allocations: 0.7152 MB / 347.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002359/0.1993, allocations: 0.9763 MB / 348.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.1994, allocations: 0 / 348.9 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.2001, allocations: 231.6 kB / 349.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.2004, allocations: 16 kB / 349.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.2015, allocations: 47.88 kB / 349.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.2017, allocations: 48.44 kB / 349.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003565/0.2053, allocations: 0.7813 MB / 350 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003242/0.2086, allocations: 1.04 MB / 351 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008017/0.2094, allocations: 220.4 kB / 351.3 MB, free: 4.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001442/0.2109, allocations: 0.6618 MB / 351.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of Backend: time 8.42e-07/0.2109, allocations: 0 / 351.9 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003426/0.2144, allocations: 1.036 MB / 353 MB, free: 2.93 MB / 298.7 MB Notification: Performance of SimCode: time 0.007545/0.222, allocations: 3.368 MB / 356.3 MB, free: 15.5 MB / 314.7 MB Notification: Performance of Templates: time 0.04756/0.2696, allocations: 15.06 MB / 371.4 MB, free: 0.4961 MB / 314.7 MB