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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 94.97 kB / 16.3 MB, free: 5.996 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.001601/0.001601, allocations: 183.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004538/0.0004539, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2016, allocations: 47.58 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.RealNetwork1): time 0.001566/0.2032, allocations: 1.505 MB / 329.2 MB, free: 232 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2043, allocations: 0.5934 MB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.2045, allocations: 3.562 kB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.2046, allocations: 15.84 kB / 329.8 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.2047, allocations: 42.91 kB / 329.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.205, allocations: 46.48 kB / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.2052, allocations: 110.4 kB / 330 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.2054, allocations: 56.67 kB / 330.1 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2055, allocations: 56.48 kB / 330.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.2057, allocations: 60.73 kB / 330.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.2057, allocations: 4.875 kB / 330.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.961e-05/0.2058, allocations: 11.78 kB / 330.2 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.671e-05/0.2058, allocations: 37.02 kB / 330.2 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.108e-05/0.2059, allocations: 52.64 kB / 330.3 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.206, allocations: 110 kB / 330.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.206, allocations: 4 kB / 330.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2061, allocations: 0 / 330.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2061, allocations: 1.281 kB / 330.4 MB, free: 15.34 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.000791/0.2069, allocations: 0.4905 MB / 330.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2069, allocations: 9.375 kB / 330.9 MB, free: 14.88 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.207, allocations: 21.97 kB / 330.9 MB, free: 14.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.2072, allocations: 226.1 kB / 331.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2073, allocations: 23.38 kB / 331.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.2073, allocations: 12.78 kB / 331.2 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.2077, allocations: 196.7 kB / 331.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2077, allocations: 1.438 kB / 331.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.2077, allocations: 9.406 kB / 331.4 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.2077, allocations: 13.45 kB / 331.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.2081, allocations: 156.1 kB / 331.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.2092, allocations: 0.7778 MB / 332.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.2095, allocations: 179.9 kB / 332.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.2096, allocations: 2.562 kB / 332.5 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.2098, allocations: 147.7 kB / 332.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.2098, allocations: 0 / 332.6 MB, free: 13.46 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005742/0.2104, allocations: 271.8 kB / 332.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.2105, allocations: 83.55 kB / 333 MB, free: 13.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.2107, allocations: 205.2 kB / 333.2 MB, free: 13.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.2107, allocations: 28.67 kB / 333.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2109, allocations: 146.2 kB / 333.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.211, allocations: 41.7 kB / 333.4 MB, free: 12.87 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.211, allocations: 5.188 kB / 333.4 MB, free: 12.86 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2111, allocations: 326.7 kB / 333.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.2113, allocations: 75.23 kB / 333.8 MB, free: 12.51 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.2115, allocations: 128.5 kB / 333.9 MB, free: 12.41 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.2116, allocations: 89.22 kB / 334 MB, free: 12.37 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2117, allocations: 1.031 kB / 334 MB, free: 12.37 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004748/0.2121, allocations: 250.7 kB / 334.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.2122, allocations: 6.719 kB / 334.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2122, allocations: 1.281 kB / 334.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2122, allocations: 7.062 kB / 334.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2124, allocations: 38.28 kB / 334.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2124, allocations: 3.875 kB / 334.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.2126, allocations: 41.34 kB / 334.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/0.2126, allocations: 11.33 kB / 334.4 MB, free: 12.2 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.0001322/0.2128, allocations: 139.3 kB / 334.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.2128, allocations: 24.03 kB / 334.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004674/0.2133, allocations: 219.3 kB / 334.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2133, allocations: 1.25 kB / 334.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.2133, allocations: 1.094 kB / 334.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2133, allocations: 5.109 kB / 334.7 MB, free: 11.92 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.2136, allocations: 274.9 kB / 335 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2136, allocations: 1.531 kB / 335 MB, free: 11.65 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2137, allocations: 24.58 kB / 335 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2137, allocations: 1.5 kB / 335 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2137, allocations: 1.469 kB / 335 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.2138, allocations: 5.484 kB / 335 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2138, allocations: 1.344 kB / 335 MB, free: 11.64 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.2142, allocations: 251 kB / 335.3 MB, free: 11.46 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.2142, allocations: 94.69 kB / 335.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.2143, allocations: 5.031 kB / 335.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.2144, allocations: 23.97 kB / 335.4 MB, free: 11.35 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.2145, allocations: 22.45 kB / 335.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.2145, allocations: 3.438 kB / 335.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.2147, allocations: 151.8 kB / 335.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2147, allocations: 0 / 335.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.215, allocations: 43.84 kB / 335.6 MB, free: 11.16 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.0002187/0.2152, allocations: 107.2 kB / 335.7 MB, free: 11.05 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.2156, allocations: 179.8 kB / 335.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2156, allocations: 0 / 335.9 MB, free: 10.87 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.2158, allocations: 83.89 kB / 336 MB, free: 10.79 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.2161, allocations: 40.34 kB / 336 MB, free: 10.75 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006383/0.2168, allocations: 418.3 kB / 336.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2171, allocations: 0.7477 MB / 337.2 MB, free: 9.539 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.985e-05/0.2172, allocations: 33.52 kB / 337.2 MB, free: 9.508 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.2173, allocations: 15.44 kB / 337.2 MB, free: 9.492 MB / 270.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2173, allocations: 0 / 337.2 MB, free: 9.492 MB / 270.1 MB Notification: Performance of Templates: time 0.004606/0.2219, allocations: 1.821 MB / 339.1 MB, free: 7.672 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: