Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1440000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.279/1.279, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 106.4 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/0.09326, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.3527, allocations: 74.52 MB / 429.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.3532, allocations: 76.8 kB / 429.6 MB, free: 15 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableValueNoDer. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.3662, allocations: 5.219 MB / 434.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3662, allocations: 0 / 434.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.3662, allocations: 9.781 kB / 434.9 MB, free: 10.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007108/0.3669, allocations: 0.572 MB / 435.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.367, allocations: 8.031 kB / 435.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3672, allocations: 31.7 kB / 435.5 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.3675, allocations: 251 kB / 435.7 MB, free: 9.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.3676, allocations: 15 kB / 435.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.3676, allocations: 19.31 kB / 435.8 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.3679, allocations: 166.4 kB / 435.9 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3679, allocations: 4 kB / 435.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3679, allocations: 3.062 kB / 435.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3679, allocations: 4 kB / 435.9 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.3681, allocations: 123.2 kB / 436.1 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007926/0.3689, allocations: 0.6098 MB / 436.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.3692, allocations: 163.8 kB / 436.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3692, allocations: 8 kB / 436.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.3694, allocations: 123.9 kB / 437 MB, free: 8.719 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.3694, allocations: 0 / 437 MB, free: 8.719 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004319/0.3699, allocations: 238.5 kB / 437.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3699, allocations: 55.41 kB / 437.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.3701, allocations: 230.3 kB / 437.5 MB, free: 8.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.3701, allocations: 29.7 kB / 437.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3702, allocations: 144.3 kB / 437.6 MB, free: 8.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.301e-05/0.3702, allocations: 73.94 kB / 437.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.3703, allocations: 3.812 kB / 437.7 MB, free: 8.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.3703, allocations: 333.4 kB / 438 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3705, allocations: 69.8 kB / 438.1 MB, free: 7.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3706, allocations: 101.5 kB / 438.2 MB, free: 7.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.3707, allocations: 118.8 kB / 438.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3707, allocations: 0 / 438.3 MB, free: 7.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003599/0.3711, allocations: 289 kB / 438.6 MB, free: 7.285 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3712, allocations: 33.7 kB / 438.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3712, allocations: 0 / 438.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3712, allocations: 4 kB / 438.6 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3714, allocations: 51.84 kB / 438.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3714, allocations: 5.219 kB / 438.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.3715, allocations: 23.83 kB / 438.7 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3716, allocations: 13.19 kB / 438.7 MB, free: 7.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.3717, allocations: 146.2 kB / 438.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.3717, allocations: 27.66 kB / 438.9 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.3721, allocations: 217.4 kB / 439.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3721, allocations: 4 kB / 439.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3721, allocations: 0.5625 kB / 439.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3721, allocations: 3.938 kB / 439.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.3724, allocations: 294.7 kB / 439.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3724, allocations: 0 / 439.4 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.3726, allocations: 39.92 kB / 439.5 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3726, allocations: 3.984 kB / 439.5 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.3727, allocations: 14.45 kB / 439.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3727, allocations: 0 / 439.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3727, allocations: 0 / 439.5 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004302/0.3731, allocations: 316.2 kB / 439.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.391e-05/0.3732, allocations: 121.9 kB / 439.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.3733, allocations: 3.375 kB / 439.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.3734, allocations: 7.953 kB / 439.9 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.3734, allocations: 22.91 kB / 439.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3735, allocations: 4 kB / 439.9 MB, free: 6.082 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.3736, allocations: 186.7 kB / 440.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3736, allocations: 4.062 kB / 440.1 MB, free: 5.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000294/0.3739, allocations: 76.3 kB / 440.2 MB, free: 5.863 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009071/0.3748, allocations: 396.1 kB / 440.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.3752, allocations: 254.8 kB / 440.8 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3752, allocations: 0 / 440.8 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3753, allocations: 80.72 kB / 440.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.3756, allocations: 37.3 kB / 440.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.3765, allocations: 0.6646 MB / 441.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.3768, allocations: 0.7518 MB / 442.4 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.3769, allocations: 31.25 kB / 442.4 MB, free: 3.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/0.3769, allocations: 29.98 kB / 442.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3769, allocations: 0 / 442.4 MB, free: 3.766 MB / 314.7 MB Notification: Performance of Templates: time 0.005396/0.3824, allocations: 2.652 MB / 445.1 MB, free: 1.148 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)