Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008229/0.0008232, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006718/0.006718, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004726, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2981, allocations: 47.59 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002107/0.3003, allocations: 1.311 MB / 328.3 MB, free: 360 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000772/0.3011, allocations: 453.2 kB / 328.8 MB, free: 0 / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.3012, allocations: 1.344 kB / 328.8 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.3013, allocations: 5.484 kB / 328.8 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.3014, allocations: 5.375 kB / 328.8 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.3015, allocations: 22.56 kB / 328.8 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3017, allocations: 62.67 kB / 328.9 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.3019, allocations: 44.03 kB / 328.9 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.302, allocations: 23.61 kB / 328.9 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.3021, allocations: 21.62 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3021, allocations: 2.781 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.3021, allocations: 0.9375 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.3021, allocations: 6 kB / 329 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.3022, allocations: 51.19 kB / 329 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3023, allocations: 65.33 kB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3023, allocations: 0 / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3024, allocations: 3.938 kB / 329.1 MB, free: 15.77 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3024, allocations: 1.094 kB / 329.1 MB, free: 15.77 MB / 270.1 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.0006151/0.303, allocations: 373.7 kB / 329.4 MB, free: 15.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.303, allocations: 12.5 kB / 329.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.3031, allocations: 8.656 kB / 329.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.3032, allocations: 176.6 kB / 329.6 MB, free: 15.17 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3033, allocations: 6.844 kB / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3033, allocations: 4.844 kB / 329.7 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3035, allocations: 118.5 kB / 329.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3036, allocations: 4 kB / 329.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3036, allocations: 9.047 kB / 329.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.3036, allocations: 2.594 kB / 329.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3038, allocations: 60.5 kB / 329.8 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007129/0.3045, allocations: 0.6472 MB / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3047, allocations: 117.5 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3049, allocations: 61.89 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.853e-05/0.3049, allocations: 1.312 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.3049, allocations: 48.75 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3049, allocations: 0 / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004896/0.3054, allocations: 136.8 kB / 330.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.3055, allocations: 155.4 kB / 331 MB, free: 13.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3057, allocations: 127.5 kB / 331.1 MB, free: 13.72 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3057, allocations: 26.7 kB / 331.2 MB, free: 13.69 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.3057, allocations: 96.17 kB / 331.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.3058, allocations: 21.69 kB / 331.3 MB, free: 13.58 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.3058, allocations: 16.88 kB / 331.3 MB, free: 13.56 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.306, allocations: 324.2 kB / 331.6 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-05/0.3061, allocations: 28.36 kB / 331.6 MB, free: 13.22 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.394e-05/0.3062, allocations: 56.19 kB / 331.7 MB, free: 13.17 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.3064, allocations: 90.3 kB / 331.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3064, allocations: 1.5 kB / 331.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002406/0.3066, allocations: 113.2 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3067, allocations: 5.906 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3067, allocations: 1.188 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.3067, allocations: 2.406 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3068, allocations: 15.05 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.3069, allocations: 1.25 kB / 331.9 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.3069, allocations: 15.3 kB / 331.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.307, allocations: 6.719 kB / 331.9 MB, free: 13.02 MB / 270.1 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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.3071, allocations: 122.9 kB / 332 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.3072, allocations: 7.219 kB / 332.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.3072, allocations: 14.05 kB / 332.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3072, allocations: 2.25 kB / 332.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3072, allocations: 1.312 kB / 332.1 MB, free: 12.88 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3072, allocations: 9.312 kB / 332.1 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/0.3076, allocations: 184.8 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3076, allocations: 1.562 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.924e-05/0.3077, allocations: 18.45 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3077, allocations: 1.438 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3077, allocations: 2.75 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3077, allocations: 1.094 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3077, allocations: 1.281 kB / 332.3 MB, free: 12.65 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004193/0.3082, allocations: 0.4949 MB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3082, allocations: 84.27 kB / 332.9 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3082, allocations: 2.844 kB / 332.9 MB, free: 12.08 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.3085, allocations: 18.52 kB / 332.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.3085, allocations: 12.36 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3086, allocations: 2.094 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.3086, allocations: 91.77 kB / 333 MB, free: 11.98 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3086, allocations: 1.031 kB / 333 MB, free: 11.98 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.309, allocations: 12.59 kB / 333 MB, free: 11.98 MB / 270.1 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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001546/0.3092, allocations: 105.1 kB / 333.1 MB, free: 11.88 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.3095, allocations: 62.81 kB / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3095, allocations: 1.094 kB / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3096, allocations: 48.62 kB / 333.2 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.3101, allocations: 7.812 kB / 333.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.3106, allocations: 231.8 kB / 333.4 MB, free: 11.61 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.311, allocations: 0.6937 MB / 334.1 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.8e-05/0.311, allocations: 2.031 kB / 334.1 MB, free: 10.91 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.3111, allocations: 9.5 kB / 334.2 MB, free: 10.9 MB / 270.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3111, allocations: 4 kB / 334.2 MB, free: 10.89 MB / 270.1 MB Notification: Performance of Templates: time 0.002702/0.3138, allocations: 447.7 kB / 334.6 MB, free: 10.67 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.1_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.BusUsage.pipe 2>&1)