Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 105.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.213/2.213, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001582/0.001582, allocations: 188.5 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4919/0.4919, allocations: 78.54 MB / 419.1 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 75.88 kB / 0.5543 GB, free: 1.016 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2983, allocations: 68.18 MB / 0.6209 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005891/0.3042, allocations: 7.963 MB / 0.6287 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.3081, allocations: 2.505 MB / 0.6311 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006472/0.3087, allocations: 12 kB / 0.6311 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00078/0.3095, allocations: 301.5 kB / 0.6314 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002755/0.3123, allocations: 1.201 MB / 0.6326 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.314, allocations: 0.6721 MB / 0.6332 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002995/0.317, allocations: 2.279 MB / 0.6355 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000609/0.3176, allocations: 381.2 kB / 0.6358 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.3186, allocations: 0.8639 MB / 0.6367 GB, free: 10.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.3198, allocations: 1.101 MB / 0.6377 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002465/0.3201, allocations: 176 kB / 0.6379 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006308/0.3207, allocations: 343.8 kB / 0.6382 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003809/0.3211, allocations: 454.2 kB / 0.6387 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.3218, allocations: 0.8779 MB / 0.6395 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.3239, allocations: 2.186 MB / 0.6417 GB, free: 4.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3239, allocations: 4 kB / 0.6417 GB, free: 4.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3239, allocations: 0 / 0.6417 GB, free: 4.887 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.417e-05/0.324, allocations: 0 / 0.6417 GB, free: 4.887 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01355/0.3375, allocations: 3.789 MB / 0.6454 GB, free: 1.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3376, allocations: 8.031 kB / 0.6454 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00449/0.3421, allocations: 0.7472 MB / 0.6461 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.3442, allocations: 1.1 MB / 0.6472 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004327/0.3447, allocations: 421 kB / 0.6476 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.3449, allocations: 100 kB / 0.6477 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003691/0.3486, allocations: 1.364 MB / 0.649 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.3486, allocations: 0 / 0.649 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.3488, allocations: 36 kB / 0.649 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.3488, allocations: 24 kB / 0.6491 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003837/0.3527, allocations: 1.304 MB / 0.6503 GB, free: 11.81 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 preOpt removeSimpleEquations (simulation): time 0.01043/0.3631, allocations: 4.645 MB / 0.6549 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/0.3738, allocations: 2.898 MB / 0.6577 GB, free: 3.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002331/0.3762, allocations: 0.8996 MB / 0.6586 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.3764, allocations: 24.91 kB / 0.6586 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00215/0.3785, allocations: 1.046 MB / 0.6596 GB, free: 1.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 2.675e-06/0.3786, allocations: 0 / 0.6596 GB, free: 1.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.04106/0.4196, allocations: 9.902 MB / 0.6693 GB, free: 7.965 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.4198, allocations: 115.8 kB / 0.6694 GB, free: 7.824 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.4221, allocations: 1.349 MB / 0.6707 GB, free: 6.461 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003715/0.4225, allocations: 57.77 kB / 0.6708 GB, free: 6.398 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.4229, allocations: 0.5686 MB / 0.6713 GB, free: 5.824 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005285/0.4235, allocations: 449.6 kB / 0.6718 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006174/0.4241, allocations: 339.3 kB / 0.6721 GB, free: 5.043 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4242, allocations: 305.1 kB / 0.6724 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.4263, allocations: 0.9487 MB / 0.6733 GB, free: 3.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.4285, allocations: 1.158 MB / 0.6744 GB, free: 2.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004162/0.4327, allocations: 2.042 MB / 0.6764 GB, free: 0.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4327, allocations: 4 kB / 0.6764 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01024/0.443, allocations: 3.816 MB / 0.6802 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4431, allocations: 8 kB / 0.6802 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.4431, allocations: 7.938 kB / 0.6802 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009442/0.4525, allocations: 2.675 MB / 0.6828 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.454, allocations: 291.6 kB / 0.6831 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006322/0.4603, allocations: 2.7 MB / 0.6857 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.4625, allocations: 242.3 kB / 0.6859 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.4627, allocations: 63.98 kB / 0.686 GB, free: 6.656 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000553/0.4632, allocations: 289.5 kB / 0.6863 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4635, allocations: 154.1 kB / 0.6864 GB, free: 6.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/0.4797, allocations: 4.763 MB / 0.6911 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.1e-05/0.4798, allocations: 12 kB / 0.6911 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4798, allocations: 4 kB / 0.6911 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-05/0.4799, allocations: 11.97 kB / 0.6911 GB, free: 1.402 MB / 494.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.01869/0.4986, allocations: 6.856 MB / 0.6978 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.4986, allocations: 0 / 0.6978 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008392/0.4995, allocations: 143.8 kB / 0.6979 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007548/0.507, allocations: 2.142 MB / 0.7 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/0.5072, allocations: 27.98 kB / 0.7 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02535/0.5326, allocations: 10.06 MB / 0.7099 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5326, allocations: 3.984 kB / 0.7099 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0184/0.551, allocations: 5.904 MB / 0.7156 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/0.5516, allocations: 274.8 kB / 0.7159 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.5519, allocations: 24 kB / 0.7159 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.5534, allocations: 135.8 kB / 0.716 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007822/0.5542, allocations: 261.3 kB / 0.7163 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/0.5543, allocations: 31.98 kB / 0.7163 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001309/0.5556, allocations: 0.9095 MB / 0.7172 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5556, allocations: 0 / 0.7172 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001286/0.5569, allocations: 0.5112 MB / 0.7177 GB, free: 5.773 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.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 (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000286/0.5572, allocations: 148.2 kB / 0.7179 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008383/0.5656, allocations: 2.825 MB / 0.7206 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5656, allocations: 0 / 0.7206 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005854/0.5715, allocations: 1.911 MB / 0.7225 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5725, allocations: 135.5 kB / 0.7226 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.5775, allocations: 2.983 MB / 0.7255 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.5782, allocations: 1.207 MB / 0.7267 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.5786, allocations: 103.4 kB / 0.7268 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.5786, allocations: 0 / 0.7268 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of Templates: time 0.04317/0.6218, allocations: 25.31 MB / 0.7515 GB, free: 3.051 MB / 0.545 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)