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/ModelicaServices 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/Complex 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008796/0.0008795, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 223.2 MB / 238.9 MB, free: 5.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 189 kB / 290.2 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4642/0.4642, allocations: 78.53 MB / 419.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 12 kB / 499.7 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 69.37 MB / 0.5558 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.2634/0.3917, allocations: 7.911 MB / 0.5635 GB, free: 37.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006059/0.3978, allocations: 2.764 MB / 0.5662 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.3998, allocations: 20.69 kB / 0.5662 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4009, allocations: 254 kB / 0.5665 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.4046, allocations: 1.105 MB / 0.5675 GB, free: 36.34 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/NonElectrical/Logical/NegCurLogic.mo:14:3-14:60:writable] Warning: In relation sCRX.negCurLogic.RC_rfd == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.4064, allocations: 0.704 MB / 0.5682 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.4091, allocations: 1.633 MB / 0.5698 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.4097, allocations: 451.5 kB / 0.5703 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.4107, allocations: 0.8327 MB / 0.5711 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009301/0.4117, allocations: 1.053 MB / 0.5721 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.4119, allocations: 93.91 kB / 0.5722 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.4125, allocations: 280.2 kB / 0.5725 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.4127, allocations: 393.2 kB / 0.5728 GB, free: 33.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002442/0.413, allocations: 339 kB / 0.5732 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4144, allocations: 1.912 MB / 0.575 GB, free: 33.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.4144, allocations: 3.781 kB / 0.575 GB, free: 33.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4144, allocations: 2.484 kB / 0.575 GB, free: 33.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.553e-05/0.4144, allocations: 0 / 0.575 GB, free: 33.17 MB / 430.1 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.01363/0.4281, allocations: 4.025 MB / 0.579 GB, free: 31.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.4281, allocations: 10.88 kB / 0.579 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004689/0.4286, allocations: 187.4 kB / 0.5791 GB, free: 31.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004632/0.4333, allocations: 0.7839 MB / 0.5799 GB, free: 31.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.4354, allocations: 1.152 MB / 0.581 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004051/0.4358, allocations: 0.5088 MB / 0.5815 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.4361, allocations: 140.7 kB / 0.5817 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.4391, allocations: 1.763 MB / 0.5834 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4391, allocations: 0 / 0.5834 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4393, allocations: 50.84 kB / 0.5834 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.4393, allocations: 30.56 kB / 0.5835 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/0.4425, allocations: 1.619 MB / 0.585 GB, free: 28.89 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009952/0.4525, allocations: 6.162 MB / 0.5911 GB, free: 25.24 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009164/0.4617, allocations: 3.687 MB / 0.5947 GB, free: 23.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.4619, allocations: 31.67 kB / 0.5947 GB, free: 23.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002776/0.4647, allocations: 1.245 MB / 0.5959 GB, free: 23.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 4.158e-06/0.4648, allocations: 2.125 kB / 0.5959 GB, free: 23.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.0536/0.5184, allocations: 15.75 MB / 0.6113 GB, free: 19.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.5185, allocations: 195.8 kB / 0.6115 GB, free: 19.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.5209, allocations: 1.539 MB / 0.613 GB, free: 18.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000409/0.5213, allocations: 61.73 kB / 0.613 GB, free: 18.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.5217, allocations: 0.7092 MB / 0.6137 GB, free: 17.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005275/0.5223, allocations: 0.5172 MB / 0.6142 GB, free: 17.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.5224, allocations: 48.19 kB / 0.6143 GB, free: 17.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5225, allocations: 388 kB / 0.6147 GB, free: 16.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/0.525, allocations: 1.149 MB / 0.6158 GB, free: 16.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002451/0.5275, allocations: 1.402 MB / 0.6171 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.5299, allocations: 1.265 MB / 0.6184 GB, free: 13.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5299, allocations: 0 / 0.6184 GB, free: 13.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01048/0.5404, allocations: 4.744 MB / 0.623 GB, free: 8.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.5408, allocations: 1.751 MB / 0.6247 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.5408, allocations: 4 kB / 0.6247 GB, free: 6.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009143/0.5499, allocations: 3.093 MB / 0.6277 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.5514, allocations: 308.9 kB / 0.628 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009853/0.5613, allocations: 5.49 MB / 0.6334 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/0.564, allocations: 227.9 kB / 0.6336 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/0.5643, allocations: 76.75 kB / 0.6337 GB, free: 13.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.5643, allocations: 4 kB / 0.6337 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01079/0.5751, allocations: 4.46 MB / 0.6381 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.5751, allocations: 8 kB / 0.6381 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009564/0.5847, allocations: 3.041 MB / 0.641 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.5863, allocations: 318 kB / 0.6413 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.5964, allocations: 5.362 MB / 0.6466 GB, free: 40 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.5991, allocations: 231.8 kB / 0.6468 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.5993, allocations: 71.98 kB / 0.6469 GB, free: 15.74 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 188 * 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 44} Notification: Performance of prepare postOptimizeDAE: time 0.0008887/0.6002, allocations: 417.4 kB / 0.6473 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/0.6006, allocations: 181.8 kB / 0.6474 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01813/0.6187, allocations: 6.254 MB / 0.6535 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.6188, allocations: 12 kB / 0.6536 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6188, allocations: 7.938 kB / 0.6536 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/0.6188, allocations: 7.969 kB / 0.6536 GB, free: 8.836 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.02201/0.6408, allocations: 8.623 MB / 0.662 GB, free: 64 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/0.6409, allocations: 4 kB / 0.662 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.642, allocations: 169.5 kB / 0.6622 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0085/0.6505, allocations: 2.653 MB / 0.6647 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003571/0.6509, allocations: 33.11 kB / 0.6648 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02927/0.6802, allocations: 13.04 MB / 0.6775 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6802, allocations: 3.891 kB / 0.6775 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/0.702, allocations: 7.651 MB / 0.685 GB, free: 8.191 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/0.7028, allocations: 284.8 kB / 0.6853 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/0.7033, allocations: 28 kB / 0.6853 GB, free: 7.867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.7051, allocations: 207.8 kB / 0.6855 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009342/0.7061, allocations: 301.2 kB / 0.6858 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.7062, allocations: 43.98 kB / 0.6858 GB, free: 7.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001643/0.7079, allocations: 1.018 MB / 0.6868 GB, free: 6.316 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7079, allocations: 4 kB / 0.6868 GB, free: 6.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003698/0.7116, allocations: 0.8594 MB / 0.6876 GB, free: 5.453 MB / 494.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 96 * 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.02164/0.7332, allocations: 8.457 MB / 0.6959 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01777/0.7511, allocations: 6.407 MB / 0.7022 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.7511, allocations: 0 / 0.7022 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007163/0.7583, allocations: 2.457 MB / 0.7046 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.7597, allocations: 143 kB / 0.7047 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009658/0.7693, allocations: 7.627 MB / 0.7121 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/0.7703, allocations: 1.368 MB / 0.7135 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001057/0.7714, allocations: 192.2 kB / 0.7137 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009294/0.7723, allocations: 0.7219 MB / 0.7144 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.7723, allocations: 0 / 0.7144 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07678/0.8491, allocations: 50.02 MB / 0.7632 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.8493, allocations: 189.3 kB / 0.7634 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/3.977, allocations: 3.938 kB / 0.7634 GB, free: 7.855 MB / 0.5606 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) Environment - environmentSimulation: