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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 175.7 kB / 15.77 MB, free: 6.328 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.455/1.455, allocations: 223.2 MB / 239.8 MB, free: 1.711 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 94.83 kB / 290.9 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6329/0.6329, allocations: 78.62 MB / 420.7 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12 kB / 0.4888 GB, free: 2.895 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5034, allocations: 69.34 MB / 0.5565 GB, free: 38.91 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.009473/0.5129, allocations: 8.259 MB / 0.5646 GB, free: 35.98 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00854/0.5215, allocations: 2.736 MB / 0.5673 GB, free: 34.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003076/0.5246, allocations: 22.41 kB / 0.5673 GB, free: 34.02 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.5263, allocations: 245.9 kB / 0.5675 GB, free: 33.91 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.5313, allocations: 1.036 MB / 0.5685 GB, free: 33.26 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.003049/0.5344, allocations: 0.7124 MB / 0.5692 GB, free: 32.9 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005751/0.5402, allocations: 2.36 MB / 0.5715 GB, free: 31.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001513/0.5417, allocations: 451.7 kB / 0.572 GB, free: 31.55 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002586/0.5443, allocations: 0.8264 MB / 0.5728 GB, free: 31.2 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.5468, allocations: 1.069 MB / 0.5738 GB, free: 30.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.548, allocations: 95.09 kB / 0.5739 GB, free: 30.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.5499, allocations: 298.8 kB / 0.5742 GB, free: 30.67 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008885/0.5508, allocations: 392.7 kB / 0.5746 GB, free: 30.45 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.5519, allocations: 328.4 kB / 0.5749 GB, free: 30.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.5555, allocations: 1.977 MB / 0.5768 GB, free: 29.69 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5556, allocations: 0 / 0.5768 GB, free: 29.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5556, allocations: 2.688 kB / 0.5768 GB, free: 29.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001748/0.5558, allocations: 3.938 kB / 0.5768 GB, free: 29.69 MB / 426.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.01625/0.572, allocations: 4.022 MB / 0.5807 GB, free: 28.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5721, allocations: 10.59 kB / 0.5807 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005101/0.5772, allocations: 0.7871 MB / 0.5815 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003751/0.581, allocations: 1.151 MB / 0.5826 GB, free: 27.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/0.5816, allocations: 0.5137 MB / 0.5831 GB, free: 26.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006392/0.5823, allocations: 141.1 kB / 0.5833 GB, free: 26.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.5868, allocations: 1.767 MB / 0.585 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.5868, allocations: 0 / 0.585 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002033/0.587, allocations: 51.59 kB / 0.585 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.5871, allocations: 29.09 kB / 0.5851 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.5908, allocations: 1.617 MB / 0.5866 GB, free: 25.5 MB / 426.7 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.01097/0.6018, allocations: 6.036 MB / 0.5925 GB, free: 21.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009336/0.6111, allocations: 3.688 MB / 0.5961 GB, free: 20.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/0.6138, allocations: 1.084 MB / 0.5972 GB, free: 20.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.614, allocations: 27.69 kB / 0.5972 GB, free: 20.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002824/0.6169, allocations: 1.248 MB / 0.5984 GB, free: 19.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=143): time 7.223e-06/0.6169, allocations: 0 / 0.5984 GB, free: 19.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=147): time 0.05859/0.6755, allocations: 15.75 MB / 0.6138 GB, free: 15.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.6756, allocations: 197.2 kB / 0.614 GB, free: 14.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.678, allocations: 1.539 MB / 0.6155 GB, free: 13.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003735/0.6784, allocations: 53.7 kB / 0.6156 GB, free: 13.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004859/0.6789, allocations: 0.7067 MB / 0.6163 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00072/0.6797, allocations: 0.5238 MB / 0.6168 GB, free: 12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.68, allocations: 48.03 kB / 0.6168 GB, free: 11.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6801, allocations: 394.1 kB / 0.6172 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.6825, allocations: 1.144 MB / 0.6183 GB, free: 10.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.6851, allocations: 1.403 MB / 0.6197 GB, free: 8.938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/0.6878, allocations: 1.269 MB / 0.6209 GB, free: 7.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.6878, allocations: 0 / 0.6209 GB, free: 7.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01203/0.6998, allocations: 4.736 MB / 0.6255 GB, free: 2.852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001476/0.7, allocations: 264.5 kB / 0.6258 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.7, allocations: 4 kB / 0.6258 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009719/0.7098, allocations: 3.092 MB / 0.6288 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.7115, allocations: 311.5 kB / 0.6291 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/0.7232, allocations: 5.438 MB / 0.6344 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/0.7266, allocations: 227.9 kB / 0.6346 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005052/0.7272, allocations: 75.97 kB / 0.6347 GB, free: 9.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.7272, allocations: 4 kB / 0.6347 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01318/0.7404, allocations: 4.464 MB / 0.6391 GB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.7405, allocations: 4 kB / 0.6391 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/0.7511, allocations: 3.046 MB / 0.6421 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.7529, allocations: 315.5 kB / 0.6424 GB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/0.7643, allocations: 5.318 MB / 0.6476 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002847/0.7672, allocations: 231.8 kB / 0.6478 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004275/0.7677, allocations: 75.98 kB / 0.6479 GB, free: 11.55 MB / 458.7 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.001334/0.769, allocations: 410.6 kB / 0.6482 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000727/0.7698, allocations: 185.7 kB / 0.6484 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/0.7902, allocations: 6.252 MB / 0.6545 GB, free: 4.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.7903, allocations: 16 kB / 0.6545 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.7903, allocations: 4 kB / 0.6545 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.792e-05/0.7904, allocations: 11.97 kB / 0.6546 GB, free: 4.648 MB / 458.7 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.0274/0.8178, allocations: 8.565 MB / 0.6629 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.8178, allocations: 0 / 0.6629 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.819, allocations: 171.7 kB / 0.6631 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009083/0.8282, allocations: 2.658 MB / 0.6657 GB, free: 9.105 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004372/0.8286, allocations: 40.05 kB / 0.6657 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03097/0.8596, allocations: 12.39 MB / 0.6778 GB, free: 12.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.8597, allocations: 8.016 kB / 0.6778 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02442/0.8841, allocations: 7.602 MB / 0.6852 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/0.8855, allocations: 270.6 kB / 0.6855 GB, free: 4.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001279/0.8869, allocations: 32 kB / 0.6855 GB, free: 4.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/0.8897, allocations: 203.8 kB / 0.6857 GB, free: 4.238 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/0.8908, allocations: 317.1 kB / 0.686 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.8909, allocations: 39.98 kB / 0.6861 GB, free: 3.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00186/0.8928, allocations: 1.022 MB / 0.6871 GB, free: 2.875 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8928, allocations: 0 / 0.6871 GB, free: 2.875 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002918/0.8957, allocations: 0.8634 MB / 0.6879 GB, free: 2.012 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 () * 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.0004241/0.8962, allocations: 160.5 kB / 0.6881 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01814/0.9143, allocations: 6.41 MB / 0.6943 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/0.9144, allocations: 4 kB / 0.6943 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007084/0.9215, allocations: 2.435 MB / 0.6967 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.9232, allocations: 167.6 kB / 0.6969 GB, free: 8.746 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007222/0.9305, allocations: 4.197 MB / 0.701 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/0.9314, allocations: 1.337 MB / 0.7023 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/0.9321, allocations: 107.4 kB / 0.7024 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.9321, allocations: 4 kB / 0.7024 GB, free: 3.039 MB / 0.4948 GB Notification: Performance of Templates: time 0.04823/0.9803, allocations: 36.51 MB / 0.738 GB, free: 14.47 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (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 & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)