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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005585/0.005585, allocations: 101.1 kB / 15.73 MB, free: 6.469 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.342/1.342, allocations: 222.9 MB / 239.4 MB, free: 4.582 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.001329/0.001329, allocations: 196.4 kB / 289.7 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.46/0.46, allocations: 78.52 MB / 418.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 76.09 kB / 0.5531 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2904, allocations: 68.17 MB / 0.6197 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005994/0.2964, allocations: 7.979 MB / 0.6275 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.3004, allocations: 2.507 MB / 0.63 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007382/0.3011, allocations: 16 kB / 0.63 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007286/0.3019, allocations: 305.4 kB / 0.6303 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.3044, allocations: 1.185 MB / 0.6314 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3057, allocations: 0.6725 MB / 0.6321 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.308, allocations: 2.273 MB / 0.6343 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.3085, allocations: 373.5 kB / 0.6347 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009482/0.3095, allocations: 0.8677 MB / 0.6355 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3106, allocations: 1.105 MB / 0.6366 GB, free: 8.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.3108, allocations: 175.9 kB / 0.6367 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.3114, allocations: 351.8 kB / 0.6371 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.3117, allocations: 454.2 kB / 0.6375 GB, free: 7.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.3124, allocations: 0.878 MB / 0.6384 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.3144, allocations: 2.184 MB / 0.6405 GB, free: 4.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3144, allocations: 0 / 0.6405 GB, free: 4.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3145, allocations: 0 / 0.6405 GB, free: 4.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.3145, allocations: 0 / 0.6405 GB, free: 4.824 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.01341/0.3279, allocations: 3.795 MB / 0.6442 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.328, allocations: 12.03 kB / 0.6442 GB, free: 0.957 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.3282, allocations: 151.6 kB / 0.6444 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/0.3326, allocations: 0.7472 MB / 0.6451 GB, free: 52 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.3347, allocations: 1.092 MB / 0.6462 GB, free: 14.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/0.3351, allocations: 421 kB / 0.6466 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002217/0.3353, allocations: 108 kB / 0.6467 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.3381, allocations: 1.364 MB / 0.648 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3382, allocations: 4 kB / 0.648 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.3383, allocations: 36 kB / 0.648 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3383, allocations: 20 kB / 0.6481 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002942/0.3413, allocations: 1.304 MB / 0.6493 GB, free: 11.58 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.007943/0.3492, allocations: 4.645 MB / 0.6539 GB, free: 6.727 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008326/0.3576, allocations: 2.893 MB / 0.6567 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/0.3595, allocations: 0.8996 MB / 0.6576 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.3596, allocations: 24.98 kB / 0.6576 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002117/0.3618, allocations: 1.046 MB / 0.6586 GB, free: 1.691 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 3.026e-06/0.3618, allocations: 4 kB / 0.6586 GB, free: 1.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.04113/0.4029, allocations: 9.906 MB / 0.6683 GB, free: 7.742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.403, allocations: 119.9 kB / 0.6684 GB, free: 7.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.4052, allocations: 1.345 MB / 0.6697 GB, free: 6.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.4055, allocations: 49.7 kB / 0.6698 GB, free: 6.184 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.4059, allocations: 0.5686 MB / 0.6703 GB, free: 5.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.4064, allocations: 457.5 kB / 0.6708 GB, free: 5.156 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000661/0.4071, allocations: 327.4 kB / 0.6711 GB, free: 4.832 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.4072, allocations: 309.1 kB / 0.6714 GB, free: 4.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002139/0.4093, allocations: 0.9487 MB / 0.6723 GB, free: 3.578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.4116, allocations: 1.151 MB / 0.6734 GB, free: 2.383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/0.4158, allocations: 2.054 MB / 0.6754 GB, free: 288 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4158, allocations: 0 / 0.6754 GB, free: 288 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0102/0.426, allocations: 3.812 MB / 0.6791 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4261, allocations: 15.92 kB / 0.6792 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4261, allocations: 7.984 kB / 0.6792 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009522/0.4356, allocations: 2.675 MB / 0.6818 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/0.4371, allocations: 303.5 kB / 0.6821 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006355/0.4435, allocations: 2.692 MB / 0.6847 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/0.4457, allocations: 250.3 kB / 0.6849 GB, free: 6.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/0.4459, allocations: 59.98 kB / 0.685 GB, free: 6.43 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.0006171/0.4466, allocations: 289.5 kB / 0.6853 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003646/0.4469, allocations: 158.1 kB / 0.6854 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/0.4631, allocations: 4.759 MB / 0.6901 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.4632, allocations: 12 kB / 0.6901 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4632, allocations: 4 kB / 0.6901 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.371e-05/0.4632, allocations: 3.984 kB / 0.6901 GB, free: 1.184 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.01949/0.4827, allocations: 6.86 MB / 0.6968 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/0.4828, allocations: 7.938 kB / 0.6968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/0.4837, allocations: 139.8 kB / 0.6969 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007601/0.4913, allocations: 2.138 MB / 0.699 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.4915, allocations: 28 kB / 0.699 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02542/0.5169, allocations: 10.06 MB / 0.7089 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.517, allocations: 0 / 0.7089 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/0.5354, allocations: 5.916 MB / 0.7146 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.536, allocations: 270.8 kB / 0.7149 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.5365, allocations: 20 kB / 0.7149 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.5382, allocations: 139.8 kB / 0.7151 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008931/0.5392, allocations: 257.3 kB / 0.7153 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/0.5393, allocations: 35.98 kB / 0.7153 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001518/0.5409, allocations: 0.9134 MB / 0.7162 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5409, allocations: 0 / 0.7162 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001632/0.5425, allocations: 0.5074 MB / 0.7167 GB, free: 5.543 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.01951/0.562, allocations: 6.517 MB / 0.7231 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009485/0.5715, allocations: 2.806 MB / 0.7258 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.5716, allocations: 0 / 0.7258 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006598/0.5782, allocations: 1.926 MB / 0.7277 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.5798, allocations: 136.2 kB / 0.7278 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04902/0.6288, allocations: 19.05 MB / 0.7464 GB, free: 6.719 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.6297, allocations: 1.207 MB / 0.7476 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006515/0.6303, allocations: 141.7 kB / 0.7478 GB, free: 5.336 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008684/0.6312, allocations: 0.5735 MB / 0.7483 GB, free: 4.762 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.6312, allocations: 0 / 0.7483 GB, free: 4.762 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3394/0.9707, allocations: 43.84 MB / 0.7911 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.06, allocations: 8.531 kB / 0.7911 GB, free: 128.7 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)