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.001092/0.001093, allocations: 182.2 kB / 13.64 MB, free: 1.676 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.555/1.555, allocations: 194.3 MB / 208.4 MB, free: 6.715 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.001741/0.001741, allocations: 112.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.281e-05, allocations: 4 kB / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09728/0.09733, allocations: 44.51 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3439/0.4413, allocations: 71.82 MB / 421.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4416, allocations: 62.66 kB / 421.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004979/0.4466, allocations: 1.714 MB / 423 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4466, allocations: 0 / 423 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.4466, allocations: 1.312 kB / 423 MB, free: 10.61 MB / 298.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.0004893/0.4471, allocations: 433.2 kB / 423.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4472, allocations: 8.156 kB / 423.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.4472, allocations: 9.938 kB / 423.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4474, allocations: 172.2 kB / 423.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.4474, allocations: 5.266 kB / 423.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.4475, allocations: 6.016 kB / 423.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.4477, allocations: 96.3 kB / 423.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4477, allocations: 1.219 kB / 423.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.4477, allocations: 5.172 kB / 423.7 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.4477, allocations: 5.25 kB / 423.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.4478, allocations: 42.52 kB / 423.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.4482, allocations: 387 kB / 424.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.4484, allocations: 90.67 kB / 424.3 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.4485, allocations: 44.41 kB / 424.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.4485, allocations: 5.219 kB / 424.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.4487, allocations: 144.6 kB / 424.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.4487, allocations: 0 / 424.4 MB, free: 9.324 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003013/0.449, allocations: 153.7 kB / 424.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.4491, allocations: 168.5 kB / 424.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.4492, allocations: 129.8 kB / 424.9 MB, free: 8.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4492, allocations: 33.2 kB / 424.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.4492, allocations: 91.05 kB / 425 MB, free: 8.844 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.4493, allocations: 21.53 kB / 425 MB, free: 8.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.4493, allocations: 0 / 425 MB, free: 8.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.742e-05/0.4494, allocations: 325.2 kB / 425.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.602e-05/0.4494, allocations: 28.52 kB / 425.4 MB, free: 8.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-05/0.4495, allocations: 51.45 kB / 425.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.595e-05/0.4495, allocations: 79.84 kB / 425.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4495, allocations: 0 / 425.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001804/0.4497, allocations: 183.9 kB / 425.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.4498, allocations: 65.78 kB / 425.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4498, allocations: 0 / 425.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4498, allocations: 3.281 kB / 425.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.4499, allocations: 3.844 kB / 425.8 MB, free: 8.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.4499, allocations: 6.875 kB / 425.8 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.45, allocations: 17.97 kB / 425.8 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.45, allocations: 3.844 kB / 425.8 MB, free: 8.242 MB / 298.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 6.981e-05/0.4501, allocations: 155.8 kB / 425.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.4501, allocations: 11.38 kB / 425.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.4501, allocations: 11.75 kB / 426 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4502, allocations: 0 / 426 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4502, allocations: 6.625 kB / 426 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4502, allocations: 3.844 kB / 426 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.4503, allocations: 192.7 kB / 426.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4503, allocations: 192 / 426.2 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.4503, allocations: 10.27 kB / 426.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4504, allocations: 0 / 426.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.4504, allocations: 11.72 kB / 426.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4504, allocations: 0 / 426.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4504, allocations: 0 / 426.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.4506, allocations: 235.7 kB / 426.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4507, allocations: 90.61 kB / 426.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.4507, allocations: 3.844 kB / 426.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.4508, allocations: 15.48 kB / 426.5 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.4509, allocations: 20.23 kB / 426.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4509, allocations: 3.812 kB / 426.5 MB, free: 7.617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.451, allocations: 108 kB / 426.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.451, allocations: 0 / 426.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002345/0.4512, allocations: 26.94 kB / 426.7 MB, free: 7.539 MB / 298.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.0001925/0.4514, allocations: 129.3 kB / 426.8 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.4517, allocations: 190.9 kB / 427 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4517, allocations: 3.969 kB / 427 MB, free: 7.312 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.4518, allocations: 112.8 kB / 427.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.4519, allocations: 13.5 kB / 427.1 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4522, allocations: 152.6 kB / 427.3 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4524, allocations: 0.7032 MB / 428 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.4524, allocations: 11.39 kB / 428 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.4524, allocations: 11.34 kB / 428 MB, free: 6.434 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4525, allocations: 0 / 428 MB, free: 6.434 MB / 298.7 MB Notification: Performance of Templates: time 0.003199/0.4557, allocations: 1.207 MB / 429.2 MB, free: 6.102 MB / 298.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)