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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, 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.347/1.347, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001142/0.001142, allocations: 185 kB / 290.2 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5015/0.5015, allocations: 79.46 MB / 420.7 MB, free: 3.992 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003702, allocations: 19.98 kB / 0.4891 GB, free: 5.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4291, allocations: 69.51 MB / 0.557 GB, free: 37.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.008443/0.4376, allocations: 7.943 MB / 0.5647 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007435/0.4451, allocations: 2.77 MB / 0.5674 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.4471, allocations: 21.69 kB / 0.5675 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.4482, allocations: 247.6 kB / 0.5677 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.4514, allocations: 0.9216 MB / 0.5686 GB, free: 35.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.4539, allocations: 0.7705 MB / 0.5693 GB, free: 34.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003941/0.4578, allocations: 1.522 MB / 0.5708 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.459, allocations: 450.7 kB / 0.5713 GB, free: 33.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.4611, allocations: 0.8091 MB / 0.572 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.4633, allocations: 1.032 MB / 0.5731 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006267/0.4639, allocations: 98.09 kB / 0.5731 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.4652, allocations: 292.5 kB / 0.5734 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006022/0.4658, allocations: 382.3 kB / 0.5738 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007529/0.4665, allocations: 333.9 kB / 0.5741 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.4686, allocations: 1.915 MB / 0.576 GB, free: 32.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4687, allocations: 0 / 0.576 GB, free: 32.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4687, allocations: 0.5625 kB / 0.576 GB, free: 32.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.3e-05/0.4687, allocations: 0 / 0.576 GB, free: 32.11 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.01289/0.4816, allocations: 3.679 MB / 0.5796 GB, free: 30.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.4817, allocations: 7.875 kB / 0.5796 GB, free: 30.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007595/0.4825, allocations: 186.9 kB / 0.5798 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004833/0.4873, allocations: 0.7853 MB / 0.5805 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.4895, allocations: 1.16 MB / 0.5817 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004271/0.49, allocations: 0.505 MB / 0.5822 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.4902, allocations: 137 kB / 0.5823 GB, free: 29.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.4934, allocations: 1.769 MB / 0.584 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.4935, allocations: 0 / 0.584 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.4936, allocations: 52.69 kB / 0.5841 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.4936, allocations: 30.5 kB / 0.5841 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003196/0.4968, allocations: 1.618 MB / 0.5857 GB, free: 27.88 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.009934/0.5068, allocations: 6.167 MB / 0.5917 GB, free: 24.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0093/0.5161, allocations: 3.685 MB / 0.5953 GB, free: 22.89 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.5164, allocations: 32 kB / 0.5953 GB, free: 22.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00287/0.5193, allocations: 1.247 MB / 0.5965 GB, free: 22.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.988e-06/0.5193, allocations: 0 / 0.5965 GB, free: 22.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.05675/0.5761, allocations: 15.76 MB / 0.6119 GB, free: 18.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.5762, allocations: 196.5 kB / 0.6121 GB, free: 18.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.5787, allocations: 1.535 MB / 0.6136 GB, free: 17.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004331/0.5792, allocations: 60.7 kB / 0.6137 GB, free: 17.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.5796, allocations: 0.7161 MB / 0.6144 GB, free: 16.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/0.5802, allocations: 0.5165 MB / 0.6149 GB, free: 16.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.5803, allocations: 41.44 kB / 0.6149 GB, free: 16.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5804, allocations: 390.6 kB / 0.6153 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/0.5829, allocations: 1.145 MB / 0.6164 GB, free: 15.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.5853, allocations: 1.404 MB / 0.6178 GB, free: 14.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.5876, allocations: 1.263 MB / 0.619 GB, free: 12.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5876, allocations: 4 kB / 0.619 GB, free: 12.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.0105/0.5981, allocations: 4.744 MB / 0.6236 GB, free: 7.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.5985, allocations: 1.743 MB / 0.6253 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.5986, allocations: 4 kB / 0.6254 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009413/0.608, allocations: 3.101 MB / 0.6284 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.6095, allocations: 309.1 kB / 0.6287 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.6201, allocations: 5.491 MB / 0.634 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.6234, allocations: 243.7 kB / 0.6343 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.6238, allocations: 75.97 kB / 0.6343 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6238, allocations: 5.094 kB / 0.6343 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01152/0.6354, allocations: 4.46 MB / 0.6387 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/0.6355, allocations: 4 kB / 0.6387 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00967/0.6451, allocations: 3.046 MB / 0.6417 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.6468, allocations: 311.6 kB / 0.642 GB, free: 4.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.6578, allocations: 5.37 MB / 0.6472 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.6607, allocations: 223.9 kB / 0.6474 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/0.661, allocations: 75.98 kB / 0.6475 GB, free: 14.97 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.001084/0.6621, allocations: 414 kB / 0.6479 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/0.6625, allocations: 181.8 kB / 0.6481 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/0.6818, allocations: 6.26 MB / 0.6542 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.824e-05/0.682, allocations: 18.25 kB / 0.6542 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.682, allocations: 0 / 0.6542 GB, free: 8.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.573e-05/0.682, allocations: 3.984 kB / 0.6542 GB, free: 8.066 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.02392/0.706, allocations: 8.631 MB / 0.6626 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.706, allocations: 0 / 0.6626 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.7072, allocations: 176.8 kB / 0.6628 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008702/0.7159, allocations: 2.655 MB / 0.6654 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004021/0.7164, allocations: 39.92 kB / 0.6654 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03065/0.747, allocations: 13.03 MB / 0.6782 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7471, allocations: 0 / 0.6782 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/0.7692, allocations: 7.654 MB / 0.6856 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/0.7702, allocations: 275.3 kB / 0.6859 GB, free: 7.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.7705, allocations: 29.12 kB / 0.6859 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.7722, allocations: 203.8 kB / 0.6861 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009123/0.7731, allocations: 309.2 kB / 0.6864 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.7733, allocations: 39.98 kB / 0.6865 GB, free: 6.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001608/0.7749, allocations: 1.022 MB / 0.6875 GB, free: 5.531 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7749, allocations: 4 kB / 0.6875 GB, free: 5.527 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002611/0.7775, allocations: 0.8634 MB / 0.6883 GB, free: 4.664 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.02156/0.7991, allocations: 8.457 MB / 0.6966 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01872/0.8178, allocations: 6.408 MB / 0.7028 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/0.8179, allocations: 7.938 kB / 0.7028 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007192/0.8251, allocations: 2.448 MB / 0.7052 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.8265, allocations: 143 kB / 0.7054 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00994/0.8365, allocations: 7.632 MB / 0.7128 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009367/0.8374, allocations: 1.372 MB / 0.7141 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008547/0.8383, allocations: 196.1 kB / 0.7143 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/0.8392, allocations: 0.718 MB / 0.715 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.8392, allocations: 0 / 0.715 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08428/0.9235, allocations: 50.15 MB / 0.764 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.9238, allocations: 190.5 kB / 0.7642 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/4.4, allocations: 0 / 0.7642 GB, free: 6.945 MB / 0.5606 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) Environment - environmentSimulation: