Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.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.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor") translateModel(Modelica.Electrical.Analog.Examples.HeatingResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6756/0.6756, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001666/0.001666, allocations: 146.6 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002625, allocations: 11.98 kB / 184.9 MB, free: 3.93 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1085, allocations: 25.15 MB / 210 MB, free: 29.76 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03639/0.1449, allocations: 35.36 MB / 245.4 MB, free: 14.47 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.1452, allocations: 64.77 kB / 245.5 MB, free: 14.41 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006323/0.1515, allocations: 2.593 MB / 248.1 MB, free: 11.83 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1515, allocations: 0 / 248.1 MB, free: 11.83 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1515, allocations: 4 kB / 248.1 MB, free: 11.83 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004535/0.152, allocations: 430.8 kB / 248.5 MB, free: 11.36 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.152, allocations: 12.02 kB / 248.5 MB, free: 11.35 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.1521, allocations: 15.81 kB / 248.5 MB, free: 11.33 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1523, allocations: 200.5 kB / 248.7 MB, free: 11.1 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1523, allocations: 8.234 kB / 248.7 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1523, allocations: 12 kB / 248.7 MB, free: 11.08 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.1526, allocations: 119.5 kB / 248.9 MB, free: 10.96 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1526, allocations: 5.625 kB / 248.9 MB, free: 10.95 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1526, allocations: 11.94 kB / 248.9 MB, free: 10.94 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.1526, allocations: 4 kB / 248.9 MB, free: 10.94 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.1528, allocations: 76.67 kB / 248.9 MB, free: 10.86 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000779/0.1536, allocations: 0.6134 MB / 249.6 MB, free: 10.17 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.1538, allocations: 86.61 kB / 249.6 MB, free: 10.08 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1539, allocations: 4 kB / 249.6 MB, free: 10.07 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.1539, allocations: 30.56 kB / 249.7 MB, free: 10.04 MB / 186.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1539, allocations: 0 / 249.7 MB, free: 10.04 MB / 186.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006265/0.1545, allocations: 263.5 kB / 249.9 MB, free: 9.75 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.1546, allocations: 59.41 kB / 250 MB, free: 9.68 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1547, allocations: 129.5 kB / 250.1 MB, free: 9.543 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1547, allocations: 25.7 kB / 250.1 MB, free: 9.512 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.1548, allocations: 130.5 kB / 250.3 MB, free: 9.383 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1548, allocations: 19.66 kB / 250.3 MB, free: 9.363 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.1548, allocations: 12.59 kB / 250.3 MB, free: 9.352 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1549, allocations: 318.8 kB / 250.6 MB, free: 9.031 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.424e-05/0.155, allocations: 23.98 kB / 250.6 MB, free: 9.008 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.836e-05/0.1551, allocations: 42.56 kB / 250.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.1551, allocations: 35.95 kB / 250.7 MB, free: 8.922 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1551, allocations: 0 / 250.7 MB, free: 8.922 MB / 186.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002732/0.1554, allocations: 146.2 kB / 250.9 MB, free: 8.77 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.1554, allocations: 4 kB / 250.9 MB, free: 8.766 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1555, allocations: 0 / 250.9 MB, free: 8.766 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.1556, allocations: 46.77 kB / 250.9 MB, free: 8.719 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.1557, allocations: 8 kB / 250.9 MB, free: 8.711 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.157, allocations: 1.576 MB / 252.5 MB, free: 6.992 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.1571, allocations: 19.83 kB / 252.5 MB, free: 6.973 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1571, allocations: 4.062 kB / 252.5 MB, free: 6.969 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 8.608e-05/0.1572, allocations: 132 kB / 252.6 MB, free: 6.832 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.1572, allocations: 11.86 kB / 252.7 MB, free: 6.82 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.1572, allocations: 12.72 kB / 252.7 MB, free: 6.812 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1572, allocations: 192 / 252.7 MB, free: 6.812 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1572, allocations: 3.984 kB / 252.7 MB, free: 6.809 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1573, allocations: 3.984 kB / 252.7 MB, free: 6.805 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1574, allocations: 213.6 kB / 252.9 MB, free: 6.547 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1575, allocations: 0 / 252.9 MB, free: 6.547 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1575, allocations: 8 kB / 252.9 MB, free: 6.539 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.1576, allocations: 35.02 kB / 252.9 MB, free: 6.504 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1576, allocations: 7.953 kB / 252.9 MB, free: 6.496 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.1587, allocations: 1.572 MB / 254.5 MB, free: 4.773 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1587, allocations: 0 / 254.5 MB, free: 4.773 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.159, allocations: 224.3 kB / 254.7 MB, free: 4.535 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.1591, allocations: 89 kB / 254.8 MB, free: 4.43 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.1591, allocations: 8 kB / 254.8 MB, free: 4.422 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1592, allocations: 7.984 kB / 254.8 MB, free: 4.414 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.1593, allocations: 4 kB / 254.8 MB, free: 4.41 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1593, allocations: 3.984 kB / 254.8 MB, free: 4.406 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.922e-05/0.1593, allocations: 117.5 kB / 255 MB, free: 4.293 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1593, allocations: 4 kB / 255 MB, free: 4.289 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003241/0.1597, allocations: 43.84 kB / 255 MB, free: 4.246 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.1598, allocations: 107.2 kB / 255.1 MB, free: 4.133 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1601, allocations: 189.7 kB / 255.3 MB, free: 3.938 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1601, allocations: 6.656 kB / 255.3 MB, free: 3.934 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001848/0.1603, allocations: 158.7 kB / 255.4 MB, free: 3.766 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.1606, allocations: 16.86 kB / 255.5 MB, free: 3.75 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004608/0.161, allocations: 339.2 kB / 255.8 MB, free: 3.391 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.1613, allocations: 0.7238 MB / 256.5 MB, free: 2.641 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 5.013e-05/0.1613, allocations: 8.422 kB / 256.5 MB, free: 2.629 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.1614, allocations: 7.438 kB / 256.5 MB, free: 2.625 MB / 186.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1614, allocations: 0 / 256.5 MB, free: 2.625 MB / 186.7 MB Notification: Performance of Templates: time 0.003639/0.165, allocations: 1.47 MB / 258 MB, free: 1.18 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1)