Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001505/0.001505, allocations: 157.7 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.193/1.193, allocations: 170.7 MB / 178.7 MB, free: 6.977 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 105.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.534e-05, allocations: 4 kB / 262.2 MB, free: 3.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2142, allocations: 38.76 MB / 301 MB, free: 39.09 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1018/0.316, allocations: 88.58 MB / 389.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.3163, allocations: 79.95 kB / 389.6 MB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07941/0.3958, allocations: 29.94 MB / 419.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3958, allocations: 0 / 419.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000107/0.3959, allocations: 24 kB / 419.6 MB, free: 8.961 MB / 330.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.003101/0.399, allocations: 1.356 MB / 421 MB, free: 7.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3991, allocations: 12.03 kB / 421 MB, free: 7.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.3999, allocations: 198.1 kB / 421.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/0.4019, allocations: 0.8322 MB / 422 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.402, allocations: 83.83 kB / 422.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.4022, allocations: 64 kB / 422.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001382/0.4036, allocations: 0.6368 MB / 422.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.4054, allocations: 0.9276 MB / 423.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.907e-05/0.4054, allocations: 15.89 kB / 423.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.4055, allocations: 0 / 423.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/0.4056, allocations: 24 kB / 423.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.4117, allocations: 3.709 MB / 427.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.413, allocations: 0.5139 MB / 428 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1882/0.6013, allocations: 214.7 kB / 428.2 MB, free: 86.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.6014, allocations: 9.391 kB / 428.2 MB, free: 86.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006695/0.6021, allocations: 252 kB / 428.4 MB, free: 86.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 4.047e-06/0.6021, allocations: 0 / 428.4 MB, free: 86.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.002855/0.605, allocations: 1.392 MB / 429.8 MB, free: 86.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.6051, allocations: 478 kB / 430.3 MB, free: 85.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.6062, allocations: 0.7283 MB / 431 MB, free: 85.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.166e-05/0.6062, allocations: 29.64 kB / 431 MB, free: 85.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.6068, allocations: 0.6487 MB / 431.7 MB, free: 85.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.6069, allocations: 223.6 kB / 431.9 MB, free: 85.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.607, allocations: 2.969 kB / 431.9 MB, free: 85.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.6071, allocations: 350.7 kB / 432.3 MB, free: 84.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.6075, allocations: 197.5 kB / 432.4 MB, free: 84.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.6081, allocations: 0.6427 MB / 433.1 MB, free: 84.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.6086, allocations: 305.7 kB / 433.4 MB, free: 84.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.6086, allocations: 2.844 kB / 433.4 MB, free: 84.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001694/0.6103, allocations: 0.9474 MB / 434.3 MB, free: 84.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.402e-05/0.6104, allocations: 63.72 kB / 434.4 MB, free: 84.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.6104, allocations: 11.41 kB / 434.4 MB, free: 84.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/0.6111, allocations: 184.8 kB / 434.6 MB, free: 84.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.6118, allocations: 215.1 kB / 434.8 MB, free: 84.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003474/0.6153, allocations: 3.399 MB / 438.2 MB, free: 81.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.6161, allocations: 60.81 kB / 438.3 MB, free: 81.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.6162, allocations: 50.83 kB / 438.3 MB, free: 81.65 MB / 330.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * 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: 2 {(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.6164, allocations: 155.6 kB / 438.5 MB, free: 81.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6165, allocations: 104.7 kB / 438.6 MB, free: 81.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.6178, allocations: 0.6169 MB / 439.2 MB, free: 81.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.6178, allocations: 9.438 kB / 439.2 MB, free: 81.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6178, allocations: 3.469 kB / 439.2 MB, free: 81.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/0.6189, allocations: 0.8789 MB / 440.1 MB, free: 80.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.6217, allocations: 1.587 MB / 441.7 MB, free: 80.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6217, allocations: 2.906 kB / 441.7 MB, free: 80.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.6222, allocations: 110.3 kB / 441.8 MB, free: 80.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.6227, allocations: 134.8 kB / 441.9 MB, free: 80.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-05/0.6227, allocations: 9.25 kB / 441.9 MB, free: 80.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002483/0.6252, allocations: 3.145 MB / 445.1 MB, free: 77.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.6252, allocations: 4.406 kB / 445.1 MB, free: 77.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.6267, allocations: 1.034 MB / 446.1 MB, free: 77.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/0.6271, allocations: 232.7 kB / 446.3 MB, free: 77.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.6272, allocations: 6.375 kB / 446.3 MB, free: 77.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/0.6277, allocations: 38.45 kB / 446.4 MB, free: 77.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6279, allocations: 59.45 kB / 446.4 MB, free: 77.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.6279, allocations: 16 kB / 446.4 MB, free: 77.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007545/0.6287, allocations: 0.5353 MB / 447 MB, free: 77.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6287, allocations: 3.25 kB / 447 MB, free: 77.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001357/0.63, allocations: 290.5 kB / 447.3 MB, free: 77.29 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004756/0.6305, allocations: 311.4 kB / 447.6 MB, free: 77.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001734/0.6323, allocations: 0.9655 MB / 448.5 MB, free: 76.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6323, allocations: 2.188 kB / 448.5 MB, free: 76.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.6329, allocations: 0.4946 MB / 449 MB, free: 76.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.634, allocations: 237.2 kB / 449.3 MB, free: 76.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.6369, allocations: 1.583 MB / 450.8 MB, free: 75.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.6374, allocations: 1.105 MB / 451.9 MB, free: 75.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005761/0.638, allocations: 127 kB / 452.1 MB, free: 75.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.6382, allocations: 71.33 kB / 452.1 MB, free: 75.09 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6382, allocations: 0 / 452.1 MB, free: 75.09 MB / 330.7 MB Notification: Performance of Templates: time 0.02239/0.6606, allocations: 14.13 MB / 466.3 MB, free: 74.06 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1)