Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.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.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001162, allocations: 98.38 kB / 16.5 MB, free: 6.641 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.00126/0.00126, allocations: 194.6 kB / 17.42 MB, free: 6.066 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.401/1.401, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001238/0.001238, allocations: 56.41 kB / 279.3 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09912, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002107/0.1013, allocations: 1.302 MB / 327.3 MB, free: 3.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008252/0.1021, allocations: 471.1 kB / 327.7 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.1021, allocations: 0 / 327.7 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.1022, allocations: 0 / 327.7 MB, free: 3.109 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.1025, allocations: 51.88 kB / 327.8 MB, free: 3.059 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.1027, allocations: 67.81 kB / 327.8 MB, free: 2.992 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.1027, allocations: 31.97 kB / 327.9 MB, free: 2.961 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.1028, allocations: 7.984 kB / 327.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.1028, allocations: 23.84 kB / 327.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.1028, allocations: 19.92 kB / 327.9 MB, free: 2.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1028, allocations: 7.938 kB / 327.9 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.103, allocations: 119.8 kB / 328 MB, free: 2.785 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.912e-05/0.1031, allocations: 31.86 kB / 328.1 MB, free: 2.754 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.1031, allocations: 47.69 kB / 328.1 MB, free: 2.707 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.1033, allocations: 171.5 kB / 328.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1034, allocations: 0 / 328.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1034, allocations: 4 kB / 328.3 MB, free: 2.535 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1034, allocations: 0 / 328.3 MB, free: 2.535 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004865/0.1039, allocations: 0.5648 MB / 328.9 MB, free: 1.906 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1039, allocations: 12.03 kB / 328.9 MB, free: 1.895 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.104, allocations: 20.75 kB / 328.9 MB, free: 1.875 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.1042, allocations: 176.2 kB / 329.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1042, allocations: 4.375 kB / 329.1 MB, free: 1.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.1042, allocations: 4.375 kB / 329.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.1045, allocations: 279.7 kB / 329.3 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1045, allocations: 192 / 329.3 MB, free: 1.371 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1046, allocations: 7.938 kB / 329.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1046, allocations: 4 kB / 329.4 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1047, allocations: 147.7 kB / 329.5 MB, free: 1.215 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1049, allocations: 198.3 kB / 329.7 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003361/0.1052, allocations: 0.4893 MB / 330.2 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.1055, allocations: 469.7 kB / 330.6 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.1055, allocations: 11.94 kB / 330.6 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.106, allocations: 480.5 kB / 331.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of pre-optimization done (n=46): time 1.162e-06/0.106, allocations: 0 / 331.1 MB, free: 15.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=46): time 0.000749/0.1067, allocations: 0.7153 MB / 331.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.1068, allocations: 160.5 kB / 332 MB, free: 14.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.1069, allocations: 101.8 kB / 332.1 MB, free: 14.44 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1069, allocations: 33.77 kB / 332.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.107, allocations: 81.14 kB / 332.2 MB, free: 14.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.107, allocations: 82.81 kB / 332.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.1071, allocations: 41.69 kB / 332.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1072, allocations: 326.8 kB / 332.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1073, allocations: 80.34 kB / 332.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.679e-05/0.1074, allocations: 110.4 kB / 332.8 MB, free: 13.67 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1077, allocations: 421.4 kB / 333.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1077, allocations: 0 / 333.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003025/0.108, allocations: 344.8 kB / 333.6 MB, free: 12.87 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.17e-05/0.1081, allocations: 111.3 kB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1081, allocations: 4 kB / 333.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1081, allocations: 7.984 kB / 333.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.442e-06/0.1081, allocations: 3.938 kB / 333.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1081, allocations: 3.938 kB / 333.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.1082, allocations: 27.69 kB / 333.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.1082, allocations: 8.391 kB / 333.7 MB, free: 12.7 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 (state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],r1024,r128,r64,$whenCondition2,iImpure,rImpure,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1084, allocations: 295.7 kB / 334 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.585e-05/0.1085, allocations: 27.75 kB / 334.1 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.645e-05/0.1085, allocations: 17.55 kB / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1085, allocations: 3.984 kB / 334.1 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1085, allocations: 3.938 kB / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1085, allocations: 0 / 334.1 MB, free: 12.33 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.1087, allocations: 229.3 kB / 334.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1087, allocations: 0 / 334.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1087, allocations: 0 / 334.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1087, allocations: 3.938 kB / 334.3 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1087, allocations: 19.98 kB / 334.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1087, allocations: 0 / 334.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1087, allocations: 8 kB / 334.3 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1098, allocations: 1.232 MB / 335.6 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.1099, allocations: 96.86 kB / 335.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.11, allocations: 71.88 kB / 335.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.1101, allocations: 8 kB / 335.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1101, allocations: 8 kB / 335.7 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.1101, allocations: 15.98 kB / 335.8 MB, free: 10.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.1102, allocations: 87.31 kB / 335.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1102, allocations: 0 / 335.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.1105, allocations: 91.98 kB / 335.9 MB, free: 10.37 MB / 286.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: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005176/0.111, allocations: 302.3 kB / 336.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.1125, allocations: 2.127 MB / 338.4 MB, free: 7.926 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1125, allocations: 4 kB / 338.4 MB, free: 7.922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.1139, allocations: 2.182 MB / 340.5 MB, free: 5.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.1141, allocations: 24 kB / 340.6 MB, free: 5.691 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.1147, allocations: 414.1 kB / 341 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.1149, allocations: 0.7286 MB / 341.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.288e-06/0.115, allocations: 0 / 341.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.115, allocations: 7.438 kB / 341.7 MB, free: 4.492 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.115, allocations: 0 / 341.7 MB, free: 4.492 MB / 286.1 MB Notification: Performance of Templates: time 0.005374/0.1204, allocations: 2.812 MB / 344.5 MB, free: 1.676 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.makefile (rm -f Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; mkfifo Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe >> ../files/Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.sim & ./Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers.pipe 2>&1)