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.007849/0.00785, allocations: 169.2 kB / 15.12 MB, free: 5.559 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.489/1.489, allocations: 223.2 MB / 239 MB, free: 1.754 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.001068/0.001068, allocations: 100.3 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.56/0.56, allocations: 78.59 MB / 419.9 MB, free: 44.15 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004175, allocations: 8 kB / 499.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4146, allocations: 69.34 MB / 0.5558 GB, free: 38.8 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.007876/0.4225, allocations: 7.928 MB / 0.5635 GB, free: 36.16 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006506/0.429, allocations: 2.77 MB / 0.5662 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/0.4313, allocations: 24.84 kB / 0.5662 GB, free: 34.19 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.4327, allocations: 247.3 kB / 0.5665 GB, free: 34.07 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.4373, allocations: 1.113 MB / 0.5676 GB, free: 33.36 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.002298/0.4396, allocations: 0.6983 MB / 0.5682 GB, free: 33.01 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003908/0.4435, allocations: 1.639 MB / 0.5698 GB, free: 32.15 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007091/0.4442, allocations: 447.4 kB / 0.5703 GB, free: 31.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.4456, allocations: 0.829 MB / 0.5711 GB, free: 31.57 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.4466, allocations: 1.059 MB / 0.5721 GB, free: 31.11 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.4468, allocations: 94 kB / 0.5722 GB, free: 31.11 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.4475, allocations: 282 kB / 0.5725 GB, free: 31.05 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.4478, allocations: 392 kB / 0.5728 GB, free: 30.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.4482, allocations: 333.1 kB / 0.5732 GB, free: 30.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.4499, allocations: 1.922 MB / 0.575 GB, free: 30.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4499, allocations: 0 / 0.575 GB, free: 30.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.45, allocations: 0 / 0.575 GB, free: 30.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.891e-05/0.45, allocations: 3.938 kB / 0.575 GB, free: 30.09 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.01407/0.4641, allocations: 4.029 MB / 0.579 GB, free: 28.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.4641, allocations: 8.375 kB / 0.579 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004643/0.4688, allocations: 0.7817 MB / 0.5798 GB, free: 28.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.4711, allocations: 1.15 MB / 0.5809 GB, free: 27.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004285/0.4715, allocations: 0.5123 MB / 0.5814 GB, free: 27.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/0.4718, allocations: 139.1 kB / 0.5815 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.4753, allocations: 1.762 MB / 0.5832 GB, free: 26.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.4754, allocations: 0 / 0.5832 GB, free: 26.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.4755, allocations: 50.97 kB / 0.5833 GB, free: 26.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.549e-05/0.4756, allocations: 34.75 kB / 0.5833 GB, free: 26.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.4794, allocations: 1.61 MB / 0.5849 GB, free: 25.91 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.01033/0.4897, allocations: 6.176 MB / 0.5909 GB, free: 22.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.4989, allocations: 3.688 MB / 0.5945 GB, free: 20.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.4992, allocations: 25.11 kB / 0.5945 GB, free: 20.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002741/0.502, allocations: 1.246 MB / 0.5958 GB, free: 20.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=143): time 3.717e-06/0.502, allocations: 0 / 0.5958 GB, free: 20.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=147): time 0.05529/0.5573, allocations: 15.74 MB / 0.6111 GB, free: 16.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.993e-05/0.5574, allocations: 201.1 kB / 0.6113 GB, free: 16.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.5601, allocations: 1.538 MB / 0.6128 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004638/0.5605, allocations: 61.72 kB / 0.6129 GB, free: 15.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/0.561, allocations: 0.7008 MB / 0.6136 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005437/0.5615, allocations: 0.5237 MB / 0.6141 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5617, allocations: 40.69 kB / 0.6141 GB, free: 13.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.5618, allocations: 383.8 kB / 0.6145 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002142/0.564, allocations: 1.16 MB / 0.6156 GB, free: 12.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.5662, allocations: 1.399 MB / 0.617 GB, free: 10.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.5685, allocations: 1.273 MB / 0.6182 GB, free: 9.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.5685, allocations: 0 / 0.6182 GB, free: 9.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01049/0.579, allocations: 4.736 MB / 0.6229 GB, free: 4.883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000339/0.5794, allocations: 1.743 MB / 0.6246 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.5795, allocations: 4 kB / 0.6246 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009057/0.5885, allocations: 3.089 MB / 0.6276 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001606/0.5902, allocations: 311.5 kB / 0.6279 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.6011, allocations: 5.5 MB / 0.6332 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.6042, allocations: 231.9 kB / 0.6335 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/0.6045, allocations: 71.94 kB / 0.6335 GB, free: 9.605 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6045, allocations: 4 kB / 0.6335 GB, free: 9.602 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/0.6155, allocations: 4.46 MB / 0.6379 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.6155, allocations: 11.98 kB / 0.6379 GB, free: 5.082 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009565/0.6251, allocations: 3.042 MB / 0.6409 GB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.6268, allocations: 315.5 kB / 0.6412 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.6372, allocations: 5.358 MB / 0.6464 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003004/0.6402, allocations: 231.8 kB / 0.6466 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.6405, allocations: 75.98 kB / 0.6467 GB, free: 11.9 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.001102/0.6416, allocations: 408.8 kB / 0.6471 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.642, allocations: 185.7 kB / 0.6473 GB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/0.6609, allocations: 6.252 MB / 0.6534 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/0.661, allocations: 16 kB / 0.6534 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.661, allocations: 4 kB / 0.6534 GB, free: 5.008 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.344e-05/0.661, allocations: 7.969 kB / 0.6534 GB, free: 5 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.02431/0.6853, allocations: 8.616 MB / 0.6618 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.6854, allocations: 4 kB / 0.6618 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.6866, allocations: 175.7 kB / 0.662 GB, free: 12.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008661/0.6953, allocations: 2.659 MB / 0.6646 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/0.6957, allocations: 35.92 kB / 0.6646 GB, free: 9.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03072/0.7265, allocations: 13.04 MB / 0.6773 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.7265, allocations: 0 / 0.6773 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/0.7486, allocations: 7.654 MB / 0.6848 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/0.75, allocations: 274.6 kB / 0.6851 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001071/0.7511, allocations: 35.98 kB / 0.6851 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/0.7535, allocations: 203.8 kB / 0.6853 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001138/0.7547, allocations: 305.2 kB / 0.6856 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002483/0.7549, allocations: 43.98 kB / 0.6856 GB, free: 3.473 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002124/0.7571, allocations: 1.018 MB / 0.6866 GB, free: 2.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7571, allocations: 0 / 0.6866 GB, free: 2.461 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003766/0.7609, allocations: 0.8673 MB / 0.6875 GB, free: 1.594 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.0004266/0.7613, allocations: 156.6 kB / 0.6876 GB, free: 1.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01895/0.7803, allocations: 6.407 MB / 0.6939 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.7803, allocations: 0 / 0.6939 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007644/0.788, allocations: 2.451 MB / 0.6963 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.7901, allocations: 152.4 kB / 0.6964 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/0.7995, allocations: 4.173 MB / 0.7005 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.8006, allocations: 1.38 MB / 0.7019 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001203/0.8018, allocations: 195.4 kB / 0.702 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.8022, allocations: 95.42 kB / 0.7021 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/0.8022, allocations: 0 / 0.7021 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of Templates: time 0.05996/0.8622, allocations: 35.56 MB / 0.7369 GB, free: 14.88 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)