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.001484/0.001484, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.272/1.272, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008293, allocations: 99.7 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4784/0.4784, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.657e-05/2.67e-05, allocations: 4 kB / 491.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3272, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.4629, allocations: 114 MB / 0.6593 GB, free: 2.535 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4632, allocations: 91.94 kB / 0.6594 GB, free: 2.445 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4189/0.8821, allocations: 47.99 MB / 0.7063 GB, free: 104.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.8821, allocations: 0 / 0.7063 GB, free: 104.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.134e-05/0.8822, allocations: 34.72 kB / 0.7063 GB, free: 104.1 MB / 490.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.005496/0.8877, allocations: 2.317 MB / 0.7086 GB, free: 102.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.8878, allocations: 15.91 kB / 0.7086 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.8909, allocations: 0.589 MB / 0.7092 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.8929, allocations: 1.084 MB / 0.7102 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/0.8933, allocations: 0.5004 MB / 0.7107 GB, free: 99.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002108/0.8935, allocations: 124 kB / 0.7108 GB, free: 99.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.8957, allocations: 1.459 MB / 0.7122 GB, free: 98.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.8957, allocations: 0 / 0.7122 GB, free: 98.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/0.8959, allocations: 48 kB / 0.7123 GB, free: 98.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.8959, allocations: 32 kB / 0.7123 GB, free: 98.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.8979, allocations: 1.274 MB / 0.7136 GB, free: 96.87 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008457/0.9064, allocations: 5.911 MB / 0.7193 GB, free: 90.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/0.9137, allocations: 3.282 MB / 0.7225 GB, free: 87.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.9148, allocations: 0.7767 MB / 0.7233 GB, free: 86.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.9149, allocations: 19.58 kB / 0.7233 GB, free: 86.54 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.9162, allocations: 0.9523 MB / 0.7243 GB, free: 85.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=142): time 3.146e-06/0.9162, allocations: 448 / 0.7243 GB, free: 85.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=146): time 0.0184/0.9346, allocations: 7.968 MB / 0.732 GB, free: 77.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.9347, allocations: 197.2 kB / 0.7322 GB, free: 77.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.9364, allocations: 1.265 MB / 0.7335 GB, free: 76.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.9367, allocations: 57.7 kB / 0.7335 GB, free: 75.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.9371, allocations: 0.7373 MB / 0.7342 GB, free: 75.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004078/0.9375, allocations: 0.507 MB / 0.7347 GB, free: 74.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.9376, allocations: 32 kB / 0.7348 GB, free: 74.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.883e-05/0.9377, allocations: 361.9 kB / 0.7351 GB, free: 74.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.9388, allocations: 0.6797 MB / 0.7358 GB, free: 73.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.9399, allocations: 0.8914 MB / 0.7366 GB, free: 72.68 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.941, allocations: 0.769 MB / 0.7374 GB, free: 71.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.941, allocations: 4 kB / 0.7374 GB, free: 71.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.004165/0.9452, allocations: 2.575 MB / 0.7399 GB, free: 69.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.9455, allocations: 1.839 MB / 0.7417 GB, free: 67.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.9455, allocations: 4 kB / 0.7417 GB, free: 67.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007318/0.9529, allocations: 2.515 MB / 0.7442 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008751/0.9538, allocations: 203.7 kB / 0.7444 GB, free: 64.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.9583, allocations: 3.085 MB / 0.7474 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/0.9604, allocations: 219.9 kB / 0.7476 GB, free: 61.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.9606, allocations: 71.94 kB / 0.7476 GB, free: 61.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9607, allocations: 4 kB / 0.7477 GB, free: 61.16 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003967/0.9646, allocations: 2.349 MB / 0.7499 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.9647, allocations: 4 kB / 0.7499 GB, free: 58.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007008/0.9717, allocations: 2.507 MB / 0.7524 GB, free: 56.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.9725, allocations: 203.7 kB / 0.7526 GB, free: 56.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005912/0.9784, allocations: 4.362 MB / 0.7569 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.9805, allocations: 211.8 kB / 0.7571 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.9807, allocations: 55.98 kB / 0.7571 GB, free: 51.31 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2,hYGOV.Position_Limiter.local_reset,hYGOV.q.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 120 * 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 43} Notification: Performance of prepare postOptimizeDAE: time 0.0003406/0.9811, allocations: 184.8 kB / 0.7573 GB, free: 51.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004403/0.9815, allocations: 189.6 kB / 0.7575 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.9955, allocations: 5.366 MB / 0.7627 GB, free: 45.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.9955, allocations: 16 kB / 0.7627 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9955, allocations: 8 kB / 0.7627 GB, free: 45.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.397e-05/0.9956, allocations: 7.969 kB / 0.7627 GB, free: 45.51 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01766/1.013, allocations: 7.707 MB / 0.7703 GB, free: 37.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/1.013, allocations: 0 / 0.7703 GB, free: 37.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.015, allocations: 171.9 kB / 0.7704 GB, free: 37.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006361/1.021, allocations: 2.088 MB / 0.7725 GB, free: 35.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/1.021, allocations: 35.98 kB / 0.7725 GB, free: 35.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.039, allocations: 9.607 MB / 0.7819 GB, free: 25.53 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/1.039, allocations: 3.984 kB / 0.7819 GB, free: 25.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01641/1.056, allocations: 6.502 MB / 0.7882 GB, free: 18.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008172/1.056, allocations: 266.7 kB / 0.7885 GB, free: 18.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/1.057, allocations: 28 kB / 0.7885 GB, free: 18.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.059, allocations: 211.8 kB / 0.7887 GB, free: 18.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009519/1.06, allocations: 305.2 kB / 0.789 GB, free: 18.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.06, allocations: 43.98 kB / 0.7891 GB, free: 18.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001565/1.062, allocations: 0.9674 MB / 0.79 GB, free: 17.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.062, allocations: 0 / 0.79 GB, free: 17.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002566/1.064, allocations: 0.7773 MB / 0.7908 GB, free: 16.38 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * 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.0004062/1.065, allocations: 192.9 kB / 0.7909 GB, free: 16.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01264/1.077, allocations: 4.778 MB / 0.7956 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/1.078, allocations: 0 / 0.7956 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005508/1.083, allocations: 2.141 MB / 0.7977 GB, free: 9.203 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.084, allocations: 146.4 kB / 0.7978 GB, free: 9.062 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/1.089, allocations: 2.788 MB / 0.8006 GB, free: 6.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/1.09, allocations: 1.382 MB / 0.8019 GB, free: 4.816 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001233/1.091, allocations: 271.1 kB / 0.8022 GB, free: 4.547 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/1.091, allocations: 71.44 kB / 0.8022 GB, free: 4.477 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/1.091, allocations: 3.938 kB / 0.8022 GB, free: 4.473 MB / 490.7 MB Notification: Performance of Templates: time 0.05854/1.15, allocations: 36.97 MB / 0.8383 GB, free: 15.49 MB / 0.5261 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)