Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor") translateModel(Modelica.Thermal.HeatTransfer.Examples.Motor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8093/0.8093, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.0017/0.0017, allocations: 151.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.444e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0578/0.05784, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06413/0.122, allocations: 35.62 MB / 241 MB, free: 4.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.1223, allocations: 63.97 kB / 241.1 MB, free: 4.688 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01106/0.1334, allocations: 3.998 MB / 245.1 MB, free: 0.6797 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1335, allocations: 0 / 245.1 MB, free: 0.6797 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.1335, allocations: 4.219 kB / 245.1 MB, free: 0.6758 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006826/0.1342, allocations: 475 kB / 245.5 MB, free: 168 kB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.1343, allocations: 12.03 kB / 245.5 MB, free: 156 kB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.1344, allocations: 27.72 kB / 245.6 MB, free: 128 kB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1664/0.3007, allocations: 229 kB / 245.8 MB, free: 41.09 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.3009, allocations: 12.8 kB / 245.8 MB, free: 41.09 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.301, allocations: 16.27 kB / 245.8 MB, free: 41.09 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005636/0.3016, allocations: 166.8 kB / 246 MB, free: 41.05 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.3016, allocations: 2.688 kB / 246 MB, free: 41.05 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.3016, allocations: 6.219 kB / 246 MB, free: 41.05 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.3016, allocations: 8.172 kB / 246 MB, free: 41.05 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.302, allocations: 140.1 kB / 246.1 MB, free: 41.05 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.3031, allocations: 0.5807 MB / 246.7 MB, free: 40.76 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3035, allocations: 170.3 kB / 246.9 MB, free: 40.74 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3036, allocations: 94.73 kB / 247 MB, free: 40.73 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.3037, allocations: 83.03 kB / 247.1 MB, free: 40.64 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3038, allocations: 38.34 kB / 247.1 MB, free: 40.6 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.944e-06/0.3038, allocations: 2.281 kB / 247.1 MB, free: 40.6 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004712/0.3043, allocations: 218.9 kB / 247.3 MB, free: 40.55 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3043, allocations: 54 kB / 247.4 MB, free: 40.49 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.3045, allocations: 194.9 kB / 247.6 MB, free: 40.39 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.3046, allocations: 30.39 kB / 247.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.786e-05/0.3047, allocations: 141.2 kB / 247.7 MB, free: 40.26 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.3047, allocations: 57.02 kB / 247.8 MB, free: 40.23 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.3048, allocations: 4.031 kB / 247.8 MB, free: 40.23 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.3049, allocations: 333.3 kB / 248.1 MB, free: 39.92 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.305, allocations: 69.09 kB / 248.2 MB, free: 39.92 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.3052, allocations: 91.78 kB / 248.3 MB, free: 39.89 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.3054, allocations: 80.7 kB / 248.3 MB, free: 39.89 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3054, allocations: 3.031 kB / 248.4 MB, free: 39.89 MB / 186.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004073/0.3058, allocations: 232.6 kB / 248.6 MB, free: 39.84 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.3058, allocations: 5.531 kB / 248.6 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.3058, allocations: 0 / 248.6 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.3059, allocations: 1.531 kB / 248.6 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/0.3061, allocations: 43.7 kB / 248.6 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.3061, allocations: 6.391 kB / 248.6 MB, free: 39.84 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.3063, allocations: 28.94 kB / 248.7 MB, free: 39.83 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.3063, allocations: 9.906 kB / 248.7 MB, free: 39.83 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (lossTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001328/0.3065, allocations: 114.5 kB / 248.8 MB, free: 39.72 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.3065, allocations: 18.64 kB / 248.8 MB, free: 39.71 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005166/0.307, allocations: 250.5 kB / 249 MB, free: 39.67 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3071, allocations: 3.391 kB / 249.1 MB, free: 39.67 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3071, allocations: 4.125 kB / 249.1 MB, free: 39.67 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3071, allocations: 1.125 kB / 249.1 MB, free: 39.67 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.3075, allocations: 286.9 kB / 249.3 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3075, allocations: 2.719 kB / 249.3 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001907/0.3077, allocations: 38.11 kB / 249.4 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.3077, allocations: 1.312 kB / 249.4 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3077, allocations: 6.109 kB / 249.4 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3077, allocations: 3.781 kB / 249.4 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3077, allocations: 0 / 249.4 MB, free: 39.47 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.3083, allocations: 426.7 kB / 249.8 MB, free: 39.25 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.3084, allocations: 100.1 kB / 249.9 MB, free: 39.14 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.3085, allocations: 5.156 kB / 249.9 MB, free: 39.14 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3086, allocations: 9.281 kB / 249.9 MB, free: 39.13 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3086, allocations: 13.09 kB / 249.9 MB, free: 39.13 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3087, allocations: 7.625 kB / 249.9 MB, free: 39.13 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.3089, allocations: 161.8 kB / 250.1 MB, free: 39.03 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3089, allocations: 0 / 250.1 MB, free: 39.03 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.3092, allocations: 70.42 kB / 250.2 MB, free: 39.02 MB / 186.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: 1 (lossTable.tableID) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004885/0.3097, allocations: 176.7 kB / 250.3 MB, free: 38.89 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003204/0.3101, allocations: 153.6 kB / 250.5 MB, free: 38.85 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3101, allocations: 0 / 250.5 MB, free: 38.85 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3102, allocations: 81.62 kB / 250.6 MB, free: 38.82 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3107, allocations: 57.56 kB / 250.6 MB, free: 38.81 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.312, allocations: 461.8 kB / 251.1 MB, free: 38.57 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3123, allocations: 0.7493 MB / 251.8 MB, free: 37.87 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3124, allocations: 27.45 kB / 251.8 MB, free: 37.87 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.3124, allocations: 18.44 kB / 251.9 MB, free: 37.86 MB / 186.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3124, allocations: 0 / 251.9 MB, free: 37.86 MB / 186.7 MB Notification: Performance of Templates: time 0.007051/0.3195, allocations: 2.33 MB / 254.2 MB, free: 37.64 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.makefile (rm -f Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe >> ../files/Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.sim & ./Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.HeatTransfer.Examples.Motor.pipe 2>&1)