Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GGOV1,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.001545/0.001544, allocations: 178.4 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 229.6 MB, free: 7.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 99.05 kB / 280.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5138/0.5138, allocations: 78.94 MB / 410.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.132e-05, allocations: 4 kB / 486 MB, free: 11.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 69.52 MB / 0.5425 GB, free: 5.781 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5901, allocations: 123.5 MB / 0.6632 GB, free: 6.312 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5904, allocations: 91.94 kB / 0.6633 GB, free: 6.223 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1574/0.7478, allocations: 58.53 MB / 0.7204 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7479, allocations: 0 / 0.7204 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003484/0.7482, allocations: 53.09 kB / 0.7205 GB, free: 11.72 MB / 0.5261 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.009286/0.7575, allocations: 2.737 MB / 0.7232 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.7576, allocations: 8.031 kB / 0.7232 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.7625, allocations: 0.7733 MB / 0.7239 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004578/0.7671, allocations: 1.633 MB / 0.7255 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000664/0.7678, allocations: 473 kB / 0.726 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007776/0.7686, allocations: 99.91 kB / 0.7261 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00401/0.7726, allocations: 1.509 MB / 0.7275 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.7771, allocations: 1.618 MB / 0.7291 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.146e-05/0.7772, allocations: 4 kB / 0.7291 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.7775, allocations: 1.219 kB / 0.7291 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/0.7775, allocations: 40 kB / 0.7292 GB, free: 2.547 MB / 0.5261 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.01807/0.7956, allocations: 7.718 MB / 0.7367 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00921/0.8049, allocations: 3.502 MB / 0.7401 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.8066, allocations: 0.881 MB / 0.741 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.8069, allocations: 25.3 kB / 0.741 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.807, allocations: 55.86 kB / 0.7411 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=163): time 4.388e-06/0.807, allocations: 4 kB / 0.7411 GB, free: 5.977 MB / 0.5417 GB Notification: Performance of matching and sorting (n=163): time 0.0177/0.8247, allocations: 5.384 MB / 0.7463 GB, free: 0.5664 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.8249, allocations: 274.3 kB / 0.7466 GB, free: 244 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004155/0.829, allocations: 1.627 MB / 0.7482 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005166/0.8296, allocations: 29.7 kB / 0.7482 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.8307, allocations: 0.9745 MB / 0.7491 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.8318, allocations: 0.5589 MB / 0.7497 GB, free: 13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003362/0.8321, allocations: 0 / 0.7497 GB, free: 13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.8324, allocations: 381.8 kB / 0.7501 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/0.8341, allocations: 0.7734 MB / 0.7508 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.8361, allocations: 1.086 MB / 0.7519 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/0.8381, allocations: 0.8845 MB / 0.7527 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/0.8382, allocations: 4 kB / 0.7527 GB, free: 9.766 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.006522/0.8447, allocations: 2.685 MB / 0.7554 GB, free: 7.066 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.8461, allocations: 2.694 MB / 0.758 GB, free: 4.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.8462, allocations: 4.75 kB / 0.758 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008395/0.8546, allocations: 2.348 MB / 0.7603 GB, free: 1.742 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.8565, allocations: 387.4 kB / 0.7607 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3268/1.183, allocations: 3.005 MB / 0.7636 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.187, allocations: 322.3 kB / 0.7639 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/1.187, allocations: 75.72 kB / 0.764 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.187, allocations: 5.125 kB / 0.764 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004276/1.191, allocations: 2.34 MB / 0.7663 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.191, allocations: 9.5 kB / 0.7663 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007549/1.199, allocations: 2.347 MB / 0.7686 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.2, allocations: 344.1 kB / 0.7689 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/1.206, allocations: 3.807 MB / 0.7726 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002871/1.209, allocations: 270.7 kB / 0.7729 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/1.209, allocations: 71.3 kB / 0.7729 GB, free: 119.1 MB / 0.5573 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gGOV1.min_select.u[3]:VARIABLE() type: Real [3] 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 (192): * Single equations (assignments): 190 * 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.0005578/1.209, allocations: 154 kB / 0.7731 GB, free: 119 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01533/1.225, allocations: 5.37 MB / 0.7783 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/1.226, allocations: 232.8 kB / 0.7786 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/1.242, allocations: 5.42 MB / 0.7838 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-05/1.242, allocations: 19.3 kB / 0.7839 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.242, allocations: 1.312 kB / 0.7839 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.019e-05/1.243, allocations: 11.78 kB / 0.7839 GB, free: 118.6 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.02343/1.266, allocations: 8.043 MB / 0.7917 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/1.266, allocations: 4.156 kB / 0.7917 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00169/1.268, allocations: 245.1 kB / 0.792 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007446/1.275, allocations: 2.049 MB / 0.794 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004999/1.276, allocations: 18.28 kB / 0.794 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/1.296, allocations: 9.153 MB / 0.8029 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/1.296, allocations: 1.875 kB / 0.8029 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/1.317, allocations: 6.837 MB / 0.8096 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/1.318, allocations: 357.6 kB / 0.8099 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006723/1.319, allocations: 7.625 kB / 0.81 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002855/1.322, allocations: 219 kB / 0.8102 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001168/1.323, allocations: 290.1 kB / 0.8104 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.323, allocations: 53.31 kB / 0.8105 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002447/1.326, allocations: 1.212 MB / 0.8117 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.6e-07/1.326, allocations: 0 / 0.8117 GB, free: 113.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003513/1.329, allocations: 0.9389 MB / 0.8126 GB, free: 113.6 MB / 0.5573 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.01866/1.348, allocations: 7.515 MB / 0.8199 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.362, allocations: 4.853 MB / 0.8247 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.912e-06/1.362, allocations: 0 / 0.8247 GB, free: 110.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006388/1.368, allocations: 2.127 MB / 0.8267 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.371, allocations: 210.5 kB / 0.8269 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009612/1.381, allocations: 3.809 MB / 0.8307 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.382, allocations: 1.572 MB / 0.8322 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001919/1.384, allocations: 380.6 kB / 0.8326 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.385, allocations: 0.9057 MB / 0.8334 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/1.385, allocations: 4 kB / 0.8335 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/1.486, allocations: 56.78 MB / 0.8889 GB, free: 76.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/1.486, allocations: 125.9 kB / 0.889 GB, free: 76.73 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.348/5.835, allocations: 0 / 0.889 GB, free: 76.73 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GGOV1.pipe 2>&1)