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.9008/0.9008, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001833/0.001833, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.391e-05/2.394e-05, allocations: 0 / 180.2 MB, free: 17.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04993/0.04997, allocations: 25.19 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05184/0.1019, allocations: 33.91 MB / 239.3 MB, free: 6.477 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.1022, allocations: 55.97 kB / 239.3 MB, free: 6.422 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005713/0.1079, allocations: 1.554 MB / 240.9 MB, free: 4.863 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.108, allocations: 0 / 240.9 MB, free: 4.863 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.108, allocations: 4 kB / 240.9 MB, free: 4.859 MB / 186.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.0006055/0.1086, allocations: 437.7 kB / 241.3 MB, free: 4.375 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1087, allocations: 8.031 kB / 241.3 MB, free: 4.367 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.624e-05/0.1087, allocations: 15.86 kB / 241.4 MB, free: 4.352 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1089, allocations: 171 kB / 241.5 MB, free: 4.145 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.1089, allocations: 4 kB / 241.5 MB, free: 4.141 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.109, allocations: 4 kB / 241.5 MB, free: 4.137 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1092, allocations: 93.05 kB / 241.6 MB, free: 4.027 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1092, allocations: 0 / 241.6 MB, free: 4.027 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.1092, allocations: 4 kB / 241.6 MB, free: 4.023 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1092, allocations: 11.95 kB / 241.6 MB, free: 4.012 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.1093, allocations: 39.92 kB / 241.7 MB, free: 3.973 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.1099, allocations: 378.8 kB / 242 MB, free: 3.543 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.11, allocations: 91.77 kB / 242.1 MB, free: 3.426 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.001e-05/0.1101, allocations: 46.7 kB / 242.2 MB, free: 3.371 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.1102, allocations: 3.984 kB / 242.2 MB, free: 3.367 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.1104, allocations: 152.9 kB / 242.3 MB, free: 3.191 MB / 186.7 MB Notification: Performance of pre-optimization done (n=10): time 1.943e-06/0.1104, allocations: 0 / 242.3 MB, free: 3.191 MB / 186.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003503/0.1107, allocations: 159.2 kB / 242.5 MB, free: 3.023 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1109, allocations: 162.2 kB / 242.7 MB, free: 2.828 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.111, allocations: 121.2 kB / 242.8 MB, free: 2.699 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.111, allocations: 33.7 kB / 242.8 MB, free: 2.66 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.1111, allocations: 96.25 kB / 242.9 MB, free: 2.559 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.1111, allocations: 23.78 kB / 242.9 MB, free: 2.535 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-06/0.1111, allocations: 3.938 kB / 242.9 MB, free: 2.531 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1113, allocations: 322.8 kB / 243.2 MB, free: 2.207 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.482e-05/0.1113, allocations: 24 kB / 243.3 MB, free: 2.184 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.1114, allocations: 47.42 kB / 243.3 MB, free: 2.125 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.1115, allocations: 79.39 kB / 243.4 MB, free: 2.035 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1115, allocations: 4 kB / 243.4 MB, free: 2.031 MB / 186.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003022/0.1118, allocations: 192.9 kB / 243.6 MB, free: 1.824 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.1119, allocations: 59.41 kB / 243.6 MB, free: 1.754 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1119, allocations: 3.953 kB / 243.6 MB, free: 1.75 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1119, allocations: 0 / 243.6 MB, free: 1.75 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.828e-05/0.112, allocations: 11.92 kB / 243.7 MB, free: 1.738 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.112, allocations: 0 / 243.7 MB, free: 1.738 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.516e-05/0.1121, allocations: 19.94 kB / 243.7 MB, free: 1.719 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.1121, allocations: 12.05 kB / 243.7 MB, free: 1.707 MB / 186.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.0001162/0.1123, allocations: 142.6 kB / 243.8 MB, free: 1.555 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1123, allocations: 11.91 kB / 243.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.299e-05/0.1123, allocations: 12.08 kB / 243.8 MB, free: 1.527 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/0.1124, allocations: 7.953 kB / 243.9 MB, free: 1.52 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1124, allocations: 0 / 243.9 MB, free: 1.52 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1124, allocations: 3.938 kB / 243.9 MB, free: 1.516 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.1126, allocations: 189.6 kB / 244 MB, free: 1.281 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1127, allocations: 4 kB / 244 MB, free: 1.277 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.1127, allocations: 3.984 kB / 244 MB, free: 1.273 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1127, allocations: 4 kB / 244.1 MB, free: 1.27 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1127, allocations: 4.188 kB / 244.1 MB, free: 1.266 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.1127, allocations: 8 kB / 244.1 MB, free: 1.258 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1127, allocations: 7.891 kB / 244.1 MB, free: 1.25 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.1131, allocations: 231.8 kB / 244.3 MB, free: 0.9805 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.1131, allocations: 84.97 kB / 244.4 MB, free: 0.8789 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1132, allocations: 4 kB / 244.4 MB, free: 0.875 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/0.1133, allocations: 15.98 kB / 244.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.1134, allocations: 11.98 kB / 244.4 MB, free: 0.8477 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.1134, allocations: 7.984 kB / 244.4 MB, free: 0.8398 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.657e-05/0.1135, allocations: 103.3 kB / 244.5 MB, free: 0.7383 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.1135, allocations: 0 / 244.5 MB, free: 0.7383 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.1138, allocations: 40 kB / 244.6 MB, free: 0.6992 MB / 186.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.0003187/0.1141, allocations: 121.2 kB / 244.7 MB, free: 0.5703 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.1144, allocations: 194.7 kB / 244.9 MB, free: 364 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1145, allocations: 0 / 244.9 MB, free: 364 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.1146, allocations: 111.6 kB / 245 MB, free: 240 kB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1148, allocations: 16.05 kB / 245 MB, free: 224 kB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.1152, allocations: 154.9 kB / 245.1 MB, free: 44 kB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1032/0.2185, allocations: 0.6949 MB / 245.8 MB, free: 42.12 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.2186, allocations: 8.688 kB / 245.8 MB, free: 42.11 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.2186, allocations: 12.8 kB / 245.9 MB, free: 42.11 MB / 186.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2186, allocations: 0 / 245.9 MB, free: 42.11 MB / 186.7 MB Notification: Performance of Templates: time 0.004013/0.2227, allocations: 1.222 MB / 247.1 MB, free: 42.07 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)