Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 77.88 kB / 20.66 MB, free: 3.832 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9518/0.9518, allocations: 177.2 MB / 201.1 MB, free: 5.695 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 156.6 kB / 257.7 MB, free: 12.97 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.2916/0.2916, allocations: 80.24 MB / 394.5 MB, free: 3.027 MB / 362.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo): time 0.03285/0.03285, allocations: 4.806 MB / 482.6 MB, free: 71.62 MB / 410.7 MB " [Timeout remaining time 180] Using package OpenHPL with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHPL 4.0.0/package.mo) Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenHPL.Examples.WithOpenIPSL.DetailedGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen") translateModel(OpenHPL.Examples.WithOpenIPSL.DetailedGen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5687 GB, free: 3.738 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.364e-05, allocations: 6.25 kB / 0.5687 GB, free: 3.73 MB / 442.7 MB Notification: Performance of NFInst.instantiate(OpenHPL.Examples.WithOpenIPSL.DetailedGen): time 0.01073/0.01075, allocations: 11.27 MB / 0.5797 GB, free: 8.406 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009846/0.0206, allocations: 5.955 MB / 0.5856 GB, free: 2.43 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00211/0.02271, allocations: 43.75 kB / 0.5856 GB, free: 2.387 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.02538, allocations: 1.449 MB / 0.587 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004151/0.02953, allocations: 1.604 MB / 0.5886 GB, free: 15.32 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004912/0.03444, allocations: 2.74 MB / 0.5913 GB, free: 12.57 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.007049/0.04149, allocations: 6.314 MB / 0.5974 GB, free: 6.242 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003997/0.04549, allocations: 2.106 MB / 0.5995 GB, free: 4.102 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005537/0.05103, allocations: 3.31 MB / 0.6027 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008794/0.05982, allocations: 4.634 MB / 0.6072 GB, free: 12.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006359/0.06618, allocations: 0.9062 MB / 0.6081 GB, free: 11.24 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007033/0.07321, allocations: 1.335 MB / 0.6094 GB, free: 9.902 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01107/0.08428, allocations: 4.065 MB / 0.6134 GB, free: 5.828 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01287/0.09715, allocations: 3.312 MB / 0.6166 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2129/0.31, allocations: 10.34 MB / 0.6267 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.31, allocations: 2.188 kB / 0.6267 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.31, allocations: 0 / 0.6267 GB, free: 107.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006039/0.3106, allocations: 0 / 0.6267 GB, free: 107.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2527 * Number of variables: 2527 Notification: Performance of Generate backend data structure: time 0.03273/0.3434, allocations: 11.35 MB / 0.6378 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3434, allocations: 6.594 kB / 0.6378 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/0.3489, allocations: 2.225 MB / 0.64 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.3531, allocations: 3.394 MB / 0.6433 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.3535, allocations: 0.7774 MB / 0.6441 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000978/0.3545, allocations: 0.71 MB / 0.6448 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009253/0.3637, allocations: 7.602 MB / 0.6522 GB, free: 99.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.3638, allocations: 10.56 kB / 0.6522 GB, free: 99.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007034/0.3645, allocations: 292.6 kB / 0.6525 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002353/0.3669, allocations: 1.539 MB / 0.654 GB, free: 99.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.3731, allocations: 4.029 MB / 0.6579 GB, free: 97.8 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03335/0.4065, allocations: 26.13 MB / 0.6834 GB, free: 73.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.4124, allocations: 7.706 MB / 0.6909 GB, free: 66.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.4144, allocations: 1.727 MB / 0.6926 GB, free: 64.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.415, allocations: 273.2 kB / 0.6929 GB, free: 64.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.4151, allocations: 132 kB / 0.693 GB, free: 63.91 MB / 490.7 MB Notification: Performance of pre-optimization done (n=852): time 9.207e-06/0.4151, allocations: 0 / 0.693 GB, free: 63.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=873): time 0.02816/0.4432, allocations: 16.74 MB / 0.7094 GB, free: 47.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/0.4433, allocations: 454.7 kB / 0.7098 GB, free: 46.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.445, allocations: 2.139 MB / 0.7119 GB, free: 44.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004596/0.4455, allocations: 177.7 kB / 0.7121 GB, free: 44.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.4465, allocations: 3.161 MB / 0.7151 GB, free: 41.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001718/0.4482, allocations: 3.19 MB / 0.7183 GB, free: 38.67 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001859/0.4501, allocations: 1.545 MB / 0.7198 GB, free: 37.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.4501, allocations: 480.7 kB / 0.7202 GB, free: 36.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/0.4526, allocations: 1.685 MB / 0.7219 GB, free: 35.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002981/0.4556, allocations: 3.286 MB / 0.7251 GB, free: 31.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008519/0.4641, allocations: 7.489 MB / 0.7324 GB, free: 24.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/0.4641, allocations: 4 kB / 0.7324 GB, free: 24.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=1035) (initialization): time 0.01429/0.4784, allocations: 8.783 MB / 0.741 GB, free: 15.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4784, allocations: 8 kB / 0.741 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.723e-05/0.4785, allocations: 16 kB / 0.741 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/0.4878, allocations: 3.935 MB / 0.7448 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/0.4931, allocations: 1.623 MB / 0.7464 GB, free: 9.918 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.5081, allocations: 15.71 MB / 0.7618 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005073/0.5131, allocations: 279.9 kB / 0.762 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005297/0.5137, allocations: 247.8 kB / 0.7623 GB, free: 9.391 MB / 0.4948 GB Warning: Assuming fixed start value for the following 3 variables: turbine.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real turbine.inertia.w:VARIABLE(start = turbine.f_0 * 2.0 * 3.141592653589793 * turbine.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005446/0.5191, allocations: 1.934 MB / 0.7642 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003844/0.523, allocations: 3.278 MB / 0.7674 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01008/0.533, allocations: 7.469 MB / 0.7746 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.532e-05/0.5331, allocations: 8 kB / 0.7747 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1035) (initialization_lambda0): time 0.01684/0.5499, allocations: 8.779 MB / 0.7832 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.5499, allocations: 17.23 kB / 0.7832 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.5499, allocations: 12 kB / 0.7833 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009781/0.5597, allocations: 3.935 MB / 0.7871 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005554/0.5653, allocations: 1.607 MB / 0.7887 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/0.5827, allocations: 15.7 MB / 0.804 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/0.5879, allocations: 279.9 kB / 0.8043 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007282/0.5886, allocations: 255.5 kB / 0.8045 GB, free: 12.98 MB / 0.5417 GB Warning: Assuming fixed start value for the following 3 variables: turbine.speedSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real turbine.inertia.w:VARIABLE(start = turbine.f_0 * 2.0 * 3.141592653589793 * turbine.f_nom unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real generator.delta:VARIABLE(flow=false start = generator.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 4 (penstock.KP.boundaryCon[2,2],penstock.KP.boundaryCon[2,1],penstock.KP.boundaryCon[1,2],penstock.KP.boundaryCon[1,1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (940): * Single equations (assignments): 935 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,26), (1,7), (1,20), (1,7), (26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001939/0.5906, allocations: 0.6953 MB / 0.8052 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/0.592, allocations: 0.7624 MB / 0.8059 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/0.607, allocations: 9.049 MB / 0.8148 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.559e-05/0.6071, allocations: 47.81 kB / 0.8148 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.6071, allocations: 0 / 0.8148 GB, free: 2.367 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/0.6095, allocations: 1.421 MB / 0.8162 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008113/0.6104, allocations: 175.9 kB / 0.8164 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002946/0.6133, allocations: 255.9 kB / 0.8166 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002968/0.6163, allocations: 1.04 MB / 0.8176 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01307/0.6293, allocations: 6.386 MB / 0.8239 GB, free: 9.051 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01203/0.6414, allocations: 7.918 MB / 0.8316 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2432/0.8846, allocations: 2.47 MB / 0.834 GB, free: 180.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001816/0.8864, allocations: 1.143 MB / 0.8351 GB, free: 180 MB / 0.5573 GB Notification: Performance of Backend: time 3.51e-07/0.8864, allocations: 0 / 0.8351 GB, free: 180 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02633/0.9127, allocations: 11.65 MB / 0.8465 GB, free: 177.8 MB / 0.5573 GB Notification: Performance of SimCode: time 0.02595/0.9387, allocations: 15.6 MB / 0.8617 GB, free: 171.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.3824/1.321, allocations: 218.3 MB / 1.075 GB, free: 183.1 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.makefile [Timeout 660] (rm -f OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.pipe ; mkfifo OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.pipe ; head -c 1048576 < OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.pipe >> ../files/OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.sim & ./OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen -abortSlowSimulation -alarm=240 -lv LOG_STATS > OpenHPL_OpenHPL.Examples.WithOpenIPSL.DetailedGen.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 8.72155503788963]