Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") 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.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 107.5 kB / 18.4 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 187 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07266/0.07382, allocations: 46.61 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1577/0.2315, allocations: 9.537 MB / 385.4 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.236, allocations: 3.125 MB / 388.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008479/0.2369, allocations: 31.16 kB / 388.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.2382, allocations: 0.5757 MB / 389.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.2394, allocations: 0.5602 MB / 389.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000625/0.24, allocations: 324.7 kB / 390 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.2415, allocations: 1.755 MB / 391.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/0.2423, allocations: 0.6384 MB / 392.4 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.2431, allocations: 0.6714 MB / 393.1 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008602/0.244, allocations: 0.7409 MB / 393.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002032/0.2442, allocations: 157.4 kB / 394 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004005/0.2446, allocations: 200.9 kB / 394.1 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.2448, allocations: 332.4 kB / 394.5 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.2454, allocations: 0.812 MB / 395.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.2472, allocations: 1.981 MB / 397.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2472, allocations: 0 / 397.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2473, allocations: 1.469 kB / 397.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.2473, allocations: 0 / 397.3 MB, free: 2.109 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002878/0.2502, allocations: 1.791 MB / 399.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2502, allocations: 8.844 kB / 399.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.2508, allocations: 201.3 kB / 399.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.2522, allocations: 0.8371 MB / 400.1 MB, free: 276 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.2523, allocations: 115.2 kB / 400.2 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.2525, allocations: 112 kB / 400.3 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.2544, allocations: 1.146 MB / 401.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.2544, allocations: 9.188 kB / 401.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.2545, allocations: 49.52 kB / 401.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.2546, allocations: 27.03 kB / 401.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.2561, allocations: 0.7541 MB / 402.3 MB, free: 15.23 MB / 334.1 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.005724/0.2618, allocations: 3.917 MB / 406.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.2634, allocations: 0.5845 MB / 406.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004937/0.2639, allocations: 267.8 kB / 407.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.2639, allocations: 15.73 kB / 407.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.2645, allocations: 298.6 kB / 407.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.256e-06/0.2645, allocations: 0 / 407.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004731/0.2693, allocations: 2.071 MB / 409.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.2695, allocations: 480.4 kB / 409.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.2709, allocations: 1.104 MB / 411 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.271, allocations: 43.67 kB / 411.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.2715, allocations: 0.6449 MB / 411.7 MB, free: 8.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.2717, allocations: 235 kB / 411.9 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.2719, allocations: 191.5 kB / 412.1 MB, free: 8.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2721, allocations: 350.7 kB / 412.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/0.2726, allocations: 239.7 kB / 412.7 MB, free: 7.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.2735, allocations: 0.718 MB / 413.4 MB, free: 7.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.2748, allocations: 0.9328 MB / 414.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.2748, allocations: 3.344 kB / 414.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00199/0.2768, allocations: 1.157 MB / 415.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.2769, allocations: 67.16 kB / 415.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.2769, allocations: 12.5 kB / 415.6 MB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.2775, allocations: 169.3 kB / 415.8 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/0.2781, allocations: 205 kB / 416 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.2822, allocations: 3.879 MB / 419.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.2832, allocations: 71.42 kB / 419.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.2833, allocations: 46.72 kB / 420 MB, free: 1.785 MB / 334.1 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004798/0.2838, allocations: 291.8 kB / 420.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.284, allocations: 125.1 kB / 420.4 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.2854, allocations: 0.716 MB / 421.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001329/0.2868, allocations: 0.9555 MB / 422 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2868, allocations: 0 / 422 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000443/0.2872, allocations: 247.5 kB / 422.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.2874, allocations: 16 kB / 422.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006027/0.288, allocations: 43.89 kB / 422.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2881, allocations: 40.5 kB / 422.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001822/0.29, allocations: 0.7499 MB / 423.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001603/0.2916, allocations: 1.031 MB / 424.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004178/0.292, allocations: 216.4 kB / 424.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.293, allocations: 0.7445 MB / 425.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of Backend: time 6.41e-07/0.2931, allocations: 0 / 425.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.2953, allocations: 1.051 MB / 426.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 0.003733/0.299, allocations: 2.938 MB / 429.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of Templates: time 0.03095/0.33, allocations: 18.7 MB / 447.8 MB, free: 6.066 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1)