Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.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.HYGOV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",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.00141/0.001413, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008145/0.0008145, allocations: 80.05 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4681/0.4681, allocations: 78.08 MB / 414.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.528e-05, allocations: 4 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3329, allocations: 69.34 MB / 0.5481 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1501/0.4831, allocations: 114 MB / 0.6594 GB, free: 2.504 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.4835, allocations: 83.95 kB / 0.6595 GB, free: 2.422 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.474/0.9575, allocations: 47.99 MB / 0.7064 GB, free: 104.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.9575, allocations: 3.984 kB / 0.7064 GB, free: 104.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.9576, allocations: 33.44 kB / 0.7064 GB, free: 104.1 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.006305/0.964, allocations: 2.319 MB / 0.7087 GB, free: 102.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.964, allocations: 11.97 kB / 0.7087 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004229/0.9644, allocations: 189.6 kB / 0.7089 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/0.9674, allocations: 0.5824 MB / 0.7094 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.9696, allocations: 1.09 MB / 0.7105 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004317/0.97, allocations: 0.5004 MB / 0.711 GB, free: 99.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.9704, allocations: 128 kB / 0.7111 GB, free: 99.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.9727, allocations: 1.451 MB / 0.7125 GB, free: 97.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.9727, allocations: 0 / 0.7125 GB, free: 97.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.9729, allocations: 59.94 kB / 0.7126 GB, free: 97.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.9729, allocations: 28 kB / 0.7126 GB, free: 97.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.975, allocations: 1.263 MB / 0.7138 GB, free: 96.61 MB / 490.7 MB 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.009049/0.984, allocations: 5.914 MB / 0.7196 GB, free: 90.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00702/0.9911, allocations: 3.279 MB / 0.7228 GB, free: 87.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.9924, allocations: 0.7806 MB / 0.7236 GB, free: 86.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.9925, allocations: 23.17 kB / 0.7236 GB, free: 86.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/0.9939, allocations: 0.9484 MB / 0.7245 GB, free: 85.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 3.656e-06/0.9939, allocations: 0 / 0.7245 GB, free: 85.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.01873/1.013, allocations: 7.969 MB / 0.7323 GB, free: 77.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/1.013, allocations: 201.2 kB / 0.7325 GB, free: 77.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/1.014, allocations: 1.265 MB / 0.7337 GB, free: 75.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003442/1.015, allocations: 49.7 kB / 0.7338 GB, free: 75.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/1.015, allocations: 0.7412 MB / 0.7345 GB, free: 74.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/1.016, allocations: 0.505 MB / 0.735 GB, free: 74.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.016, allocations: 32 kB / 0.735 GB, free: 74.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/1.016, allocations: 369.9 kB / 0.7354 GB, free: 74.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/1.017, allocations: 0.6719 MB / 0.736 GB, free: 73.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.018, allocations: 0.8952 MB / 0.7369 GB, free: 72.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.019, allocations: 0.769 MB / 0.7377 GB, free: 71.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.019, allocations: 4 kB / 0.7377 GB, free: 71.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004237/1.023, allocations: 2.578 MB / 0.7402 GB, free: 69.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000306/1.024, allocations: 1.835 MB / 0.742 GB, free: 67.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.024, allocations: 15.95 kB / 0.742 GB, free: 67.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007488/1.031, allocations: 2.515 MB / 0.7445 GB, free: 64.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/1.032, allocations: 199.7 kB / 0.7446 GB, free: 64.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/1.037, allocations: 3.08 MB / 0.7477 GB, free: 61.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/1.039, allocations: 231.8 kB / 0.7479 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.039, allocations: 55.98 kB / 0.7479 GB, free: 60.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/1.039, allocations: 4 kB / 0.7479 GB, free: 60.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/1.043, allocations: 2.349 MB / 0.7502 GB, free: 58.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.043, allocations: 4 kB / 0.7502 GB, free: 58.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/1.05, allocations: 2.511 MB / 0.7527 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/1.051, allocations: 203.7 kB / 0.7529 GB, free: 55.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006275/1.057, allocations: 4.355 MB / 0.7571 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/1.059, allocations: 211.8 kB / 0.7573 GB, free: 51.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.06, allocations: 67.94 kB / 0.7574 GB, free: 51.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 1 * 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 6,29 43} Notification: Performance of prepare postOptimizeDAE: time 0.0003276/1.06, allocations: 180.8 kB / 0.7576 GB, free: 50.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/1.06, allocations: 185.7 kB / 0.7577 GB, free: 50.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/1.074, allocations: 5.365 MB / 0.763 GB, free: 45.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.074, allocations: 19.94 kB / 0.763 GB, free: 45.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.074, allocations: 4 kB / 0.763 GB, free: 45.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.682e-05/1.074, allocations: 8.031 kB / 0.763 GB, free: 45.24 MB / 490.7 MB 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.01678/1.091, allocations: 7.707 MB / 0.7705 GB, free: 37.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/1.091, allocations: 0 / 0.7705 GB, free: 37.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009752/1.092, allocations: 175.8 kB / 0.7707 GB, free: 37.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006019/1.098, allocations: 2.084 MB / 0.7727 GB, free: 35.17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/1.099, allocations: 31.98 kB / 0.7728 GB, free: 35.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/1.116, allocations: 9.61 MB / 0.7822 GB, free: 25.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.116, allocations: 0 / 0.7822 GB, free: 25.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.132, allocations: 6.502 MB / 0.7885 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007544/1.133, allocations: 270.7 kB / 0.7888 GB, free: 18.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002677/1.133, allocations: 28 kB / 0.7888 GB, free: 18.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.135, allocations: 207.8 kB / 0.789 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009318/1.135, allocations: 313.2 kB / 0.7893 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/1.136, allocations: 39.98 kB / 0.7893 GB, free: 17.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001243/1.137, allocations: 0.9674 MB / 0.7903 GB, free: 16.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.137, allocations: 0 / 0.7903 GB, free: 16.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001855/1.139, allocations: 0.7774 MB / 0.791 GB, free: 16.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,hYGOV.SimpleLag1.state,hYGOV.q.y,hYGOV.g.state,hYGOV.Position_Limiter.y,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * 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 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01666/1.155, allocations: 7.35 MB / 0.7982 GB, free: 8.711 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/1.168, allocations: 4.77 MB / 0.8029 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.168, allocations: 4.125 kB / 0.8029 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005277/1.173, allocations: 2.14 MB / 0.805 GB, free: 1.738 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.174, allocations: 151.5 kB / 0.8051 GB, free: 1.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/1.181, allocations: 3.098 MB / 0.8081 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009275/1.181, allocations: 1.378 MB / 0.8095 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001223/1.183, allocations: 271.1 kB / 0.8097 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/1.184, allocations: 0.6906 MB / 0.8104 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of SimCode: time 7.01e-07/1.184, allocations: 0 / 0.8104 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09902/1.283, allocations: 51.92 MB / 0.8611 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/1.283, allocations: 170.7 kB / 0.8613 GB, free: 8.062 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.148/5.431, allocations: 4 kB / 0.8613 GB, free: 8.059 MB / 0.5417 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)