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 1.02/1.02, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001857/0.001857, allocations: 155.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.801e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0518/0.05183, allocations: 25.17 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05685/0.1087, allocations: 34.96 MB / 234 MB, free: 10.68 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/0.109, allocations: 63.97 kB / 234 MB, free: 10.62 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01163/0.1207, allocations: 3.958 MB / 238 MB, free: 6.652 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.1208, allocations: 4 kB / 238 MB, free: 6.648 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.1208, allocations: 4 kB / 238 MB, free: 6.645 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.0007087/0.1215, allocations: 477.5 kB / 238.5 MB, free: 6.133 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1216, allocations: 12.25 kB / 238.5 MB, free: 6.121 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.986e-05/0.1217, allocations: 23.72 kB / 238.5 MB, free: 6.098 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.122, allocations: 238.9 kB / 238.7 MB, free: 5.824 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1221, allocations: 7.938 kB / 238.8 MB, free: 5.816 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.1221, allocations: 8 kB / 238.8 MB, free: 5.809 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002881/0.1224, allocations: 125 kB / 238.9 MB, free: 5.688 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.1227, allocations: 159.8 kB / 239 MB, free: 5.527 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1227, allocations: 0 / 239 MB, free: 5.527 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.1227, allocations: 0 / 239 MB, free: 5.527 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1227, allocations: 4 kB / 239 MB, free: 5.523 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1238, allocations: 0.5478 MB / 239.6 MB, free: 4.934 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1241, allocations: 158.6 kB / 239.7 MB, free: 4.77 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.1242, allocations: 92.78 kB / 239.8 MB, free: 4.676 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.1244, allocations: 81.09 kB / 239.9 MB, free: 4.578 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.1244, allocations: 38.56 kB / 240 MB, free: 4.531 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.813e-06/0.1244, allocations: 0 / 240 MB, free: 4.531 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004697/0.1249, allocations: 213 kB / 240.2 MB, free: 4.32 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.1249, allocations: 55.41 kB / 240.2 MB, free: 4.254 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.1251, allocations: 173.9 kB / 240.4 MB, free: 4.07 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1251, allocations: 25.7 kB / 240.4 MB, free: 4.039 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.112e-05/0.1252, allocations: 144.2 kB / 240.5 MB, free: 3.895 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.1253, allocations: 51.2 kB / 240.6 MB, free: 3.844 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.1253, allocations: 4 kB / 240.6 MB, free: 3.84 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1254, allocations: 326.8 kB / 240.9 MB, free: 3.512 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1256, allocations: 67.97 kB / 241 MB, free: 3.445 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1257, allocations: 86.67 kB / 241.1 MB, free: 3.352 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.1259, allocations: 77.77 kB / 241.1 MB, free: 3.277 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1259, allocations: 0 / 241.1 MB, free: 3.277 MB / 186.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000366/0.1262, allocations: 225.2 kB / 241.4 MB, free: 3.055 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1263, allocations: 4 kB / 241.4 MB, free: 3.051 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1263, allocations: 4 kB / 241.4 MB, free: 3.047 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1263, allocations: 0 / 241.4 MB, free: 3.047 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1265, allocations: 47.94 kB / 241.4 MB, free: 3 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.1265, allocations: 0 / 241.4 MB, free: 3 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1267, allocations: 19.83 kB / 241.4 MB, free: 2.98 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.1267, allocations: 16.06 kB / 241.5 MB, free: 2.965 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 8.608e-05/0.1268, allocations: 104.9 kB / 241.6 MB, free: 2.855 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.1268, allocations: 23.8 kB / 241.6 MB, free: 2.832 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.1273, allocations: 236.1 kB / 241.8 MB, free: 2.598 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1273, allocations: 4 kB / 241.8 MB, free: 2.594 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1273, allocations: 7.875 kB / 241.8 MB, free: 2.586 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1273, allocations: 0 / 241.8 MB, free: 2.586 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.1276, allocations: 250 kB / 242.1 MB, free: 2.305 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1276, allocations: 4 kB / 242.1 MB, free: 2.301 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.1278, allocations: 31.98 kB / 242.1 MB, free: 2.27 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1278, allocations: 0 / 242.1 MB, free: 2.27 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.1278, allocations: 4 kB / 242.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1279, allocations: 3.984 kB / 242.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1279, allocations: 0 / 242.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.1284, allocations: 412.6 kB / 242.5 MB, free: 1.844 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.17e-05/0.1285, allocations: 104.8 kB / 242.6 MB, free: 1.723 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.1286, allocations: 4.062 kB / 242.6 MB, free: 1.719 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.1287, allocations: 7.984 kB / 242.6 MB, free: 1.711 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/0.1287, allocations: 11.98 kB / 242.6 MB, free: 1.699 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1287, allocations: 4 kB / 242.6 MB, free: 1.695 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1288, allocations: 144.2 kB / 242.8 MB, free: 1.555 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1289, allocations: 0 / 242.8 MB, free: 1.555 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.1292, allocations: 71.77 kB / 242.9 MB, free: 1.484 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.0003894/0.1296, allocations: 171.8 kB / 243 MB, free: 1.309 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1299, allocations: 143.9 kB / 243.2 MB, free: 1.168 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1299, allocations: 4 kB / 243.2 MB, free: 1.164 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.13, allocations: 76.27 kB / 243.2 MB, free: 1.09 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.1305, allocations: 51.84 kB / 243.3 MB, free: 1.043 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1316, allocations: 433.5 kB / 243.7 MB, free: 0.5938 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1234/0.255, allocations: 0.749 MB / 244.5 MB, free: 42.39 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.2552, allocations: 21.81 kB / 244.5 MB, free: 42.39 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.2553, allocations: 18.09 kB / 244.5 MB, free: 42.38 MB / 186.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2553, allocations: 1.656 kB / 244.5 MB, free: 42.38 MB / 186.7 MB Notification: Performance of Templates: time 0.006031/0.2613, allocations: 2.069 MB / 246.6 MB, free: 42.29 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)