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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008259/0.000826, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0008998/0.0009001, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.619/1.619, allocations: 205.4 MB / 223.4 MB, free: 5.293 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.0005759/0.0005766, allocations: 8 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2993, allocations: 47.58 MB / 327.7 MB, free: 1.457 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001785/0.3012, allocations: 1.287 MB / 329 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.3019, allocations: 439.8 kB / 329.4 MB, free: 100 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.465e-05/0.3019, allocations: 0.9688 kB / 329.4 MB, free: 100 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 3.194e-05/0.302, allocations: 4.938 kB / 329.4 MB, free: 96 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.089e-05/0.3021, allocations: 12.94 kB / 329.5 MB, free: 84 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.3022, allocations: 15.38 kB / 329.5 MB, free: 72 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 9.772e-05/0.3023, allocations: 56.78 kB / 329.5 MB, free: 36 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.3025, allocations: 28.73 kB / 329.6 MB, free: 24 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3026, allocations: 35.69 kB / 329.6 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.291e-05/0.3027, allocations: 18.2 kB / 329.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3027, allocations: 2.781 kB / 329.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.3027, allocations: 1.344 kB / 329.6 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.783e-05/0.3028, allocations: 13.45 kB / 329.6 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.3028, allocations: 37.55 kB / 329.7 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.654e-05/0.3029, allocations: 32.95 kB / 329.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3029, allocations: 0 / 329.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3029, allocations: 1.344 kB / 329.7 MB, free: 15.91 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.237e-06/0.3029, allocations: 0 / 329.7 MB, free: 15.91 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.0004862/0.3034, allocations: 374.7 kB / 330.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3035, allocations: 12.5 kB / 330.1 MB, free: 15.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.3035, allocations: 12.5 kB / 330.1 MB, free: 15.51 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3036, allocations: 179 kB / 330.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3037, allocations: 10.86 kB / 330.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3037, allocations: 3.406 kB / 330.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002494/0.304, allocations: 118.5 kB / 330.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.304, allocations: 0 / 330.4 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.304, allocations: 5.438 kB / 330.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.304, allocations: 1.406 kB / 330.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.3042, allocations: 68.2 kB / 330.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/0.3049, allocations: 0.6476 MB / 331.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.3051, allocations: 125.5 kB / 331.2 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.3052, allocations: 57.91 kB / 331.3 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3053, allocations: 5.328 kB / 331.3 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3053, allocations: 40.84 kB / 331.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.3053, allocations: 0 / 331.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004464/0.3058, allocations: 131.2 kB / 331.5 MB, free: 14.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.3059, allocations: 160.3 kB / 331.6 MB, free: 13.97 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.306, allocations: 123.1 kB / 331.7 MB, free: 13.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.306, allocations: 26.83 kB / 331.8 MB, free: 13.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.3061, allocations: 95.69 kB / 331.9 MB, free: 13.73 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3061, allocations: 26.31 kB / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.3061, allocations: 0 / 331.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3063, allocations: 317.1 kB / 332.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.136e-05/0.3063, allocations: 23.86 kB / 332.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3065, allocations: 59.66 kB / 332.3 MB, free: 13.33 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.3066, allocations: 34.41 kB / 332.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3066, allocations: 1.25 kB / 332.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002266/0.3068, allocations: 101.4 kB / 332.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3068, allocations: 5.781 kB / 332.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3068, allocations: 1.062 kB / 332.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3069, allocations: 10.59 kB / 332.4 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.819e-05/0.307, allocations: 18.08 kB / 332.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.307, allocations: 1.344 kB / 332.4 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.694e-05/0.307, allocations: 16.39 kB / 332.5 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.3071, allocations: 2.031 kB / 332.5 MB, free: 13.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/0.3072, allocations: 114.4 kB / 332.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.3073, allocations: 12.27 kB / 332.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.3073, allocations: 13.53 kB / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.3073, allocations: 1.844 kB / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3073, allocations: 2.188 kB / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3073, allocations: 0.9375 kB / 332.6 MB, free: 13.09 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.3077, allocations: 193.5 kB / 332.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3077, allocations: 1.469 kB / 332.8 MB, free: 12.87 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/0.3078, allocations: 18.52 kB / 332.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3078, allocations: 1.469 kB / 332.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.3078, allocations: 5.562 kB / 332.8 MB, free: 12.86 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3078, allocations: 10.77 kB / 332.8 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3078, allocations: 1.469 kB / 332.8 MB, free: 12.85 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.3082, allocations: 0.4985 MB / 333.3 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.3083, allocations: 87.33 kB / 333.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3083, allocations: 10.42 kB / 333.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3085, allocations: 6.438 kB / 333.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.3085, allocations: 8.766 kB / 333.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.3086, allocations: 6.406 kB / 333.4 MB, free: 12.26 MB / 270.1 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.3086, allocations: 96.09 kB / 333.5 MB, free: 12.18 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3086, allocations: 0 / 333.5 MB, free: 12.18 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.309, allocations: 12.66 kB / 333.6 MB, free: 12.17 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 (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.0001038/0.3091, allocations: 93.86 kB / 333.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3094, allocations: 70.89 kB / 333.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3094, allocations: 0 / 333.7 MB, free: 12.06 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.3095, allocations: 40.95 kB / 333.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.31, allocations: 3.219 kB / 333.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.3105, allocations: 236 kB / 334 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3108, allocations: 0.6981 MB / 334.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.608e-05/0.3109, allocations: 9.125 kB / 334.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.3109, allocations: 9.844 kB / 334.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3109, allocations: 0 / 334.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of Templates: time 0.002731/0.3136, allocations: 449.7 kB / 335.1 MB, free: 10.87 MB / 270.1 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)