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.0009384/0.0009384, allocations: 179.6 kB / 16.38 MB, free: 5.766 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.159/1.159, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001561/0.001561, allocations: 110.6 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.07929, allocations: 44.49 MB / 355 MB, free: 2.352 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.3077, allocations: 72.62 MB / 427.7 MB, free: 16.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.3079, allocations: 65.97 kB / 427.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006521/0.3145, allocations: 2.666 MB / 430.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3145, allocations: 0.5625 kB / 430.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3145, allocations: 12 kB / 430.4 MB, free: 14.59 MB / 314.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.0005514/0.3151, allocations: 499.2 kB / 430.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.3151, allocations: 8.031 kB / 430.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3152, allocations: 24.84 kB / 430.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3154, allocations: 241 kB / 431.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.3154, allocations: 7.594 kB / 431.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.3154, allocations: 15.5 kB / 431.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.3157, allocations: 194.5 kB / 431.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3157, allocations: 4 kB / 431.4 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3157, allocations: 11.25 kB / 431.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3158, allocations: 7.812 kB / 431.4 MB, free: 13.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.316, allocations: 143.4 kB / 431.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.3168, allocations: 0.7899 MB / 432.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.3171, allocations: 162.2 kB / 432.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.3171, allocations: 8.141 kB / 432.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.3173, allocations: 154.2 kB / 432.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.3174, allocations: 0 / 432.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.000446/0.3178, allocations: 261.9 kB / 432.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3178, allocations: 77.11 kB / 433 MB, free: 12.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.318, allocations: 183 kB / 433.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.318, allocations: 33.08 kB / 433.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.876e-05/0.318, allocations: 139.4 kB / 433.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3181, allocations: 41.83 kB / 433.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-06/0.3181, allocations: 3.562 kB / 433.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.594e-05/0.3181, allocations: 329.4 kB / 433.7 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.3183, allocations: 74.52 kB / 433.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3184, allocations: 122.2 kB / 433.9 MB, free: 11.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3186, allocations: 90.88 kB / 434 MB, free: 11.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3186, allocations: 0 / 434 MB, free: 11.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003278/0.3189, allocations: 240.8 kB / 434.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3189, allocations: 4 kB / 434.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3189, allocations: 3.562 kB / 434.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.319, allocations: 4.109 kB / 434.2 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3191, allocations: 51.3 kB / 434.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3191, allocations: 4 kB / 434.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.3193, allocations: 39.69 kB / 434.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3193, allocations: 8 kB / 434.3 MB, free: 10.88 MB / 314.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 8.281e-05/0.3194, allocations: 132.1 kB / 434.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.3194, allocations: 23.8 kB / 434.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.3198, allocations: 224.2 kB / 434.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3198, allocations: 4 kB / 434.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3198, allocations: 5.734 kB / 434.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3198, allocations: 0 / 434.7 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.32, allocations: 268.5 kB / 435 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.32, allocations: 0 / 435 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.3201, allocations: 23.98 kB / 435 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3201, allocations: 0 / 435 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3201, allocations: 8 kB / 435 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3201, allocations: 0 / 435 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3202, allocations: 3.938 kB / 435 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.3204, allocations: 238.2 kB / 435.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.3205, allocations: 103.4 kB / 435.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3205, allocations: 0 / 435.3 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.3207, allocations: 26.59 kB / 435.4 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.3207, allocations: 23.61 kB / 435.4 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3207, allocations: 4 kB / 435.4 MB, free: 9.855 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.446e-05/0.3208, allocations: 142.5 kB / 435.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3208, allocations: 0 / 435.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.321, allocations: 38.38 kB / 435.6 MB, free: 9.703 MB / 314.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.0001078/0.3212, allocations: 106.8 kB / 435.7 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003015/0.3215, allocations: 175.8 kB / 435.8 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3215, allocations: 0 / 435.8 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3216, allocations: 86.14 kB / 435.9 MB, free: 9.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.3218, allocations: 37.14 kB / 436 MB, free: 9.363 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.3223, allocations: 430.5 kB / 436.4 MB, free: 8.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.3225, allocations: 0.736 MB / 437.1 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.876e-05/0.3226, allocations: 42.77 kB / 437.2 MB, free: 8.148 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.3226, allocations: 15.44 kB / 437.2 MB, free: 8.137 MB / 314.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3226, allocations: 0 / 437.2 MB, free: 8.137 MB / 314.7 MB Notification: Performance of Templates: time 0.003456/0.3261, allocations: 1.816 MB / 439 MB, free: 6.406 MB / 314.7 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)