Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001555/0.001556, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001809/0.001809, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000972/0.000972, allocations: 47.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2206, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009997/0.2307, allocations: 9.59 MB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.2359, allocations: 3.115 MB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008901/0.2368, allocations: 27.94 kB / 414.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.2383, allocations: 0.6173 MB / 414.8 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2397, allocations: 0.5854 MB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.2404, allocations: 315.5 kB / 415.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001649/0.2421, allocations: 1.766 MB / 417.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007854/0.2429, allocations: 0.6414 MB / 418.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006608/0.2436, allocations: 0.681 MB / 418.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.2443, allocations: 0.7429 MB / 419.5 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.2445, allocations: 156 kB / 419.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.2449, allocations: 200 kB / 419.8 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.2452, allocations: 334.8 kB / 420.2 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.2458, allocations: 0.8048 MB / 421 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.2475, allocations: 1.982 MB / 423 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2475, allocations: 0 / 423 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2475, allocations: 0 / 423 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.2475, allocations: 4 kB / 423 MB, free: 3.219 MB / 334.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.002842/0.2504, allocations: 1.8 MB / 424.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2504, allocations: 11.89 kB / 424.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005387/0.251, allocations: 198.9 kB / 425 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.2522, allocations: 0.825 MB / 425.8 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.2523, allocations: 112.4 kB / 425.9 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.2525, allocations: 116 kB / 426 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.2543, allocations: 1.146 MB / 427.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.2543, allocations: 4 kB / 427.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/0.2545, allocations: 48 kB / 427.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.2545, allocations: 24 kB / 427.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.256, allocations: 0.7574 MB / 428 MB, free: 13.97 MB / 350.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.005095/0.2611, allocations: 3.914 MB / 431.9 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.2626, allocations: 0.5854 MB / 432.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.2631, allocations: 271.6 kB / 432.8 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.2632, allocations: 4.562 kB / 432.8 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005663/0.2637, allocations: 291.1 kB / 433.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.104e-06/0.2637, allocations: 0 / 433.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004301/0.268, allocations: 2.08 MB / 435.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.2682, allocations: 479.2 kB / 435.6 MB, free: 5.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.2696, allocations: 1.105 MB / 436.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.2696, allocations: 41.7 kB / 436.7 MB, free: 4.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000468/0.2701, allocations: 0.6466 MB / 437.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.2703, allocations: 228.7 kB / 437.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.2706, allocations: 202.7 kB / 437.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.2707, allocations: 345.9 kB / 438.2 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.2713, allocations: 250.5 kB / 438.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000839/0.2722, allocations: 0.7053 MB / 439.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.2735, allocations: 0.9414 MB / 440 MB, free: 1.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.2735, allocations: 7.938 kB / 440.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001944/0.2754, allocations: 1.141 MB / 441.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.2755, allocations: 71.39 kB / 441.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.2755, allocations: 12 kB / 441.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005214/0.2761, allocations: 165.2 kB / 441.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.2767, allocations: 207.6 kB / 441.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004089/0.2808, allocations: 3.877 MB / 445.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007857/0.2816, allocations: 63.81 kB / 445.6 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.2817, allocations: 47.98 kB / 445.6 MB, free: 11.17 MB / 366.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.0004078/0.2821, allocations: 299.4 kB / 445.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.2823, allocations: 122.5 kB / 446 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.2837, allocations: 0.7115 MB / 446.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001288/0.285, allocations: 0.9568 MB / 447.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.2851, allocations: 0 / 447.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.2854, allocations: 255.5 kB / 448 MB, free: 8.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2856, allocations: 12 kB / 448 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.2862, allocations: 39.91 kB / 448 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2863, allocations: 44.5 kB / 448 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00183/0.2881, allocations: 0.7455 MB / 448.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001676/0.2898, allocations: 1.023 MB / 449.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004373/0.2903, allocations: 232.3 kB / 450 MB, free: 6.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.2914, allocations: 0.7406 MB / 450.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of Backend: time 1.092e-06/0.2914, allocations: 0 / 450.8 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.2937, allocations: 1.045 MB / 451.8 MB, free: 4.719 MB / 366.1 MB Notification: Performance of SimCode: time 0.003983/0.2977, allocations: 2.947 MB / 454.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Templates: time 0.0284/0.3261, allocations: 18.18 MB / 473 MB, free: 15.77 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1)