Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,fileNamePrefix="OpenIPSL_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.001095/0.001096, allocations: 174.8 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.194/1.194, 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.0008427/0.0008427, allocations: 100.6 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4339/0.4339, allocations: 78.03 MB / 414.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.267e-05/4.286e-05, allocations: 3.984 kB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2918, allocations: 69.34 MB / 0.5481 GB, free: 20.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1351/0.4269, allocations: 114 MB / 0.6594 GB, free: 2.363 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4271, allocations: 91.94 kB / 0.6595 GB, free: 2.273 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3976/0.8248, allocations: 47.99 MB / 0.7063 GB, free: 104.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.8248, allocations: 7.938 kB / 0.7063 GB, free: 104.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001424/0.825, allocations: 37.16 kB / 0.7064 GB, free: 104 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.00631/0.8313, allocations: 2.321 MB / 0.7086 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.8313, allocations: 15.97 kB / 0.7087 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004441/0.8318, allocations: 185.6 kB / 0.7088 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.8349, allocations: 0.5775 MB / 0.7094 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/0.837, allocations: 1.086 MB / 0.7105 GB, free: 99.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004129/0.8375, allocations: 0.5004 MB / 0.7109 GB, free: 99.33 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.8379, allocations: 131.9 kB / 0.7111 GB, free: 99.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002586/0.8405, allocations: 1.459 MB / 0.7125 GB, free: 97.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.8405, allocations: 0 / 0.7125 GB, free: 97.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.8406, allocations: 52 kB / 0.7125 GB, free: 97.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.8407, allocations: 28 kB / 0.7126 GB, free: 97.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.8427, allocations: 1.27 MB / 0.7138 GB, free: 96.32 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.008407/0.8511, allocations: 5.907 MB / 0.7196 GB, free: 90.22 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/0.8582, allocations: 3.275 MB / 0.7228 GB, free: 86.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.8594, allocations: 0.7845 MB / 0.7235 GB, free: 86.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.8595, allocations: 28.19 kB / 0.7236 GB, free: 85.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/0.8609, allocations: 0.9445 MB / 0.7245 GB, free: 85.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 3.186e-06/0.8609, allocations: 0 / 0.7245 GB, free: 85.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.01907/0.88, allocations: 7.966 MB / 0.7323 GB, free: 76.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.8801, allocations: 205.1 kB / 0.7325 GB, free: 76.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.8823, allocations: 1.261 MB / 0.7337 GB, free: 75.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.8826, allocations: 53.7 kB / 0.7338 GB, free: 75.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.8831, allocations: 0.7437 MB / 0.7345 GB, free: 74.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005758/0.8837, allocations: 0.5083 MB / 0.735 GB, free: 74.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.8838, allocations: 36 kB / 0.735 GB, free: 74.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.532e-05/0.8839, allocations: 365.9 kB / 0.7354 GB, free: 73.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.885, allocations: 0.668 MB / 0.736 GB, free: 73.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001176/0.8862, allocations: 0.8914 MB / 0.7369 GB, free: 72.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.8874, allocations: 0.7729 MB / 0.7376 GB, free: 71.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.8874, allocations: 0 / 0.7376 GB, free: 71.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004453/0.8919, allocations: 2.575 MB / 0.7402 GB, free: 68.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003174/0.8922, allocations: 1.845 MB / 0.742 GB, free: 66.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.8922, allocations: 7.953 kB / 0.742 GB, free: 66.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007335/0.8996, allocations: 2.511 MB / 0.7444 GB, free: 64.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/0.9004, allocations: 207.7 kB / 0.7446 GB, free: 64.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/0.9048, allocations: 3.082 MB / 0.7476 GB, free: 60.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/0.9068, allocations: 223.8 kB / 0.7478 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/0.907, allocations: 55.98 kB / 0.7479 GB, free: 60.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.907, allocations: 4 kB / 0.7479 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003745/0.9108, allocations: 2.353 MB / 0.7502 GB, free: 58.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.9108, allocations: 8.203 kB / 0.7502 GB, free: 58.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007064/0.9179, allocations: 2.513 MB / 0.7527 GB, free: 55.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008112/0.9187, allocations: 199.7 kB / 0.7528 GB, free: 55.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005947/0.9247, allocations: 4.353 MB / 0.7571 GB, free: 51.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.9268, allocations: 215.9 kB / 0.7573 GB, free: 50.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.927, allocations: 59.94 kB / 0.7574 GB, free: 50.76 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.000332/0.9273, allocations: 182 kB / 0.7575 GB, free: 50.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.9277, allocations: 189.7 kB / 0.7577 GB, free: 50.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.942, allocations: 5.366 MB / 0.763 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.9421, allocations: 16 kB / 0.763 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9421, allocations: 3.938 kB / 0.763 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-05/0.9421, allocations: 11.97 kB / 0.763 GB, free: 44.97 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.01895/0.9611, allocations: 7.708 MB / 0.7705 GB, free: 37.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.9612, allocations: 0 / 0.7705 GB, free: 37.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009989/0.9622, allocations: 175.7 kB / 0.7707 GB, free: 36.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006091/0.9683, allocations: 2.081 MB / 0.7727 GB, free: 34.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000271/0.9686, allocations: 40 kB / 0.7727 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.9865, allocations: 9.616 MB / 0.7821 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9866, allocations: 4.031 kB / 0.7821 GB, free: 24.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0162/1.003, allocations: 6.487 MB / 0.7885 GB, free: 18.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007814/1.004, allocations: 278.8 kB / 0.7887 GB, free: 18.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/1.004, allocations: 28 kB / 0.7888 GB, free: 18.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.006, allocations: 203.8 kB / 0.789 GB, free: 17.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009984/1.007, allocations: 309.1 kB / 0.7893 GB, free: 17.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.007, allocations: 47.98 kB / 0.7893 GB, free: 17.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001571/1.009, allocations: 0.9674 MB / 0.7902 GB, free: 16.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/1.009, allocations: 4 kB / 0.7903 GB, free: 16.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002663/1.012, allocations: 0.7696 MB / 0.791 GB, free: 15.83 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.01677/1.028, allocations: 7.34 MB / 0.7982 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0126/1.041, allocations: 4.777 MB / 0.8028 GB, free: 3.629 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.041, allocations: 0 / 0.8028 GB, free: 3.629 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005373/1.047, allocations: 2.138 MB / 0.8049 GB, free: 1.465 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/1.048, allocations: 146 kB / 0.8051 GB, free: 1.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006999/1.055, allocations: 3.116 MB / 0.8081 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009541/1.056, allocations: 1.37 MB / 0.8094 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001269/1.057, allocations: 271.1 kB / 0.8097 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008506/1.058, allocations: 0.6945 MB / 0.8104 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of SimCode: time 7.81e-07/1.058, allocations: 0 / 0.8104 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/1.148, allocations: 51.92 MB / 0.8611 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.148, allocations: 158.7 kB / 0.8612 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.62/4.768, allocations: 0 / 0.8612 GB, free: 7.816 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_HYGOV.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)