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.001567/0.001567, allocations: 165.8 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.414/1.414, allocations: 170.7 MB / 178.7 MB, free: 15.59 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.001544/0.001544, allocations: 104.6 kB / 218 MB, free: 8.363 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.337e-05/1.339e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08697/0.087, allocations: 38.78 MB / 301 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2731/0.3602, allocations: 65.84 MB / 366.8 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.3604, allocations: 65.47 kB / 366.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004571/0.365, allocations: 1.701 MB / 368.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.365, allocations: 0 / 368.6 MB, free: 1.012 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3651, allocations: 8 kB / 368.6 MB, free: 1.004 MB / 250.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.0003657/0.3654, allocations: 425.9 kB / 369 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3655, allocations: 8.031 kB / 369 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.3655, allocations: 10.91 kB / 369 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3657, allocations: 178.9 kB / 369.2 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.3657, allocations: 0 / 369.2 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.3657, allocations: 4 kB / 369.2 MB, free: 312 kB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001008/0.3658, allocations: 33.36 kB / 369.2 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3659, allocations: 87.72 kB / 369.3 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.366, allocations: 7.938 kB / 369.3 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.366, allocations: 3.984 kB / 369.3 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.366, allocations: 3.938 kB / 369.3 MB, free: 176 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.3664, allocations: 356 kB / 369.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3665, allocations: 88.41 kB / 369.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.3666, allocations: 37.58 kB / 369.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3666, allocations: 11.47 kB / 369.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.3668, allocations: 140.5 kB / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.3668, allocations: 0 / 369.9 MB, free: 15.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002502/0.3671, allocations: 123.9 kB / 370.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.3672, allocations: 162.3 kB / 370.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.3673, allocations: 123.3 kB / 370.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.3673, allocations: 25.7 kB / 370.4 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.3674, allocations: 97.75 kB / 370.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.3674, allocations: 23.59 kB / 370.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.3674, allocations: 0 / 370.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3675, allocations: 320.2 kB / 370.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.3676, allocations: 23.05 kB / 370.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.3677, allocations: 51.5 kB / 370.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.3677, allocations: 22.67 kB / 370.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3677, allocations: 0 / 370.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002144/0.368, allocations: 125.2 kB / 371 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.838e-05/0.368, allocations: 70.58 kB / 371.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.368, allocations: 6.016 kB / 371.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.368, allocations: 4.062 kB / 371.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.401e-05/0.3681, allocations: 7.984 kB / 371.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3681, allocations: 4 kB / 371.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/0.3682, allocations: 11.94 kB / 371.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3682, allocations: 7.984 kB / 371.1 MB, free: 14.32 MB / 266.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 0.0001046/0.3683, allocations: 141.8 kB / 371.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3684, allocations: 11.91 kB / 371.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.3684, allocations: 23.09 kB / 371.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3684, allocations: 4 kB / 371.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3684, allocations: 0 / 371.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3685, allocations: 0 / 371.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.3686, allocations: 171.2 kB / 371.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3686, allocations: 0 / 371.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.3686, allocations: 4 kB / 371.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3687, allocations: 0 / 371.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3687, allocations: 8.531 kB / 371.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3687, allocations: 3.938 kB / 371.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3687, allocations: 3.953 kB / 371.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3689, allocations: 189.5 kB / 371.7 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.369, allocations: 84.95 kB / 371.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.369, allocations: 15.5 kB / 371.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3691, allocations: 19.98 kB / 371.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3692, allocations: 7.984 kB / 371.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3692, allocations: 7.375 kB / 371.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.794e-05/0.3693, allocations: 98.45 kB / 371.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3693, allocations: 0 / 371.9 MB, free: 13.49 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.3695, allocations: 28 kB / 371.9 MB, free: 13.46 MB / 266.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.0001879/0.3697, allocations: 119.2 kB / 372.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.3699, allocations: 184.1 kB / 372.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.3699, allocations: 4 kB / 372.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.37, allocations: 105.9 kB / 372.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.3702, allocations: 11.98 kB / 372.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.3706, allocations: 156.3 kB / 372.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.3709, allocations: 0.6924 MB / 373.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.3709, allocations: 15.88 kB / 373.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.3709, allocations: 11.44 kB / 373.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3709, allocations: 0 / 373.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of Templates: time 0.003294/0.3742, allocations: 1.144 MB / 374.4 MB, free: 11 MB / 266.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)