Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1") translateModel(Modelica.Blocks.Examples.RealNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009951/0.009951, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.42/1.42, allocations: 170.8 MB / 186.6 MB, free: 0.9688 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001634/0.001633, allocations: 114.6 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2387, allocations: 38.76 MB / 312.9 MB, free: 38.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0918/0.3305, allocations: 67.34 MB / 380.2 MB, free: 7.184 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.3308, allocations: 71.97 kB / 380.3 MB, free: 7.113 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008898/0.3398, allocations: 2.668 MB / 382.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.238e-06/0.3399, allocations: 0 / 382.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.023e-05/0.3399, allocations: 12 kB / 383 MB, free: 4.426 MB / 282.7 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.001149/0.3411, allocations: 500 kB / 383.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.3411, allocations: 8.031 kB / 383.5 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.169e-05/0.3412, allocations: 23.72 kB / 383.5 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.3416, allocations: 235 kB / 383.7 MB, free: 3.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.3417, allocations: 16.28 kB / 383.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.3417, allocations: 19.95 kB / 383.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3422, allocations: 194.9 kB / 383.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3422, allocations: 0 / 383.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.3422, allocations: 4 kB / 383.9 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.3422, allocations: 19.92 kB / 384 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.3426, allocations: 131.9 kB / 384.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3439, allocations: 0.7975 MB / 384.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.3443, allocations: 161 kB / 385 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.3443, allocations: 4 kB / 385 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/0.3447, allocations: 156.9 kB / 385.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.3447, allocations: 0 / 385.2 MB, free: 1.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006541/0.3454, allocations: 253.2 kB / 385.4 MB, free: 1.727 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/0.3455, allocations: 81.11 kB / 385.5 MB, free: 1.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3457, allocations: 182.3 kB / 385.7 MB, free: 1.445 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.3457, allocations: 37.64 kB / 385.7 MB, free: 1.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3458, allocations: 152.1 kB / 385.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.3459, allocations: 47.39 kB / 385.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/0.3459, allocations: 0 / 385.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.346, allocations: 330.8 kB / 386.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3462, allocations: 71.95 kB / 386.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.3463, allocations: 122.8 kB / 386.4 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3465, allocations: 86.06 kB / 386.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3465, allocations: 3.938 kB / 386.5 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000387/0.3469, allocations: 237.4 kB / 386.8 MB, free: 340 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3469, allocations: 12 kB / 386.8 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3469, allocations: 0 / 386.8 MB, free: 328 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.347, allocations: 4 kB / 386.8 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3471, allocations: 35.98 kB / 386.8 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.3472, allocations: 11.92 kB / 386.8 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.3473, allocations: 35.83 kB / 386.9 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.3474, allocations: 12 kB / 386.9 MB, free: 228 kB / 282.7 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 () * Number of clocked 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.0001504/0.3475, allocations: 145.8 kB / 387 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.3476, allocations: 23.75 kB / 387 MB, free: 48 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.348, allocations: 206.9 kB / 387.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3481, allocations: 11.94 kB / 387.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3481, allocations: 0 / 387.3 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3481, allocations: 3.984 kB / 387.3 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.3483, allocations: 269.4 kB / 387.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3484, allocations: 0 / 387.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.3485, allocations: 23.98 kB / 387.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3485, allocations: 3.984 kB / 387.5 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.3485, allocations: 8 kB / 387.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3485, allocations: 0 / 387.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3485, allocations: 4.859 kB / 387.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3489, allocations: 241.9 kB / 387.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.349, allocations: 112.8 kB / 387.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.3491, allocations: 4 kB / 387.9 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.3492, allocations: 31.91 kB / 387.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.3493, allocations: 15.97 kB / 388 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3493, allocations: 4 kB / 388 MB, free: 15.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.3494, allocations: 148.6 kB / 388.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3494, allocations: 0 / 388.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002583/0.3497, allocations: 36 kB / 388.1 MB, free: 14.85 MB / 298.7 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 () * Number of clocked 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.0001518/0.3499, allocations: 103.2 kB / 388.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.3502, allocations: 175.7 kB / 388.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3503, allocations: 4.375 kB / 388.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.3504, allocations: 88.19 kB / 388.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3507, allocations: 42.11 kB / 388.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006734/0.3514, allocations: 422.8 kB / 389 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3517, allocations: 0.7438 MB / 389.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.3518, allocations: 33.53 kB / 389.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.3519, allocations: 19.42 kB / 389.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3519, allocations: 0 / 389.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of Templates: time 0.004572/0.3565, allocations: 1.816 MB / 391.6 MB, free: 11.38 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.pipe 2>&1)