Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_dev_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.001099/0.001098, 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 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008244/0.0008244, allocations: 87.34 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4512/0.4512, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.314e-05, allocations: 4 kB / 492.9 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3088, allocations: 69.5 MB / 0.5492 GB, free: 19.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4406, allocations: 114.7 MB / 0.6612 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4409, allocations: 91.94 kB / 0.6613 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3865/0.8274, allocations: 45.55 MB / 0.7058 GB, free: 104.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.8274, allocations: 0 / 0.7058 GB, free: 104.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.8276, allocations: 38.34 kB / 0.7058 GB, free: 104.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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.006143/0.8337, allocations: 2.319 MB / 0.7081 GB, free: 102.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.8338, allocations: 19.91 kB / 0.7081 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004357/0.8342, allocations: 189.6 kB / 0.7083 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004197/0.8384, allocations: 0.794 MB / 0.7091 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.8408, allocations: 1.149 MB / 0.7102 GB, free: 99.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004228/0.8412, allocations: 0.4966 MB / 0.7107 GB, free: 99.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003478/0.8416, allocations: 132 kB / 0.7108 GB, free: 99.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.8441, allocations: 1.459 MB / 0.7122 GB, free: 97.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.8442, allocations: 4 kB / 0.7122 GB, free: 97.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.8443, allocations: 44 kB / 0.7123 GB, free: 97.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.8443, allocations: 36 kB / 0.7123 GB, free: 97.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.8464, allocations: 1.274 MB / 0.7135 GB, free: 96.31 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.009364/0.8558, allocations: 6.019 MB / 0.7194 GB, free: 90.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00703/0.8628, allocations: 3.279 MB / 0.7226 GB, free: 86.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.864, allocations: 0.7767 MB / 0.7234 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.8642, allocations: 24.75 kB / 0.7234 GB, free: 85.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.8656, allocations: 0.9523 MB / 0.7243 GB, free: 84.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 4.098e-06/0.8656, allocations: 448 / 0.7243 GB, free: 84.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.01874/0.8844, allocations: 7.961 MB / 0.7321 GB, free: 76.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.8845, allocations: 201.1 kB / 0.7323 GB, free: 76.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.8866, allocations: 1.343 MB / 0.7336 GB, free: 75.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/0.8869, allocations: 53.7 kB / 0.7337 GB, free: 75.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.8874, allocations: 0.734 MB / 0.7344 GB, free: 74.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005967/0.888, allocations: 0.5035 MB / 0.7349 GB, free: 73.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.8882, allocations: 40 kB / 0.7349 GB, free: 73.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.8883, allocations: 361.9 kB / 0.7353 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.8894, allocations: 0.6718 MB / 0.7359 GB, free: 72.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.8907, allocations: 0.8914 MB / 0.7368 GB, free: 71.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.8919, allocations: 0.7729 MB / 0.7375 GB, free: 71.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.892, allocations: 3.938 kB / 0.7375 GB, free: 71.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004264/0.8962, allocations: 2.567 MB / 0.7401 GB, free: 68.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003137/0.8966, allocations: 1.85 MB / 0.7419 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8966, allocations: 8 kB / 0.7419 GB, free: 66.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00712/0.9037, allocations: 2.507 MB / 0.7443 GB, free: 64.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009093/0.9046, allocations: 199.7 kB / 0.7445 GB, free: 63.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/0.909, allocations: 3.084 MB / 0.7475 GB, free: 60.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.9113, allocations: 223.8 kB / 0.7477 GB, free: 60.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.9114, allocations: 55.98 kB / 0.7478 GB, free: 60.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.9115, allocations: 4 kB / 0.7478 GB, free: 60.45 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003621/0.9151, allocations: 2.353 MB / 0.7501 GB, free: 58.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.9151, allocations: 8.031 kB / 0.7501 GB, free: 58.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006981/0.9221, allocations: 2.508 MB / 0.7525 GB, free: 55.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.923, allocations: 207.7 kB / 0.7527 GB, free: 55.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.9291, allocations: 4.356 MB / 0.757 GB, free: 50.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.9313, allocations: 219.8 kB / 0.7572 GB, free: 50.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/0.9316, allocations: 55.98 kB / 0.7573 GB, free: 50.57 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.0003833/0.932, allocations: 182 kB / 0.7574 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/0.9324, allocations: 193.7 kB / 0.7576 GB, free: 50.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.9462, allocations: 5.367 MB / 0.7629 GB, free: 44.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.9463, allocations: 16 kB / 0.7629 GB, free: 44.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9463, allocations: 0 / 0.7629 GB, free: 44.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-05/0.9463, allocations: 11.97 kB / 0.7629 GB, free: 44.78 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.01746/0.9638, allocations: 7.761 MB / 0.7705 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.9639, allocations: 3.953 kB / 0.7705 GB, free: 36.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.9649, allocations: 171.7 kB / 0.7706 GB, free: 36.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006252/0.9712, allocations: 2.082 MB / 0.7727 GB, free: 34.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003335/0.9715, allocations: 32 kB / 0.7727 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01718/0.9887, allocations: 9.607 MB / 0.7821 GB, free: 24.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9887, allocations: 3.984 kB / 0.7821 GB, free: 24.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.005, allocations: 6.501 MB / 0.7884 GB, free: 18.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006659/1.005, allocations: 290.7 kB / 0.7887 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005679/1.006, allocations: 32 kB / 0.7887 GB, free: 17.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.008, allocations: 203.8 kB / 0.7889 GB, free: 17.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009095/1.009, allocations: 313.1 kB / 0.7892 GB, free: 17.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.009, allocations: 43.98 kB / 0.7893 GB, free: 17.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001308/1.01, allocations: 1.026 MB / 0.7903 GB, free: 16.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.01, allocations: 4 kB / 0.7903 GB, free: 16.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002024/1.012, allocations: 0.7891 MB / 0.791 GB, free: 15.5 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.01596/1.028, allocations: 7.335 MB / 0.7982 GB, free: 8.105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01234/1.041, allocations: 4.777 MB / 0.8029 GB, free: 3.301 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.041, allocations: 0 / 0.8029 GB, free: 3.301 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/1.046, allocations: 2.144 MB / 0.805 GB, free: 1.125 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.047, allocations: 148.2 kB / 0.8051 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/1.054, allocations: 3.105 MB / 0.8081 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/1.054, allocations: 1.374 MB / 0.8095 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001326/1.056, allocations: 271.3 kB / 0.8097 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007997/1.057, allocations: 0.6906 MB / 0.8104 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/1.057, allocations: 0 / 0.8104 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/1.138, allocations: 52.5 MB / 0.8617 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.138, allocations: 162.8 kB / 0.8618 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.596/4.734, allocations: 0 / 0.8618 GB, free: 6.879 MB / 0.5417 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)