Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.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.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001665/0.001665, allocations: 182.3 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.548/1.548, allocations: 194.3 MB / 208.4 MB, free: 6.742 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.001661/0.001661, allocations: 124.7 kB / 253.5 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.748e-05, allocations: 4 kB / 304.9 MB, free: 29.8 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09545/0.09551, allocations: 44.5 MB / 349.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.3924, allocations: 71.69 MB / 421.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3926, allocations: 68.66 kB / 421.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003678/0.3963, allocations: 1.445 MB / 422.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3964, allocations: 0 / 422.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3964, allocations: 0 / 422.6 MB, free: 10.58 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0002903/0.3967, allocations: 357.7 kB / 423 MB, free: 10.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3967, allocations: 11.19 kB / 423 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.3968, allocations: 7.75 kB / 423 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.3969, allocations: 181.9 kB / 423.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3969, allocations: 5.062 kB / 423.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3969, allocations: 3.938 kB / 423.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3971, allocations: 100.4 kB / 423.3 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3971, allocations: 3.938 kB / 423.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3971, allocations: 3.875 kB / 423.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3971, allocations: 4 kB / 423.3 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.3972, allocations: 36.84 kB / 423.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.3977, allocations: 0.6373 MB / 424 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.548e-05/0.3978, allocations: 100.1 kB / 424.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.3978, allocations: 45.92 kB / 424.1 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3978, allocations: 8.594 kB / 424.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.3979, allocations: 37.28 kB / 424.2 MB, free: 9.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3979, allocations: 4 kB / 424.2 MB, free: 9.109 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002413/0.3981, allocations: 79.31 kB / 424.2 MB, free: 9.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3982, allocations: 155.5 kB / 424.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.749e-05/0.3983, allocations: 112.7 kB / 424.5 MB, free: 8.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.517e-06/0.3983, allocations: 29.14 kB / 424.5 MB, free: 8.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.3983, allocations: 93.67 kB / 424.6 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.3983, allocations: 20.25 kB / 424.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.3983, allocations: 0 / 424.6 MB, free: 8.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.46e-05/0.3984, allocations: 322.2 kB / 425 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.3984, allocations: 9.219 kB / 425 MB, free: 8.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.345e-05/0.3985, allocations: 34.7 kB / 425 MB, free: 8.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.3985, allocations: 15.75 kB / 425 MB, free: 8.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3985, allocations: 0 / 425 MB, free: 8.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001111/0.3986, allocations: 79.28 kB / 425.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3987, allocations: 5.312 kB / 425.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3987, allocations: 1.344 kB / 425.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3987, allocations: 4.297 kB / 425.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3988, allocations: 25.36 kB / 425.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3988, allocations: 2.625 kB / 425.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3989, allocations: 17.98 kB / 425.1 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3989, allocations: 6.375 kB / 425.2 MB, free: 8.234 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 4.297e-05/0.399, allocations: 107.1 kB / 425.3 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.3991, allocations: 7.781 kB / 425.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.3991, allocations: 14.47 kB / 425.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3991, allocations: 5.344 kB / 425.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3991, allocations: 6.578 kB / 425.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3991, allocations: 5.281 kB / 425.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.3994, allocations: 187.1 kB / 425.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3994, allocations: 1.312 kB / 425.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.3995, allocations: 13.11 kB / 425.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3995, allocations: 1.375 kB / 425.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3995, allocations: 2.656 kB / 425.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3995, allocations: 1.281 kB / 425.5 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3995, allocations: 9.266 kB / 425.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.3997, allocations: 0.5075 MB / 426 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.3997, allocations: 83.55 kB / 426.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3998, allocations: 4.422 kB / 426.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4, allocations: 13.42 kB / 426.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.4, allocations: 6.391 kB / 426.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.4, allocations: 2.562 kB / 426.1 MB, free: 7.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.4001, allocations: 103.4 kB / 426.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4001, allocations: 0 / 426.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003257/0.4004, allocations: 9.969 kB / 426.2 MB, free: 7.227 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (part.booleanExpression.y,booleanStep.y,integerStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.358e-05/0.4005, allocations: 94.16 kB / 426.3 MB, free: 7.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4006, allocations: 35.89 kB / 426.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4006, allocations: 3.812 kB / 426.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.4007, allocations: 19.5 kB / 426.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4009, allocations: 14.14 kB / 426.4 MB, free: 7.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.4012, allocations: 135 kB / 426.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.4014, allocations: 0.6943 MB / 427.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.4014, allocations: 4 kB / 427.2 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.4014, allocations: 12.97 kB / 427.2 MB, free: 6.301 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4014, allocations: 0 / 427.2 MB, free: 6.301 MB / 298.7 MB Notification: Performance of Templates: time 0.002025/0.4035, allocations: 449.8 kB / 427.7 MB, free: 6.25 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)