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.001103/0.001103, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0008509/0.0008509, allocations: 88.92 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08252/0.08252, allocations: 12.2 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3155/0.3155, allocations: 78.06 MB / 450.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.903e-05, allocations: 4 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1619, allocations: 69.23 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5124/0.6744, allocations: 124.5 MB / 0.7034 GB, free: 332 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.6747, allocations: 84.38 kB / 0.7035 GB, free: 284 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1502/0.8249, allocations: 58.82 MB / 0.761 GB, free: 184 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.8249, allocations: 0 / 0.761 GB, free: 184 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001703/0.8251, allocations: 52.16 kB / 0.761 GB, free: 132 kB / 490.7 MB 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.006981/0.8321, allocations: 2.734 MB / 0.7637 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.8321, allocations: 12.03 kB / 0.7637 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003096/0.8352, allocations: 0.66 MB / 0.7643 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/0.8381, allocations: 1.629 MB / 0.7659 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004923/0.8386, allocations: 469 kB / 0.7664 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.8388, allocations: 99.91 kB / 0.7665 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002682/0.8415, allocations: 1.506 MB / 0.7679 GB, free: 8.945 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.8442, allocations: 1.618 MB / 0.7695 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.8443, allocations: 4 kB / 0.7695 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.8444, allocations: 0 / 0.7695 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.8445, allocations: 40 kB / 0.7696 GB, free: 7.207 MB / 0.4948 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.01368/0.8582, allocations: 7.675 MB / 0.7771 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008295/0.8665, allocations: 3.502 MB / 0.7805 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.868, allocations: 0.8695 MB / 0.7813 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001704/0.8682, allocations: 37.19 kB / 0.7814 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.8682, allocations: 51.88 kB / 0.7814 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=163): time 3.546e-06/0.8683, allocations: 0 / 0.7814 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=163): time 0.01612/0.8844, allocations: 5.38 MB / 0.7867 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.8846, allocations: 282.3 kB / 0.7869 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.8874, allocations: 1.593 MB / 0.7885 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005408/0.888, allocations: 25.7 kB / 0.7885 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000804/0.8888, allocations: 0.9823 MB / 0.7895 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.8895, allocations: 0.5581 MB / 0.79 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.8896, allocations: 3.938 kB / 0.79 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.8898, allocations: 377.9 kB / 0.7904 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.8911, allocations: 0.7773 MB / 0.7912 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.8926, allocations: 1.082 MB / 0.7922 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.8942, allocations: 0.8805 MB / 0.7931 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.8942, allocations: 0 / 0.7931 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.005057/0.8993, allocations: 2.689 MB / 0.7957 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.9003, allocations: 2.695 MB / 0.7983 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.9003, allocations: 8 kB / 0.7983 GB, free: 8.828 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007564/0.9079, allocations: 2.352 MB / 0.8006 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9095, allocations: 387.4 kB / 0.801 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/0.9143, allocations: 3.023 MB / 0.804 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.9169, allocations: 322.3 kB / 0.8043 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.9171, allocations: 71.98 kB / 0.8043 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.9171, allocations: 4 kB / 0.8043 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004137/0.9212, allocations: 2.339 MB / 0.8066 GB, free: 284 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.9213, allocations: 8 kB / 0.8066 GB, free: 276 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007512/0.9288, allocations: 2.337 MB / 0.8089 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.9305, allocations: 347.5 kB / 0.8092 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.9362, allocations: 3.81 MB / 0.813 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/0.939, allocations: 274.4 kB / 0.8132 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.9392, allocations: 71.98 kB / 0.8133 GB, free: 9.293 MB / 0.5417 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.0005062/0.9397, allocations: 142.3 kB / 0.8134 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01556/0.9553, allocations: 5.372 MB / 0.8187 GB, free: 3.762 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000986/0.9563, allocations: 229.1 kB / 0.8189 GB, free: 3.535 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/0.9724, allocations: 5.427 MB / 0.8242 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/0.9725, allocations: 16 kB / 0.8242 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.9725, allocations: 8 kB / 0.8242 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.9726, allocations: 11.91 kB / 0.8242 GB, free: 14.05 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.0196/0.9922, allocations: 8.018 MB / 0.8321 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.9923, allocations: 0 / 0.8321 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.9938, allocations: 247.7 kB / 0.8323 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006363/1, allocations: 2.057 MB / 0.8343 GB, free: 3.586 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003572/1.001, allocations: 16 kB / 0.8343 GB, free: 3.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.018, allocations: 9.152 MB / 0.8433 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.018, allocations: 4 kB / 0.8433 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.036, allocations: 6.835 MB / 0.8499 GB, free: 3.305 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00136/1.037, allocations: 357.7 kB / 0.8503 GB, free: 2.934 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007291/1.038, allocations: 4 kB / 0.8503 GB, free: 2.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/1.04, allocations: 219.8 kB / 0.8505 GB, free: 2.715 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/1.041, allocations: 281.2 kB / 0.8508 GB, free: 2.438 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/1.041, allocations: 51.98 kB / 0.8508 GB, free: 2.387 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001797/1.043, allocations: 1.184 MB / 0.852 GB, free: 1.188 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.043, allocations: 0 / 0.852 GB, free: 1.188 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002639/1.046, allocations: 0.9352 MB / 0.8529 GB, free: 256 kB / 0.573 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.4703/1.516, allocations: 7.518 MB / 0.8602 GB, free: 159.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01609/1.532, allocations: 4.85 MB / 0.8649 GB, free: 159.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.532, allocations: 1.406 kB / 0.865 GB, free: 159.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006652/1.539, allocations: 2.131 MB / 0.867 GB, free: 158.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.541, allocations: 218.7 kB / 0.8672 GB, free: 158.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009614/1.551, allocations: 3.825 MB / 0.871 GB, free: 157.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.553, allocations: 1.572 MB / 0.8725 GB, free: 156.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001961/1.555, allocations: 390.2 kB / 0.8729 GB, free: 156.9 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.556, allocations: 0.9089 MB / 0.8738 GB, free: 156.9 MB / 0.573 GB Notification: Performance of SimCode: time 2.385e-06/1.556, allocations: 0 / 0.8738 GB, free: 156.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/1.659, allocations: 56.74 MB / 0.9292 GB, free: 137.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001748/1.659, allocations: 133.6 kB / 0.9293 GB, free: 137.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.702/6.361, allocations: 0 / 0.9293 GB, free: 137.1 MB / 0.573 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)