Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.343/1.343, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007528/0.000753, allocations: 85.94 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07137/0.07137, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2728/0.2728, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.794e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 69.24 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5731, allocations: 125.2 MB / 0.7112 GB, free: 7.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.5735, allocations: 89.38 kB / 0.7113 GB, free: 7.359 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1587/0.7322, allocations: 59.45 MB / 0.7693 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7323, allocations: 0 / 0.7693 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003289/0.7326, allocations: 60.08 kB / 0.7694 GB, free: 5.504 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.009022/0.7417, allocations: 2.735 MB / 0.772 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.7417, allocations: 15.98 kB / 0.7721 GB, free: 2.891 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008814/0.7426, allocations: 221.9 kB / 0.7723 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/0.7468, allocations: 0.6696 MB / 0.7729 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/0.7518, allocations: 1.611 MB / 0.7745 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006775/0.7525, allocations: 0.5244 MB / 0.775 GB, free: 260 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007365/0.7533, allocations: 163.9 kB / 0.7752 GB, free: 96 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/0.7583, allocations: 1.839 MB / 0.777 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.51e-05/0.7583, allocations: 7.938 kB / 0.777 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/0.7587, allocations: 64 kB / 0.777 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.776e-05/0.7587, allocations: 36 kB / 0.7771 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.7624, allocations: 1.593 MB / 0.7786 GB, free: 12.47 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01797/0.7804, allocations: 7.958 MB / 0.7864 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009164/0.7896, allocations: 3.559 MB / 0.7899 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002159/0.7918, allocations: 0.9048 MB / 0.7907 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.7922, allocations: 33.2 kB / 0.7908 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.7922, allocations: 51.86 kB / 0.7908 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=163): time 4.618e-06/0.7922, allocations: 0 / 0.7908 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=163): time 0.01769/0.8099, allocations: 5.482 MB / 0.7962 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8101, allocations: 274.3 kB / 0.7964 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.814, allocations: 1.775 MB / 0.7982 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004841/0.8145, allocations: 61.7 kB / 0.7982 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009381/0.8154, allocations: 0.9869 MB / 0.7992 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.8165, allocations: 0.5775 MB / 0.7998 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003935/0.8169, allocations: 40 kB / 0.7998 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.8171, allocations: 377.9 kB / 0.8002 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003196/0.8203, allocations: 0.8164 MB / 0.801 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/0.8237, allocations: 1.145 MB / 0.8021 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.8268, allocations: 0.9156 MB / 0.803 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/0.8269, allocations: 4 kB / 0.803 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=255) (initialization): time 0.01005/0.8369, allocations: 2.888 MB / 0.8058 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.8381, allocations: 2.703 MB / 0.8084 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.8382, allocations: 4 kB / 0.8084 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01483/0.853, allocations: 2.594 MB / 0.811 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003226/0.8563, allocations: 387.5 kB / 0.8113 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.8624, allocations: 2.844 MB / 0.8141 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/0.8655, allocations: 378 kB / 0.8145 GB, free: 6.738 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/0.8658, allocations: 71.98 kB / 0.8145 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.8658, allocations: 4 kB / 0.8146 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004539/0.8704, allocations: 2.569 MB / 0.8171 GB, free: 4.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.8704, allocations: 15.97 kB / 0.8171 GB, free: 4.074 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007864/0.8783, allocations: 2.575 MB / 0.8196 GB, free: 1.488 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.8799, allocations: 351.5 kB / 0.8199 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005622/0.8856, allocations: 3.714 MB / 0.8236 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.8885, allocations: 318.4 kB / 0.8239 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002379/0.8888, allocations: 71.98 kB / 0.8239 GB, free: 12.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 (gGOV1.gGOV1_Power.s7.local_reset,gGOV1.gGOV1_Power.s2.local_reset,gGOV1.gGOV1_Turb.s3.local_reset,gGOV1.gGOV1_Temp.s6.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 196 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0005133/0.8893, allocations: 209.4 kB / 0.8241 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005875/0.8899, allocations: 248.9 kB / 0.8244 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/0.9056, allocations: 5.561 MB / 0.8298 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-05/0.9056, allocations: 20 kB / 0.8298 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9057, allocations: 4 kB / 0.8298 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.615e-05/0.9057, allocations: 11.92 kB / 0.8298 GB, free: 6.812 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.01996/0.9257, allocations: 8.333 MB / 0.838 GB, free: 14.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.5e-05/0.9258, allocations: 4.125 kB / 0.838 GB, free: 14.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001569/0.9273, allocations: 243.7 kB / 0.8382 GB, free: 14.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006802/0.9342, allocations: 2.073 MB / 0.8402 GB, free: 12.02 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004671/0.9347, allocations: 43.98 kB / 0.8403 GB, free: 11.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01878/0.9535, allocations: 9.34 MB / 0.8494 GB, free: 2.355 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.9535, allocations: 4 kB / 0.8494 GB, free: 2.352 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/0.9724, allocations: 6.97 MB / 0.8562 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009695/0.9734, allocations: 373.8 kB / 0.8566 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008213/0.9743, allocations: 32 kB / 0.8566 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/0.9769, allocations: 247.8 kB / 0.8568 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009972/0.9779, allocations: 285.2 kB / 0.8571 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.9781, allocations: 44 kB / 0.8571 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002069/0.9802, allocations: 1.353 MB / 0.8585 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9802, allocations: 0 / 0.8585 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00289/0.9831, allocations: 1.037 MB / 0.8595 GB, free: 7.941 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,gGOV1.gGOV1_Temp.s6.y,gGOV1.gGOV1_Turb.s4.TF.x_scaled[1],gGOV1.gGOV1_Turb.s3.y,gGOV1.gGOV1_Turb.s5.state,gGOV1.gGOV1_Turb.s9.TF.x_scaled[1],gGOV1.gGOV1_Accel.s8.x,gGOV1.gGOV1_Power.s2.y,gGOV1.gGOV1_Power.s7.y,gGOV1.gGOV1_Power.s0.state,gGOV1.gGOV1_Power.s1.x,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01783/1.001, allocations: 7.686 MB / 0.867 GB, free: 220 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2939/1.295, allocations: 5.058 MB / 0.8719 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.295, allocations: 1.094 kB / 0.8719 GB, free: 172.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.007278/1.302, allocations: 2.199 MB / 0.8741 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.305, allocations: 243.9 kB / 0.8743 GB, free: 172.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/1.316, allocations: 3.967 MB / 0.8782 GB, free: 171.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/1.318, allocations: 1.582 MB / 0.8797 GB, free: 170.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002266/1.32, allocations: 388.9 kB / 0.8801 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/1.321, allocations: 0.9184 MB / 0.881 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.483e-06/1.321, allocations: 1.375 kB / 0.881 GB, free: 170.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08792/1.409, allocations: 61.4 MB / 0.9409 GB, free: 152 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/1.409, allocations: 165 kB / 0.9411 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.119/5.528, allocations: 4.062 kB / 0.9411 GB, free: 151.8 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe 2>&1)