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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001686/0.001686, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0004986/0.0004988, allocations: 12 kB / 278.8 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3048, allocations: 47.59 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.001961/0.3068, allocations: 1.513 MB / 327.9 MB, free: 252 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3081, allocations: 0.5929 MB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.3082, allocations: 2.188 kB / 328.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.3084, allocations: 12.98 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.3086, allocations: 38.12 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.3089, allocations: 56.09 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.3092, allocations: 109.1 kB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.3094, allocations: 58.7 kB / 328.8 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3095, allocations: 47.94 kB / 328.9 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.3097, allocations: 67.78 kB / 328.9 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3097, allocations: 9.344 kB / 328.9 MB, free: 15.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-05/0.3098, allocations: 15.83 kB / 328.9 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.3098, allocations: 29.69 kB / 329 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.3099, allocations: 51.92 kB / 329 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.3101, allocations: 110.3 kB / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.3101, allocations: 0 / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3101, allocations: 0 / 329.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3101, allocations: 0 / 329.1 MB, free: 15.36 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009478/0.3111, allocations: 0.4884 MB / 329.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3111, allocations: 8.625 kB / 329.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.339e-05/0.3112, allocations: 22.78 kB / 329.7 MB, free: 14.89 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.3116, allocations: 233.6 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.3116, allocations: 15.08 kB / 329.9 MB, free: 14.64 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3116, allocations: 21 kB / 329.9 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.3121, allocations: 192.9 kB / 330.1 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3121, allocations: 0 / 330.1 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.3121, allocations: 10.41 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.3122, allocations: 8.688 kB / 330.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.3125, allocations: 152.6 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.3138, allocations: 0.7936 MB / 331.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.3142, allocations: 160 kB / 331.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.3142, allocations: 10.27 kB / 331.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.3145, allocations: 148.5 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3145, allocations: 0 / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006155/0.3152, allocations: 267.3 kB / 331.6 MB, free: 13.36 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.3152, allocations: 84.34 kB / 331.7 MB, free: 13.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.3154, allocations: 205 kB / 331.9 MB, free: 13.1 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.3155, allocations: 28.92 kB / 332 MB, free: 13.07 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3156, allocations: 145.8 kB / 332.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3156, allocations: 45.27 kB / 332.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.3157, allocations: 5.094 kB / 332.1 MB, free: 12.89 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3158, allocations: 327.5 kB / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.316, allocations: 71.3 kB / 332.5 MB, free: 12.54 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3162, allocations: 132.8 kB / 332.7 MB, free: 12.43 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.3164, allocations: 92.31 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3164, allocations: 5.5 kB / 332.8 MB, free: 12.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004362/0.3168, allocations: 243.2 kB / 333 MB, free: 12.27 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3168, allocations: 4.594 kB / 333 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.3169, allocations: 2.312 kB / 333 MB, free: 12.27 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3169, allocations: 7.094 kB / 333 MB, free: 12.26 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3171, allocations: 38.75 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3171, allocations: 3.031 kB / 333 MB, free: 12.25 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.3173, allocations: 42.09 kB / 333.1 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.3174, allocations: 10.91 kB / 333.1 MB, free: 12.22 MB / 270.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.pulseStart,booleanPulse1.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart) * 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.0001592/0.3175, allocations: 139.3 kB / 333.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3176, allocations: 23.67 kB / 333.3 MB, free: 12.07 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004541/0.318, allocations: 218.7 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.318, allocations: 3.406 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3181, allocations: 0 / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3181, allocations: 4.938 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.3184, allocations: 275.6 kB / 333.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3184, allocations: 0 / 333.8 MB, free: 11.68 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3185, allocations: 26.17 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.3185, allocations: 1.125 kB / 333.8 MB, free: 11.67 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.3185, allocations: 5.172 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3186, allocations: 1.156 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3186, allocations: 5.156 kB / 333.8 MB, free: 11.66 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.319, allocations: 247.4 kB / 334 MB, free: 11.49 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.3191, allocations: 92.8 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3191, allocations: 0 / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3193, allocations: 31.97 kB / 334.2 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.3193, allocations: 19.97 kB / 334.2 MB, free: 11.34 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3194, allocations: 7.938 kB / 334.2 MB, free: 11.33 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3195, allocations: 144.3 kB / 334.3 MB, free: 11.19 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3195, allocations: 0 / 334.3 MB, free: 11.19 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3198, allocations: 43.84 kB / 334.4 MB, free: 11.14 MB / 270.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.pulseStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulseStart) * 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.0001927/0.32, allocations: 107.3 kB / 334.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.3204, allocations: 183.7 kB / 334.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3205, allocations: 0 / 334.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.3207, allocations: 92.27 kB / 334.7 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.321, allocations: 31.97 kB / 334.8 MB, free: 10.73 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008281/0.3218, allocations: 418.8 kB / 335.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.3222, allocations: 0.7477 MB / 335.9 MB, free: 9.52 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.3224, allocations: 33.53 kB / 336 MB, free: 9.488 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.3224, allocations: 19.42 kB / 336 MB, free: 9.469 MB / 270.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3224, allocations: 0 / 336 MB, free: 9.469 MB / 270.1 MB Notification: Performance of Templates: time 0.005102/0.3275, allocations: 1.817 MB / 337.8 MB, free: 7.652 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.RealNetwork1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: