Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.7 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.114/1.114, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001531/0.001531, allocations: 115.9 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002666/0.0002666, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07242/0.0727, allocations: 44.49 MB / 355 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.2841, allocations: 71.91 MB / 427 MB, free: 17.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001683/0.2843, allocations: 66.84 kB / 427 MB, free: 17.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004548/0.2888, allocations: 1.723 MB / 428.7 MB, free: 16.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2888, allocations: 0 / 428.7 MB, free: 16.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2889, allocations: 6.188 kB / 428.8 MB, free: 16.08 MB / 314.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.0003601/0.2892, allocations: 442.2 kB / 429.2 MB, free: 15.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.2893, allocations: 9.219 kB / 429.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.2893, allocations: 8.938 kB / 429.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.153e-05/0.2894, allocations: 174.9 kB / 429.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.2894, allocations: 0.5 kB / 429.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2894, allocations: 16.86 kB / 429.4 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.2896, allocations: 93.86 kB / 429.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2896, allocations: 0 / 429.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2896, allocations: 4 kB / 429.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.2896, allocations: 3.156 kB / 429.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.2897, allocations: 48.42 kB / 429.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.2901, allocations: 389.1 kB / 429.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.2902, allocations: 96.06 kB / 430 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2902, allocations: 4 kB / 430 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.2904, allocations: 144.6 kB / 430.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.2904, allocations: 0 / 430.2 MB, free: 14.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003539/0.2907, allocations: 286.3 kB / 430.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2908, allocations: 158.2 kB / 430.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.921e-05/0.2909, allocations: 127.2 kB / 430.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.2909, allocations: 29.7 kB / 430.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.2909, allocations: 90.88 kB / 430.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.291, allocations: 20.75 kB / 430.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.291, allocations: 2.688 kB / 430.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.291, allocations: 329.9 kB / 431.2 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.2911, allocations: 29.86 kB / 431.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.2912, allocations: 60.64 kB / 431.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.572e-05/0.2912, allocations: 81.16 kB / 431.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2912, allocations: 4 kB / 431.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002036/0.2915, allocations: 189 kB / 431.5 MB, free: 13.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.2915, allocations: 66.27 kB / 431.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2915, allocations: 0 / 431.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.2915, allocations: 4 kB / 431.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.2916, allocations: 4 kB / 431.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2916, allocations: 4.641 kB / 431.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.2917, allocations: 20.05 kB / 431.6 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.2917, allocations: 7.312 kB / 431.6 MB, free: 13.04 MB / 314.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 7.319e-05/0.2918, allocations: 158.2 kB / 431.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.2918, allocations: 7.906 kB / 431.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.71e-05/0.2918, allocations: 11.88 kB / 431.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2918, allocations: 0 / 431.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2918, allocations: 6.781 kB / 431.8 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.2918, allocations: 7.922 kB / 431.8 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2919, allocations: 194.6 kB / 432 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.292, allocations: 0 / 432 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.292, allocations: 4 kB / 432 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.292, allocations: 0 / 432 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.292, allocations: 11.36 kB / 432 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.292, allocations: 3.938 kB / 432 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.292, allocations: 0 / 432 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.2922, allocations: 242.2 kB / 432.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.2923, allocations: 81.02 kB / 432.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.2923, allocations: 11.31 kB / 432.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.2924, allocations: 21.5 kB / 432.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.2925, allocations: 15.34 kB / 432.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.2925, allocations: 11.95 kB / 432.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.959e-05/0.2925, allocations: 102.9 kB / 432.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2925, allocations: 0 / 432.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.2927, allocations: 31.38 kB / 432.5 MB, free: 12.1 MB / 314.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.0001292/0.2929, allocations: 129.8 kB / 432.7 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.2931, allocations: 198.5 kB / 432.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2931, allocations: 4.625 kB / 432.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2932, allocations: 119.4 kB / 433 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.2934, allocations: 11.73 kB / 433 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.2937, allocations: 225 kB / 433.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.2938, allocations: 0.6965 MB / 433.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.983e-05/0.2939, allocations: 8.656 kB / 433.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.2939, allocations: 11.44 kB / 433.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2939, allocations: 3.938 kB / 433.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of Templates: time 0.002934/0.2969, allocations: 1.199 MB / 435.1 MB, free: 9.547 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1)