Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6833/0.6833, allocations: 110.9 MB / 125.9 MB, free: 6.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001591/0.001591, allocations: 150.6 kB / 151.8 MB, free: 4.984 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 8 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1161, allocations: 25.15 MB / 210 MB, free: 29.71 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.03903/0.1552, allocations: 34.02 MB / 244.1 MB, free: 15.8 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.1554, allocations: 51.98 kB / 244.1 MB, free: 15.75 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004718/0.1601, allocations: 1.56 MB / 245.7 MB, free: 14.2 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1601, allocations: 4 kB / 245.7 MB, free: 14.2 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1602, allocations: 0 / 245.7 MB, free: 14.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004981/0.1607, allocations: 450.6 kB / 246.1 MB, free: 13.7 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1607, allocations: 8.031 kB / 246.1 MB, free: 13.69 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1608, allocations: 16.61 kB / 246.1 MB, free: 13.68 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1609, allocations: 163.7 kB / 246.3 MB, free: 13.48 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.1609, allocations: 4 kB / 246.3 MB, free: 13.48 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.1609, allocations: 4 kB / 246.3 MB, free: 13.47 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.1612, allocations: 101 kB / 246.4 MB, free: 13.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.1612, allocations: 3.938 kB / 246.4 MB, free: 13.35 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1612, allocations: 8.938 kB / 246.4 MB, free: 13.34 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1612, allocations: 3.953 kB / 246.4 MB, free: 13.34 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1613, allocations: 43.91 kB / 246.5 MB, free: 13.3 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.1618, allocations: 382.8 kB / 246.8 MB, free: 12.86 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.162, allocations: 91.8 kB / 246.9 MB, free: 12.75 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.162, allocations: 4 kB / 246.9 MB, free: 12.74 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002475/0.1622, allocations: 149.4 kB / 247.1 MB, free: 12.57 MB / 186.7 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1623, allocations: 0 / 247.1 MB, free: 12.57 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004511/0.1627, allocations: 288.3 kB / 247.4 MB, free: 12.26 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.1628, allocations: 162.2 kB / 247.5 MB, free: 12.06 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.1629, allocations: 132 kB / 247.6 MB, free: 11.93 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.163, allocations: 29.7 kB / 247.7 MB, free: 11.89 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.163, allocations: 88.33 kB / 247.8 MB, free: 11.8 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.163, allocations: 23.7 kB / 247.8 MB, free: 11.77 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.1631, allocations: 4 kB / 247.8 MB, free: 11.77 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1632, allocations: 322.8 kB / 248.1 MB, free: 11.45 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.1633, allocations: 31.98 kB / 248.1 MB, free: 11.41 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.1633, allocations: 51.42 kB / 248.2 MB, free: 11.35 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/0.1634, allocations: 89 kB / 248.3 MB, free: 11.25 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1635, allocations: 0 / 248.3 MB, free: 11.25 MB / 186.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002622/0.1637, allocations: 196.9 kB / 248.5 MB, free: 11.04 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.1638, allocations: 63.39 kB / 248.5 MB, free: 10.97 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1638, allocations: 0 / 248.5 MB, free: 10.97 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.1638, allocations: 7.953 kB / 248.5 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.1639, allocations: 0 / 248.5 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1639, allocations: 7.281 kB / 248.5 MB, free: 10.96 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.761e-05/0.164, allocations: 15.98 kB / 248.6 MB, free: 10.94 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.164, allocations: 7.938 kB / 248.6 MB, free: 10.93 MB / 186.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: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001191/0.1641, allocations: 166.4 kB / 248.7 MB, free: 10.76 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.1641, allocations: 11.91 kB / 248.7 MB, free: 10.75 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.1642, allocations: 12.31 kB / 248.7 MB, free: 10.73 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1642, allocations: 6.891 kB / 248.8 MB, free: 10.73 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1642, allocations: 0 / 248.8 MB, free: 10.73 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1642, allocations: 0 / 248.8 MB, free: 10.73 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1644, allocations: 193.6 kB / 248.9 MB, free: 10.49 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1644, allocations: 0 / 248.9 MB, free: 10.49 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.1644, allocations: 0 / 248.9 MB, free: 10.49 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1644, allocations: 8 kB / 249 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1644, allocations: 0 / 249 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1644, allocations: 4 kB / 249 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1644, allocations: 3.953 kB / 249 MB, free: 10.48 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1647, allocations: 239.9 kB / 249.2 MB, free: 10.2 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.1648, allocations: 89 kB / 249.3 MB, free: 10.09 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1648, allocations: 11.95 kB / 249.3 MB, free: 10.08 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.1649, allocations: 15.98 kB / 249.3 MB, free: 10.07 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.165, allocations: 15.92 kB / 249.3 MB, free: 10.05 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.165, allocations: 4 kB / 249.3 MB, free: 10.05 MB / 186.7 MB Notification: Performance of sorting global known variables: time 6.05e-05/0.1651, allocations: 103.2 kB / 249.4 MB, free: 9.945 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1651, allocations: 8 kB / 249.4 MB, free: 9.938 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.1653, allocations: 32 kB / 249.5 MB, free: 9.906 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0001829/0.1655, allocations: 137 kB / 249.6 MB, free: 9.766 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000272/0.1658, allocations: 198.7 kB / 249.8 MB, free: 9.547 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1658, allocations: 0 / 249.8 MB, free: 9.547 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.166, allocations: 119.6 kB / 249.9 MB, free: 9.418 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1661, allocations: 22.06 kB / 249.9 MB, free: 9.398 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.1666, allocations: 221.2 kB / 250.1 MB, free: 9.156 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1668, allocations: 0.7004 MB / 250.8 MB, free: 8.43 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 3.327e-05/0.1669, allocations: 4.672 kB / 250.9 MB, free: 8.422 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.1669, allocations: 11.44 kB / 250.9 MB, free: 8.41 MB / 186.7 MB Notification: Performance of SimCode: time 4.5e-07/0.1669, allocations: 0 / 250.9 MB, free: 8.41 MB / 186.7 MB Notification: Performance of Templates: time 0.003494/0.1704, allocations: 1.215 MB / 252.1 MB, free: 7.219 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1)