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.795/0.795, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001904/0.001904, allocations: 151.4 kB / 144 MB, free: 9.812 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.515e-05/1.517e-05, allocations: 0 / 173.9 MB, free: 11.89 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06305/0.06308, allocations: 25.17 MB / 199 MB, free: 2.668 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.2558, allocations: 33.25 MB / 232.3 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001831/0.256, allocations: 51.98 kB / 232.3 MB, free: 6.68 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005258/0.2613, allocations: 1.545 MB / 233.9 MB, free: 5.168 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2613, allocations: 1 kB / 233.9 MB, free: 5.168 MB / 170.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2613, allocations: 0 / 233.9 MB, free: 5.168 MB / 170.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.0004209/0.2618, allocations: 433.3 kB / 234.3 MB, free: 4.695 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/0.2619, allocations: 8.031 kB / 234.3 MB, free: 4.688 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.2619, allocations: 15.69 kB / 234.3 MB, free: 4.676 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.262, allocations: 174.6 kB / 234.5 MB, free: 4.469 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.2621, allocations: 7.938 kB / 234.5 MB, free: 4.465 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.2621, allocations: 4 kB / 234.5 MB, free: 4.461 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001228/0.2622, allocations: 24 kB / 234.5 MB, free: 4.438 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2624, allocations: 93.61 kB / 234.6 MB, free: 4.328 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2624, allocations: 0 / 234.6 MB, free: 4.328 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2624, allocations: 3.953 kB / 234.6 MB, free: 4.324 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2625, allocations: 4 kB / 234.6 MB, free: 4.32 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.2629, allocations: 360.3 kB / 235 MB, free: 3.922 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.263, allocations: 79.91 kB / 235.1 MB, free: 3.816 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.2631, allocations: 46.56 kB / 235.1 MB, free: 3.762 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2631, allocations: 8 kB / 235.1 MB, free: 3.754 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.2633, allocations: 135.6 kB / 235.2 MB, free: 3.594 MB / 170.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.2633, allocations: 0 / 235.2 MB, free: 3.594 MB / 170.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002981/0.2636, allocations: 118.4 kB / 235.4 MB, free: 3.473 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2637, allocations: 174.2 kB / 235.5 MB, free: 3.266 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.2638, allocations: 118.2 kB / 235.6 MB, free: 3.145 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.2638, allocations: 29.7 kB / 235.7 MB, free: 3.109 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.2639, allocations: 88.67 kB / 235.8 MB, free: 3.02 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.2639, allocations: 19.72 kB / 235.8 MB, free: 3 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-06/0.2639, allocations: 0 / 235.8 MB, free: 3 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.133e-05/0.264, allocations: 330.8 kB / 236.1 MB, free: 2.668 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.264, allocations: 16 kB / 236.1 MB, free: 2.652 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/0.2641, allocations: 61.23 kB / 236.2 MB, free: 2.582 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.479e-05/0.2642, allocations: 21.02 kB / 236.2 MB, free: 2.562 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2642, allocations: 4 kB / 236.2 MB, free: 2.559 MB / 170.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002343/0.2645, allocations: 114.1 kB / 236.3 MB, free: 2.441 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.2645, allocations: 63.39 kB / 236.4 MB, free: 2.367 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2645, allocations: 3.141 kB / 236.4 MB, free: 2.367 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.2645, allocations: 6.25 kB / 236.4 MB, free: 2.363 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.2646, allocations: 8 kB / 236.4 MB, free: 2.355 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2646, allocations: 3.953 kB / 236.4 MB, free: 2.352 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2647, allocations: 11.98 kB / 236.4 MB, free: 2.34 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.2648, allocations: 8 kB / 236.4 MB, free: 2.332 MB / 170.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 () * 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 8.585e-05/0.2649, allocations: 146.5 kB / 236.6 MB, free: 2.176 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.2649, allocations: 13.5 kB / 236.6 MB, free: 2.164 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.2649, allocations: 16.41 kB / 236.6 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.265, allocations: 0 / 236.6 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.265, allocations: 0 / 236.6 MB, free: 2.145 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.265, allocations: 7.953 kB / 236.6 MB, free: 2.137 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.2651, allocations: 170.2 kB / 236.8 MB, free: 1.934 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2651, allocations: 4 kB / 236.8 MB, free: 1.93 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.2652, allocations: 0 / 236.8 MB, free: 1.93 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2652, allocations: 0 / 236.8 MB, free: 1.93 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2652, allocations: 4 kB / 236.8 MB, free: 1.926 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2652, allocations: 0 / 236.8 MB, free: 1.926 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2652, allocations: 4 kB / 236.8 MB, free: 1.922 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.2655, allocations: 195.9 kB / 237 MB, free: 1.695 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.2655, allocations: 85.02 kB / 237 MB, free: 1.594 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2656, allocations: 8 kB / 237 MB, free: 1.586 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.2657, allocations: 15.98 kB / 237.1 MB, free: 1.57 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.2658, allocations: 19.88 kB / 237.1 MB, free: 1.551 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2658, allocations: 4.625 kB / 237.1 MB, free: 1.547 MB / 170.7 MB Notification: Performance of sorting global known variables: time 5.894e-05/0.2659, allocations: 104 kB / 237.2 MB, free: 1.445 MB / 170.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2659, allocations: 0 / 237.2 MB, free: 1.445 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.2663, allocations: 32 kB / 237.2 MB, free: 1.414 MB / 170.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) * 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.0001873/0.2665, allocations: 123.2 kB / 237.3 MB, free: 1.285 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.2667, allocations: 186.7 kB / 237.5 MB, free: 1.078 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2667, allocations: 0.8438 kB / 237.5 MB, free: 1.078 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.2668, allocations: 107.4 kB / 237.6 MB, free: 0.9609 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.2671, allocations: 8 kB / 237.6 MB, free: 0.9531 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2674, allocations: 147.6 kB / 237.8 MB, free: 0.7852 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2676, allocations: 0.7104 MB / 238.5 MB, free: 52 kB / 170.7 MB Notification: Performance of simCode: alias equations: time 3.793e-05/0.2676, allocations: 4 kB / 238.5 MB, free: 48 kB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2677, allocations: 11.44 kB / 238.5 MB, free: 40 kB / 170.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2677, allocations: 0 / 238.5 MB, free: 40 kB / 170.7 MB Notification: Performance of Templates: time 0.004633/0.2723, allocations: 1.173 MB / 239.7 MB, free: 14.92 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)