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.0008963/0.0008964, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.271/1.271, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001624/0.001624, allocations: 107.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.364e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06752/0.06755, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2668/0.3344, allocations: 66.57 MB / 367.5 MB, free: 1.766 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001537/0.3346, allocations: 67.16 kB / 367.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006809/0.3414, allocations: 2.633 MB / 370.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3414, allocations: 4 kB / 370.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.3414, allocations: 8 kB / 370.3 MB, free: 15.48 MB / 266.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.0006478/0.3421, allocations: 478.3 kB / 370.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3421, allocations: 8.688 kB / 370.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.3422, allocations: 27.72 kB / 370.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3425, allocations: 234.8 kB / 371 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3425, allocations: 4 kB / 371 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3425, allocations: 15.94 kB / 371 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002021/0.3427, allocations: 100.3 kB / 371.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.343, allocations: 159.7 kB / 371.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.343, allocations: 7.875 kB / 371.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.343, allocations: 4 kB / 371.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.343, allocations: 8 kB / 371.3 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.3441, allocations: 0.7495 MB / 372 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.3443, allocations: 142 kB / 372.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.089e-05/0.3444, allocations: 63.25 kB / 372.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.3445, allocations: 4 kB / 372.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3447, allocations: 130.2 kB / 372.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3447, allocations: 0 / 372.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003193/0.345, allocations: 156.5 kB / 372.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.345, allocations: 77.11 kB / 372.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3452, allocations: 170.5 kB / 372.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3452, allocations: 25.7 kB / 372.8 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.608e-05/0.3453, allocations: 143.5 kB / 372.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.3454, allocations: 42.19 kB / 373 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.3454, allocations: 7.938 kB / 373 MB, free: 12.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3455, allocations: 328.4 kB / 373.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.3456, allocations: 51.55 kB / 373.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3457, allocations: 106.5 kB / 373.4 MB, free: 12.37 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3459, allocations: 64.88 kB / 373.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3459, allocations: 0 / 373.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002985/0.3462, allocations: 203.7 kB / 373.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3462, allocations: 4 kB / 373.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3462, allocations: 4.188 kB / 373.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3463, allocations: 8 kB / 373.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.3464, allocations: 39.09 kB / 373.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3464, allocations: 4.547 kB / 373.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3466, allocations: 31.81 kB / 373.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.3466, allocations: 12 kB / 373.8 MB, free: 12.05 MB / 266.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 () * 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 9.878e-05/0.3468, allocations: 116.8 kB / 373.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.3468, allocations: 23.86 kB / 373.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.3471, allocations: 181.2 kB / 374.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3471, allocations: 3.984 kB / 374.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3471, allocations: 4 kB / 374.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3471, allocations: 0 / 374.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.3474, allocations: 230 kB / 374.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3474, allocations: 0 / 374.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3475, allocations: 31.61 kB / 374.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3475, allocations: 0 / 374.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.3475, allocations: 7.953 kB / 374.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3476, allocations: 0 / 374.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3476, allocations: 0 / 374.4 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3478, allocations: 198.6 kB / 374.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.3479, allocations: 111 kB / 374.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.348, allocations: 7.953 kB / 374.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3481, allocations: 19.97 kB / 374.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.3482, allocations: 11.98 kB / 374.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3482, allocations: 7.75 kB / 374.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.664e-05/0.3483, allocations: 141.6 kB / 374.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3483, allocations: 0 / 374.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000231/0.3485, allocations: 39.84 kB / 374.9 MB, free: 10.98 MB / 266.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 () * 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.0001331/0.3487, allocations: 103.2 kB / 375 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3489, allocations: 135.6 kB / 375.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3489, allocations: 0 / 375.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.349, allocations: 69.59 kB / 375.2 MB, free: 10.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3493, allocations: 34.73 kB / 375.3 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.3498, allocations: 244.8 kB / 375.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3501, allocations: 0.7384 MB / 376.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.3502, allocations: 41.83 kB / 376.3 MB, free: 9.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.489e-05/0.3503, allocations: 19.42 kB / 376.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3503, allocations: 0 / 376.3 MB, free: 9.625 MB / 266.7 MB Notification: Performance of Templates: time 0.004253/0.3545, allocations: 1.71 MB / 378 MB, free: 7.926 MB / 266.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)