Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01108/0.01108, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.494/1.494, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00166/0.00166, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 12 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.252, allocations: 38.77 MB / 312.9 MB, free: 38.69 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09118/0.3433, allocations: 66.6 MB / 379.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.3437, allocations: 67.97 kB / 379.5 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005701/0.3494, allocations: 1.716 MB / 381.3 MB, free: 6.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3494, allocations: 4 kB / 381.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.3494, allocations: 0 / 381.3 MB, free: 6.148 MB / 282.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.0007907/0.3502, allocations: 442.5 kB / 381.7 MB, free: 5.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.299e-05/0.3503, allocations: 11.97 kB / 381.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.3504, allocations: 7.906 kB / 381.7 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3506, allocations: 175 kB / 381.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.3506, allocations: 12 kB / 381.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.3506, allocations: 4 kB / 381.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3509, allocations: 101 kB / 382 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.3509, allocations: 4 kB / 382 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3509, allocations: 3.984 kB / 382 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3509, allocations: 0 / 382 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3511, allocations: 47.92 kB / 382.1 MB, free: 5.238 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.3516, allocations: 382.7 kB / 382.4 MB, free: 4.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.3518, allocations: 107.3 kB / 382.5 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3518, allocations: 4 kB / 382.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.352, allocations: 143.6 kB / 382.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.352, allocations: 4 kB / 382.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004554/0.3525, allocations: 272.3 kB / 383 MB, free: 4.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.3526, allocations: 166.2 kB / 383.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3527, allocations: 127 kB / 383.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3528, allocations: 33.69 kB / 383.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.3528, allocations: 92.31 kB / 383.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.3529, allocations: 19.72 kB / 383.4 MB, free: 3.715 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.3529, allocations: 8.156 kB / 383.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3531, allocations: 320.9 kB / 383.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.3531, allocations: 27.98 kB / 383.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.841e-05/0.3532, allocations: 59.41 kB / 383.8 MB, free: 3.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3534, allocations: 83.39 kB / 383.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3534, allocations: 4 kB / 383.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000277/0.3537, allocations: 188.9 kB / 384.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.3537, allocations: 67.28 kB / 384.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3537, allocations: 4 kB / 384.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3537, allocations: 0 / 384.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.3538, allocations: 4 kB / 384.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3538, allocations: 3.984 kB / 384.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.3539, allocations: 16.06 kB / 384.2 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3539, allocations: 8 kB / 384.2 MB, free: 2.875 MB / 282.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.0001518/0.3541, allocations: 151.5 kB / 384.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.3541, allocations: 15.8 kB / 384.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3542, allocations: 16.3 kB / 384.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3542, allocations: 0 / 384.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3542, allocations: 4 kB / 384.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3542, allocations: 4 kB / 384.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3544, allocations: 193.6 kB / 384.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3544, allocations: 3.984 kB / 384.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.3544, allocations: 4.375 kB / 384.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3544, allocations: 0 / 384.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.3545, allocations: 7.953 kB / 384.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3545, allocations: 4 kB / 384.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3545, allocations: 0 / 384.6 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.3548, allocations: 247.7 kB / 384.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.3549, allocations: 85 kB / 384.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.3549, allocations: 4 kB / 384.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.355, allocations: 19.98 kB / 384.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.3551, allocations: 11.98 kB / 384.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.3551, allocations: 4 kB / 384.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.217e-05/0.3552, allocations: 105.8 kB / 385 MB, free: 1.887 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3552, allocations: 0 / 385 MB, free: 1.887 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.3554, allocations: 35.98 kB / 385.1 MB, free: 1.852 MB / 282.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.000199/0.3556, allocations: 127.1 kB / 385.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.3559, allocations: 202.7 kB / 385.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3559, allocations: 0 / 385.4 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.3561, allocations: 119.4 kB / 385.5 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.3563, allocations: 24.47 kB / 385.5 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004307/0.3567, allocations: 227 kB / 385.7 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3571, allocations: 0.6965 MB / 386.4 MB, free: 384 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.3571, allocations: 4.812 kB / 386.4 MB, free: 376 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.3572, allocations: 11.44 kB / 386.5 MB, free: 364 kB / 282.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3572, allocations: 4 kB / 386.5 MB, free: 360 kB / 282.7 MB Notification: Performance of Templates: time 0.003789/0.361, allocations: 1.196 MB / 387.7 MB, free: 15.16 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1)