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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 99.31 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.253/1.253, allocations: 223.2 MB / 238.9 MB, free: 5.484 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.001197/0.001197, allocations: 177 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4417/0.4417, allocations: 79.45 MB / 420.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003351, allocations: 12 kB / 0.489 GB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 69.51 MB / 0.5569 GB, free: 28 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.HYGOV): time 0.1921/0.3143, allocations: 7.937 MB / 0.5646 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.3192, allocations: 2.777 MB / 0.5673 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.3204, allocations: 23.59 kB / 0.5674 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.3211, allocations: 241.7 kB / 0.5676 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.3231, allocations: 0.9256 MB / 0.5685 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3247, allocations: 0.7742 MB / 0.5693 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001748/0.3264, allocations: 1.515 MB / 0.5707 GB, free: 34.15 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005734/0.327, allocations: 450.1 kB / 0.5712 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007982/0.3278, allocations: 0.8135 MB / 0.572 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000845/0.3287, allocations: 1.036 MB / 0.573 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.3288, allocations: 96 kB / 0.5731 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005305/0.3294, allocations: 290.2 kB / 0.5733 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.3296, allocations: 380.8 kB / 0.5737 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.3299, allocations: 336.7 kB / 0.574 GB, free: 32.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.3311, allocations: 1.911 MB / 0.5759 GB, free: 32.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.3312, allocations: 0 / 0.5759 GB, free: 32.17 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3312, allocations: 2.344 kB / 0.5759 GB, free: 32.17 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.3312, allocations: 0 / 0.5759 GB, free: 32.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.01131/0.3425, allocations: 3.68 MB / 0.5795 GB, free: 30.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3426, allocations: 11.31 kB / 0.5795 GB, free: 30.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004271/0.3468, allocations: 0.7818 MB / 0.5803 GB, free: 30.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001726/0.3486, allocations: 1.15 MB / 0.5814 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003708/0.3489, allocations: 0.5089 MB / 0.5819 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.3492, allocations: 143.9 kB / 0.582 GB, free: 29.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.352, allocations: 1.766 MB / 0.5837 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.352, allocations: 0.7969 kB / 0.5837 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.3522, allocations: 50.88 kB / 0.5838 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.3522, allocations: 28.25 kB / 0.5838 GB, free: 28.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.3552, allocations: 1.624 MB / 0.5854 GB, free: 28.06 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.008877/0.3641, allocations: 6.166 MB / 0.5914 GB, free: 24.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008836/0.3729, allocations: 3.684 MB / 0.595 GB, free: 23.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.3731, allocations: 26.69 kB / 0.5951 GB, free: 23.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002367/0.3754, allocations: 1.247 MB / 0.5963 GB, free: 22.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=143): time 3.186e-06/0.3755, allocations: 4 kB / 0.5963 GB, free: 22.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=147): time 0.0527/0.4282, allocations: 15.76 MB / 0.6117 GB, free: 18.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.4283, allocations: 196.1 kB / 0.6118 GB, free: 18.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002469/0.4307, allocations: 1.535 MB / 0.6133 GB, free: 17.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003593/0.4311, allocations: 57.95 kB / 0.6134 GB, free: 17.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004578/0.4316, allocations: 0.708 MB / 0.6141 GB, free: 16.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.4322, allocations: 0.5194 MB / 0.6146 GB, free: 16.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.4324, allocations: 49.56 kB / 0.6146 GB, free: 16.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4325, allocations: 384 kB / 0.615 GB, free: 16.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002505/0.4351, allocations: 1.148 MB / 0.6161 GB, free: 15.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.4375, allocations: 1.405 MB / 0.6175 GB, free: 14.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002377/0.4399, allocations: 1.269 MB / 0.6187 GB, free: 12.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.44, allocations: 0 / 0.6187 GB, free: 12.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01049/0.4505, allocations: 4.744 MB / 0.6234 GB, free: 8.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.4508, allocations: 1.739 MB / 0.6251 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4508, allocations: 9.5 kB / 0.6251 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009352/0.4602, allocations: 3.093 MB / 0.6281 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.4617, allocations: 315.5 kB / 0.6284 GB, free: 2.863 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.4723, allocations: 5.496 MB / 0.6338 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/0.4751, allocations: 231.8 kB / 0.634 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004769/0.4756, allocations: 79.94 kB / 0.6341 GB, free: 12.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4756, allocations: 4 kB / 0.6341 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/0.4874, allocations: 4.456 MB / 0.6384 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4874, allocations: 5.031 kB / 0.6384 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009697/0.4971, allocations: 3.053 MB / 0.6414 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.4987, allocations: 312.9 kB / 0.6417 GB, free: 5.027 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.5091, allocations: 5.376 MB / 0.647 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.5115, allocations: 223.9 kB / 0.6472 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/0.5118, allocations: 73.08 kB / 0.6472 GB, free: 15.2 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.000899/0.5127, allocations: 417.3 kB / 0.6476 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/0.5132, allocations: 181.8 kB / 0.6478 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01815/0.5313, allocations: 6.251 MB / 0.6539 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.5314, allocations: 16 kB / 0.6539 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5314, allocations: 4 kB / 0.6539 GB, free: 8.309 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.221e-05/0.5314, allocations: 9.328 kB / 0.654 GB, free: 8.301 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.02259/0.554, allocations: 8.623 MB / 0.6624 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/0.5541, allocations: 8.062 kB / 0.6624 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.5551, allocations: 175.7 kB / 0.6625 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008587/0.5637, allocations: 2.654 MB / 0.6651 GB, free: 12.69 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003374/0.5641, allocations: 31.98 kB / 0.6652 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02983/0.594, allocations: 13.03 MB / 0.6779 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.594, allocations: 3.938 kB / 0.6779 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/0.6156, allocations: 7.65 MB / 0.6854 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/0.6164, allocations: 278.7 kB / 0.6856 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000485/0.6169, allocations: 28 kB / 0.6857 GB, free: 7.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/0.6189, allocations: 207.8 kB / 0.6859 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009532/0.6198, allocations: 313.1 kB / 0.6862 GB, free: 6.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.62, allocations: 39.98 kB / 0.6862 GB, free: 6.781 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001709/0.6217, allocations: 1.015 MB / 0.6872 GB, free: 5.773 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6217, allocations: 0 / 0.6872 GB, free: 5.773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002571/0.6243, allocations: 0.8673 MB / 0.688 GB, free: 4.906 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.0003934/0.6247, allocations: 160.8 kB / 0.6882 GB, free: 4.746 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01847/0.6432, allocations: 6.406 MB / 0.6944 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.6432, allocations: 0.875 kB / 0.6944 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007155/0.6504, allocations: 2.449 MB / 0.6968 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.6517, allocations: 150.6 kB / 0.697 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00728/0.659, allocations: 4.194 MB / 0.7011 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009272/0.6599, allocations: 1.374 MB / 0.7024 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008881/0.6608, allocations: 187.7 kB / 0.7026 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.6612, allocations: 107.4 kB / 0.7027 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of SimCode: time 6.61e-07/0.6612, allocations: 4 kB / 0.7027 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of Templates: time 0.05306/0.7143, allocations: 35.68 MB / 0.7375 GB, free: 2.242 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.HYGOV.pipe 2>&1)