Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.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.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009499/0.0009498, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.285/1.285, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001608/0.001608, allocations: 120 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.105e-05, allocations: 7.984 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08612/0.08615, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2851/0.3714, allocations: 71.88 MB / 414.4 MB, free: 23.98 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.3717, allocations: 65.91 kB / 414.5 MB, free: 23.95 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.006841/0.3785, allocations: 2.628 MB / 417.1 MB, free: 21.73 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3785, allocations: 0 / 417.1 MB, free: 21.73 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3786, allocations: 4 kB / 417.1 MB, free: 21.73 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0005628/0.3791, allocations: 479 kB / 417.6 MB, free: 21.23 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3792, allocations: 12.59 kB / 417.6 MB, free: 21.22 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.3792, allocations: 21.44 kB / 417.6 MB, free: 21.2 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3795, allocations: 233.7 kB / 417.9 MB, free: 20.95 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.3795, allocations: 4 kB / 417.9 MB, free: 20.94 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3795, allocations: 15.94 kB / 417.9 MB, free: 20.93 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001893/0.3797, allocations: 103.1 kB / 418 MB, free: 20.86 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3799, allocations: 171 kB / 418.1 MB, free: 20.71 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.38, allocations: 0 / 418.1 MB, free: 20.71 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.38, allocations: 0 / 418.1 MB, free: 20.71 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.38, allocations: 4 kB / 418.2 MB, free: 20.7 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.3809, allocations: 0.7589 MB / 418.9 MB, free: 19.96 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.3811, allocations: 139.7 kB / 419 MB, free: 19.84 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.3812, allocations: 57.08 kB / 419.1 MB, free: 19.8 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.3812, allocations: 4.141 kB / 419.1 MB, free: 19.79 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3814, allocations: 136.4 kB / 419.2 MB, free: 19.66 MB / 315.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3814, allocations: 0 / 419.2 MB, free: 19.66 MB / 315.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002845/0.3817, allocations: 162.1 kB / 419.4 MB, free: 19.53 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3817, allocations: 81.11 kB / 419.5 MB, free: 19.43 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3819, allocations: 162.2 kB / 419.6 MB, free: 19.29 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3819, allocations: 29.7 kB / 419.7 MB, free: 19.25 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.382, allocations: 143.2 kB / 419.8 MB, free: 19.13 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.382, allocations: 43.33 kB / 419.8 MB, free: 19.09 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.382, allocations: 0 / 419.8 MB, free: 19.09 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.3821, allocations: 334.6 kB / 420.2 MB, free: 18.77 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.25e-05/0.3821, allocations: 51.61 kB / 420.2 MB, free: 18.73 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.3823, allocations: 106 kB / 420.3 MB, free: 18.62 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3824, allocations: 67.84 kB / 420.4 MB, free: 18.58 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3824, allocations: 4 kB / 420.4 MB, free: 18.57 MB / 315.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002451/0.3827, allocations: 185 kB / 420.6 MB, free: 18.42 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3827, allocations: 8 kB / 420.6 MB, free: 18.41 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3827, allocations: 2.625 kB / 420.6 MB, free: 18.41 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3827, allocations: 4 kB / 420.6 MB, free: 18.41 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.3829, allocations: 43.97 kB / 420.6 MB, free: 18.37 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3829, allocations: 4.109 kB / 420.6 MB, free: 18.36 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.3831, allocations: 39.75 kB / 420.7 MB, free: 18.32 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3831, allocations: 4 kB / 420.7 MB, free: 18.32 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0002058/0.3833, allocations: 124.5 kB / 420.8 MB, free: 18.2 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.3833, allocations: 15.81 kB / 420.8 MB, free: 18.18 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.3836, allocations: 188.4 kB / 421 MB, free: 18.04 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3836, allocations: 6.906 kB / 421 MB, free: 18.03 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3837, allocations: 0 / 421 MB, free: 18.03 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3837, allocations: 0 / 421 MB, free: 18.03 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3838, allocations: 233.1 kB / 421.2 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3838, allocations: 0 / 421.2 MB, free: 17.79 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.384, allocations: 27.3 kB / 421.3 MB, free: 17.77 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.384, allocations: 3.938 kB / 421.3 MB, free: 17.77 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.384, allocations: 4 kB / 421.3 MB, free: 17.76 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.384, allocations: 4 kB / 421.3 MB, free: 17.76 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.384, allocations: 1.188 kB / 421.3 MB, free: 17.76 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.3842, allocations: 201.6 kB / 421.5 MB, free: 17.57 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.3843, allocations: 92.86 kB / 421.6 MB, free: 17.46 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.3843, allocations: 4 kB / 421.6 MB, free: 17.45 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3844, allocations: 23.97 kB / 421.6 MB, free: 17.43 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.3845, allocations: 16.84 kB / 421.6 MB, free: 17.42 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3845, allocations: 4 kB / 421.6 MB, free: 17.41 MB / 315.1 MB Notification: Performance of sorting global known variables: time 7.245e-05/0.3846, allocations: 139.2 kB / 421.7 MB, free: 17.3 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3846, allocations: 0 / 421.7 MB, free: 17.3 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3848, allocations: 31.91 kB / 421.8 MB, free: 17.27 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001389/0.385, allocations: 104.2 kB / 421.9 MB, free: 17.15 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3852, allocations: 141 kB / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3852, allocations: 0 / 422 MB, free: 17.05 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.3853, allocations: 69.78 kB / 422.1 MB, free: 17 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.3856, allocations: 32.5 kB / 422.1 MB, free: 16.98 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.386, allocations: 262.7 kB / 422.4 MB, free: 16.73 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3862, allocations: 0.7399 MB / 423.1 MB, free: 15.96 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.3863, allocations: 39.02 kB / 423.2 MB, free: 15.92 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.3864, allocations: 19.42 kB / 423.2 MB, free: 15.9 MB / 315.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3864, allocations: 0 / 423.2 MB, free: 15.9 MB / 315.1 MB Notification: Performance of Templates: time 0.003722/0.3901, allocations: 1.704 MB / 424.9 MB, free: 14.26 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1)