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.001307/0.001307, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.271/1.271, allocations: 222.9 MB / 239 MB, free: 4.734 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.001349/0.001349, allocations: 200.4 kB / 289.3 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4277/0.4277, allocations: 78.53 MB / 417.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 71.88 kB / 497 MB, free: 6.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.143, allocations: 68.19 MB / 0.552 GB, free: 2.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2174/0.3605, allocations: 8.303 MB / 0.5601 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.3655, allocations: 2.53 MB / 0.5626 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008544/0.3664, allocations: 13.5 kB / 0.5626 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.3673, allocations: 246.2 kB / 0.5628 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002394/0.3697, allocations: 1.069 MB / 0.5639 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3709, allocations: 0.6172 MB / 0.5645 GB, free: 34.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.3728, allocations: 2.259 MB / 0.5667 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.3732, allocations: 378.7 kB / 0.567 GB, free: 33.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007819/0.374, allocations: 0.8665 MB / 0.5679 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008288/0.3748, allocations: 1.114 MB / 0.569 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002022/0.375, allocations: 172.4 kB / 0.5691 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.3756, allocations: 349.4 kB / 0.5695 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003397/0.3759, allocations: 449.1 kB / 0.5699 GB, free: 33.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.3765, allocations: 0.8834 MB / 0.5707 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.378, allocations: 2.16 MB / 0.5729 GB, free: 32.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.378, allocations: 2.719 kB / 0.5729 GB, free: 32.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.378, allocations: 0 / 0.5729 GB, free: 32.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.3781, allocations: 0 / 0.5729 GB, free: 32.27 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01215/0.3902, allocations: 3.804 MB / 0.5766 GB, free: 31.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3903, allocations: 11.47 kB / 0.5766 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.3904, allocations: 146.2 kB / 0.5767 GB, free: 31.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004153/0.3946, allocations: 0.7429 MB / 0.5774 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.3962, allocations: 1.09 MB / 0.5785 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.3965, allocations: 422.3 kB / 0.5789 GB, free: 30.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.3967, allocations: 102.1 kB / 0.579 GB, free: 29.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.3991, allocations: 1.365 MB / 0.5803 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.3991, allocations: 0 / 0.5803 GB, free: 29.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3992, allocations: 36.53 kB / 0.5804 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.3993, allocations: 26.17 kB / 0.5804 GB, free: 29.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.4018, allocations: 1.303 MB / 0.5817 GB, free: 28.99 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.007378/0.4092, allocations: 4.68 MB / 0.5862 GB, free: 26.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007705/0.417, allocations: 2.887 MB / 0.5891 GB, free: 25.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.4188, allocations: 0.9012 MB / 0.5899 GB, free: 24.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.4189, allocations: 25.86 kB / 0.59 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.4209, allocations: 1.044 MB / 0.591 GB, free: 24.36 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.436e-06/0.4209, allocations: 1.25 kB / 0.591 GB, free: 24.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.0403/0.4612, allocations: 9.898 MB / 0.6007 GB, free: 22.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4613, allocations: 124.4 kB / 0.6008 GB, free: 22.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002142/0.4635, allocations: 1.347 MB / 0.6021 GB, free: 22.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003423/0.4638, allocations: 51.75 kB / 0.6021 GB, free: 22.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003378/0.4642, allocations: 0.5699 MB / 0.6027 GB, free: 21.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.4646, allocations: 449.3 kB / 0.6031 GB, free: 21.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005712/0.4652, allocations: 326.4 kB / 0.6034 GB, free: 21.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.408e-05/0.4652, allocations: 313.1 kB / 0.6037 GB, free: 20.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.4672, allocations: 0.9497 MB / 0.6047 GB, free: 20.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.4693, allocations: 1.154 MB / 0.6058 GB, free: 19.85 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003743/0.473, allocations: 2.051 MB / 0.6078 GB, free: 18.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.4731, allocations: 4.812 kB / 0.6078 GB, free: 18.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01008/0.4832, allocations: 3.816 MB / 0.6115 GB, free: 16.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.4832, allocations: 8.25 kB / 0.6115 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4832, allocations: 4.719 kB / 0.6115 GB, free: 16.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009048/0.4923, allocations: 2.684 MB / 0.6142 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.4936, allocations: 299.6 kB / 0.6144 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.4987, allocations: 2.694 MB / 0.6171 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.5007, allocations: 242.3 kB / 0.6173 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.5009, allocations: 65.7 kB / 0.6174 GB, free: 12.04 MB / 430.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.0004832/0.5014, allocations: 289.5 kB / 0.6176 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.5016, allocations: 154.1 kB / 0.6178 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/0.515, allocations: 4.763 MB / 0.6224 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5151, allocations: 12 kB / 0.6225 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.5151, allocations: 1 kB / 0.6225 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.5151, allocations: 8.953 kB / 0.6225 GB, free: 6.785 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 postOpt removeSimpleEquations (simulation): time 0.01562/0.5307, allocations: 6.864 MB / 0.6292 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.5308, allocations: 3.938 kB / 0.6292 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007792/0.5316, allocations: 139.8 kB / 0.6293 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006919/0.5385, allocations: 2.143 MB / 0.6314 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.5386, allocations: 27.98 kB / 0.6314 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02414/0.5628, allocations: 10.08 MB / 0.6413 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5628, allocations: 2.219 kB / 0.6413 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/0.5802, allocations: 5.915 MB / 0.647 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000612/0.5809, allocations: 266.8 kB / 0.6473 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004966/0.5814, allocations: 24 kB / 0.6473 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/0.5832, allocations: 131.8 kB / 0.6474 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009376/0.5842, allocations: 266.4 kB / 0.6477 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.5844, allocations: 32.75 kB / 0.6477 GB, free: 12.56 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.586, allocations: 0.9135 MB / 0.6486 GB, free: 11.65 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.586, allocations: 3.938 kB / 0.6486 GB, free: 11.64 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001783/0.5878, allocations: 0.5152 MB / 0.6491 GB, free: 11.13 MB / 462.1 MB 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.01847/0.6063, allocations: 6.504 MB / 0.6555 GB, free: 4.578 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009144/0.6155, allocations: 2.855 MB / 0.6583 GB, free: 1.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6155, allocations: 0 / 0.6583 GB, free: 1.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00607/0.6216, allocations: 1.923 MB / 0.6601 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.6233, allocations: 134.1 kB / 0.6603 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/0.6722, allocations: 20.64 MB / 0.6804 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.6731, allocations: 1.211 MB / 0.6816 GB, free: 9.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007131/0.6738, allocations: 135.9 kB / 0.6817 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008764/0.6747, allocations: 0.5774 MB / 0.6823 GB, free: 8.395 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6747, allocations: 0 / 0.6823 GB, free: 8.395 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/0.7443, allocations: 40.23 MB / 0.7216 GB, free: 488 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.7445, allocations: 209.5 kB / 0.7218 GB, free: 228 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.632, allocations: 0 / 0.7218 GB, free: 228 kB / 0.5137 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)