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.6274/0.6274, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001625/0.001625, allocations: 146.7 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002377, allocations: 4 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1106, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0379/0.1485, allocations: 35.72 MB / 245.8 MB, free: 14.12 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.1488, allocations: 60.78 kB / 245.8 MB, free: 14.06 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01089/0.1597, allocations: 4.01 MB / 249.8 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1597, allocations: 0 / 249.8 MB, free: 10.08 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1597, allocations: 5.969 kB / 249.8 MB, free: 10.07 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.0007646/0.1605, allocations: 499.9 kB / 250.3 MB, free: 9.531 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1606, allocations: 8.031 kB / 250.3 MB, free: 9.523 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.1606, allocations: 23.72 kB / 250.4 MB, free: 9.5 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.161, allocations: 243.8 kB / 250.6 MB, free: 9.223 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.161, allocations: 12.33 kB / 250.6 MB, free: 9.211 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.1611, allocations: 16 kB / 250.6 MB, free: 9.195 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.1615, allocations: 172.6 kB / 250.8 MB, free: 9.023 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1616, allocations: 3.953 kB / 250.8 MB, free: 9.02 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.626e-05/0.1616, allocations: 8 kB / 250.8 MB, free: 9.012 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1616, allocations: 4 kB / 250.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.162, allocations: 144.1 kB / 251 MB, free: 8.867 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1632, allocations: 0.5783 MB / 251.5 MB, free: 8.234 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.1635, allocations: 175.2 kB / 251.7 MB, free: 8.055 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.1636, allocations: 81.11 kB / 251.8 MB, free: 7.957 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.1637, allocations: 42.52 kB / 251.8 MB, free: 7.906 MB / 186.7 MB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.1637, allocations: 0 / 251.8 MB, free: 7.906 MB / 186.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005545/0.1643, allocations: 283.5 kB / 252.1 MB, free: 7.625 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.1643, allocations: 63.3 kB / 252.2 MB, free: 7.551 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1645, allocations: 188.6 kB / 252.3 MB, free: 7.359 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1646, allocations: 31.3 kB / 252.4 MB, free: 7.324 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.642e-05/0.1647, allocations: 144.3 kB / 252.5 MB, free: 7.18 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.1647, allocations: 55.2 kB / 252.6 MB, free: 7.125 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-06/0.1648, allocations: 4 kB / 252.6 MB, free: 7.121 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1649, allocations: 330.8 kB / 252.9 MB, free: 6.789 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.165, allocations: 67.97 kB / 253 MB, free: 6.723 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1652, allocations: 90.72 kB / 253.1 MB, free: 6.625 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.1653, allocations: 72.91 kB / 253.1 MB, free: 6.555 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1653, allocations: 4 kB / 253.1 MB, free: 6.551 MB / 186.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003806/0.1657, allocations: 233.5 kB / 253.4 MB, free: 6.32 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1658, allocations: 4 kB / 253.4 MB, free: 6.316 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.1658, allocations: 4 kB / 253.4 MB, free: 6.312 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1658, allocations: 3.953 kB / 253.4 MB, free: 6.309 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1661, allocations: 55.89 kB / 253.4 MB, free: 6.254 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1661, allocations: 0 / 253.4 MB, free: 6.254 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1662, allocations: 25.22 kB / 253.4 MB, free: 6.23 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1662, allocations: 16.03 kB / 253.5 MB, free: 6.215 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 () * Number of clocked 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.0001333/0.1664, allocations: 143.5 kB / 253.6 MB, free: 6.07 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.1664, allocations: 23.8 kB / 253.6 MB, free: 6.047 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.1669, allocations: 251.3 kB / 253.9 MB, free: 5.797 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1669, allocations: 4 kB / 253.9 MB, free: 5.793 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1669, allocations: 0 / 253.9 MB, free: 5.793 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1669, allocations: 0 / 253.9 MB, free: 5.793 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.1673, allocations: 285.9 kB / 254.2 MB, free: 5.465 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1673, allocations: 4 kB / 254.2 MB, free: 5.461 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.1675, allocations: 39.92 kB / 254.2 MB, free: 5.422 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1675, allocations: 0 / 254.2 MB, free: 5.422 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1676, allocations: 9.984 kB / 254.2 MB, free: 5.414 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1676, allocations: 4 kB / 254.2 MB, free: 5.41 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1676, allocations: 0 / 254.2 MB, free: 5.41 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006212/0.1682, allocations: 427 kB / 254.6 MB, free: 4.977 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.1683, allocations: 92.89 kB / 254.7 MB, free: 4.867 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.1684, allocations: 12.06 kB / 254.7 MB, free: 4.855 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1685, allocations: 11.98 kB / 254.7 MB, free: 4.844 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.1685, allocations: 7.984 kB / 254.7 MB, free: 4.836 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1685, allocations: 4 kB / 254.8 MB, free: 4.832 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.1687, allocations: 160.4 kB / 254.9 MB, free: 4.676 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1687, allocations: 0 / 254.9 MB, free: 4.676 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.1691, allocations: 71.78 kB / 255 MB, free: 4.605 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 () * Number of clocked 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.0003463/0.1694, allocations: 182.2 kB / 255.2 MB, free: 4.465 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.1698, allocations: 152.2 kB / 255.3 MB, free: 4.316 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1698, allocations: 0 / 255.3 MB, free: 4.316 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1699, allocations: 95.92 kB / 255.4 MB, free: 4.223 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.1704, allocations: 51.94 kB / 255.4 MB, free: 4.172 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1716, allocations: 0.6759 MB / 256.1 MB, free: 3.473 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1719, allocations: 0.748 MB / 256.9 MB, free: 2.691 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.172, allocations: 26.39 kB / 256.9 MB, free: 2.668 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.172, allocations: 19.44 kB / 256.9 MB, free: 2.652 MB / 186.7 MB Notification: Performance of SimCode: time 2.41e-07/0.172, allocations: 0 / 256.9 MB, free: 2.652 MB / 186.7 MB Notification: Performance of Templates: time 0.004771/0.1768, allocations: 2.315 MB / 259.2 MB, free: 364 kB / 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)