Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.91 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2209, allocations: 50.54 MB / 410 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009937/0.2308, allocations: 9.605 MB / 419.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004884/0.2358, allocations: 3.146 MB / 422.7 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000745/0.2365, allocations: 27.94 kB / 422.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.2379, allocations: 0.586 MB / 423.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.239, allocations: 0.558 MB / 423.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.2396, allocations: 311.5 kB / 424.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.2412, allocations: 1.774 MB / 426 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007814/0.242, allocations: 0.6336 MB / 426.6 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007348/0.2427, allocations: 0.681 MB / 427.3 MB, free: 104 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007491/0.2435, allocations: 0.7428 MB / 428 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.2437, allocations: 160 kB / 428.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.244, allocations: 192 kB / 428.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.2443, allocations: 338.8 kB / 428.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006891/0.245, allocations: 0.8009 MB / 429.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.2467, allocations: 1.982 MB / 431.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2467, allocations: 4 kB / 431.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2467, allocations: 3.938 kB / 431.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.615e-05/0.2467, allocations: 0 / 431.5 MB, free: 11.88 MB / 350.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.002902/0.2496, allocations: 1.804 MB / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2497, allocations: 8.031 kB / 433.3 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.2502, allocations: 199 kB / 433.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.2515, allocations: 0.8328 MB / 434.3 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.2517, allocations: 108.4 kB / 434.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.2518, allocations: 124 kB / 434.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.2536, allocations: 1.142 MB / 435.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.2536, allocations: 0 / 435.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.2538, allocations: 48 kB / 435.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.2538, allocations: 28 kB / 435.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.2553, allocations: 0.7613 MB / 436.5 MB, free: 6.621 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.005233/0.2605, allocations: 3.899 MB / 440.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2621, allocations: 0.5862 MB / 441 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.2626, allocations: 266.9 kB / 441.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.2626, allocations: 12.55 kB / 441.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.2632, allocations: 299 kB / 441.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.284e-06/0.2632, allocations: 0 / 441.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.00436/0.2676, allocations: 2.081 MB / 443.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/0.2678, allocations: 475.2 kB / 444.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.2692, allocations: 1.101 MB / 445.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.2692, allocations: 45.64 kB / 445.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.2697, allocations: 0.6466 MB / 445.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.2699, allocations: 228.8 kB / 446.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.2701, allocations: 206.6 kB / 446.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.2703, allocations: 341.9 kB / 446.7 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.2708, allocations: 250.4 kB / 446.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.2717, allocations: 0.7092 MB / 447.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.273, allocations: 0.9414 MB / 448.6 MB, free: 9.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.273, allocations: 4 kB / 448.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001962/0.275, allocations: 1.145 MB / 449.7 MB, free: 8.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.275, allocations: 67.39 kB / 449.8 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2751, allocations: 12 kB / 449.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.2756, allocations: 165.8 kB / 450 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.2763, allocations: 207.6 kB / 450.2 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004122/0.2805, allocations: 3.885 MB / 454 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008902/0.2814, allocations: 71.89 kB / 454.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.2815, allocations: 51.94 kB / 454.2 MB, free: 3.809 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.0004281/0.2819, allocations: 289.6 kB / 454.4 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.2821, allocations: 126.5 kB / 454.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.2835, allocations: 0.7076 MB / 455.3 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/0.2849, allocations: 0.9529 MB / 456.2 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2849, allocations: 0 / 456.2 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.2853, allocations: 251.5 kB / 456.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.2854, allocations: 16 kB / 456.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.286, allocations: 43.89 kB / 456.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2861, allocations: 44.44 kB / 456.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001827/0.2879, allocations: 0.7538 MB / 457.3 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001761/0.2897, allocations: 1.015 MB / 458.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004343/0.2902, allocations: 228.3 kB / 458.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009918/0.2912, allocations: 0.7406 MB / 459.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Backend: time 5.61e-07/0.2912, allocations: 0 / 459.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.2934, allocations: 1.057 MB / 460.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 0.004078/0.2975, allocations: 2.942 MB / 463.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Templates: time 0.03134/0.3288, allocations: 18.2 MB / 481.5 MB, free: 8.367 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1)