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.001218/0.001218, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.439/1.439, allocations: 223.3 MB / 239 MB, free: 5.445 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.001194/0.001194, allocations: 176.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4771/0.4771, allocations: 78.55 MB / 419.9 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003893, allocations: 11.98 kB / 499.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1382, allocations: 69.36 MB / 0.5559 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2526/0.3909, allocations: 7.297 MB / 0.563 GB, free: 37.3 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00694/0.3979, allocations: 2.418 MB / 0.5654 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.4002, allocations: 15.03 kB / 0.5654 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.4013, allocations: 220.5 kB / 0.5656 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.4043, allocations: 0.9864 MB / 0.5666 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.4058, allocations: 0.5525 MB / 0.5671 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002608/0.4084, allocations: 2.018 MB / 0.5691 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.4092, allocations: 313.3 kB / 0.5694 GB, free: 35.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.4106, allocations: 0.7312 MB / 0.5701 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.4123, allocations: 0.9847 MB / 0.5711 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006582/0.413, allocations: 87.28 kB / 0.5712 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.4142, allocations: 250.8 kB / 0.5714 GB, free: 35.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.4149, allocations: 351.6 kB / 0.5717 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.4155, allocations: 279.8 kB / 0.572 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.4173, allocations: 1.622 MB / 0.5736 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4173, allocations: 0.75 kB / 0.5736 GB, free: 34.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4173, allocations: 0 / 0.5736 GB, free: 34.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.904e-05/0.4174, allocations: 2.938 kB / 0.5736 GB, free: 34.25 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.01223/0.4296, allocations: 3.615 MB / 0.5771 GB, free: 32.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4297, allocations: 10.5 kB / 0.5771 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004333/0.4301, allocations: 146.5 kB / 0.5773 GB, free: 32.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.4346, allocations: 0.7521 MB / 0.578 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.4372, allocations: 1.037 MB / 0.579 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004322/0.4376, allocations: 434.6 kB / 0.5794 GB, free: 31.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003952/0.438, allocations: 107.3 kB / 0.5795 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003207/0.4413, allocations: 1.436 MB / 0.5809 GB, free: 31.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.4413, allocations: 5.156 kB / 0.5809 GB, free: 31.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.4415, allocations: 40.55 kB / 0.581 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.4415, allocations: 20.53 kB / 0.581 GB, free: 31.08 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.4443, allocations: 1.379 MB / 0.5823 GB, free: 30.64 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.008999/0.4533, allocations: 4.743 MB / 0.587 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008647/0.462, allocations: 3.447 MB / 0.5903 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/0.4641, allocations: 0.9798 MB / 0.5913 GB, free: 26.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001941/0.4643, allocations: 26.12 kB / 0.5913 GB, free: 26.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002437/0.4668, allocations: 1.118 MB / 0.5924 GB, free: 25.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 8.055e-06/0.4668, allocations: 0.7969 kB / 0.5924 GB, free: 25.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04294/0.5097, allocations: 12.03 MB / 0.6042 GB, free: 24.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.5098, allocations: 117.4 kB / 0.6043 GB, free: 23.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.5129, allocations: 1.34 MB / 0.6056 GB, free: 23.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003618/0.5133, allocations: 52.58 kB / 0.6056 GB, free: 23.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005404/0.5138, allocations: 0.5629 MB / 0.6062 GB, free: 22.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007279/0.5146, allocations: 452.4 kB / 0.6066 GB, free: 22.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003376/0.5149, allocations: 35.94 kB / 0.6066 GB, free: 22.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5151, allocations: 375.3 kB / 0.607 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.5176, allocations: 1.027 MB / 0.608 GB, free: 21.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.5201, allocations: 1.227 MB / 0.6092 GB, free: 21.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.5227, allocations: 1.107 MB / 0.6103 GB, free: 20.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.5227, allocations: 1.25 kB / 0.6103 GB, free: 20.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009496/0.5322, allocations: 3.979 MB / 0.6142 GB, free: 18.14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.5322, allocations: 13.39 kB / 0.6142 GB, free: 18.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.5323, allocations: 8 kB / 0.6142 GB, free: 18.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00854/0.5408, allocations: 3.059 MB / 0.6172 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.5423, allocations: 303.6 kB / 0.6175 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005647/0.548, allocations: 2.999 MB / 0.6204 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/0.5505, allocations: 294.3 kB / 0.6207 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002892/0.5508, allocations: 67.97 kB / 0.6207 GB, free: 11.39 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008231/0.5516, allocations: 285.5 kB / 0.621 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/0.5521, allocations: 158 kB / 0.6212 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.5668, allocations: 5.798 MB / 0.6268 GB, free: 5.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5669, allocations: 12 kB / 0.6268 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/0.5669, allocations: 11.98 kB / 0.6268 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.567, allocations: 3.984 kB / 0.6269 GB, free: 5.098 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.01874/0.5857, allocations: 7.902 MB / 0.6346 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/0.5858, allocations: 0 / 0.6346 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009418/0.5867, allocations: 143.8 kB / 0.6347 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007716/0.5945, allocations: 2.51 MB / 0.6372 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/0.5948, allocations: 27.98 kB / 0.6372 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02535/0.6202, allocations: 10.32 MB / 0.6473 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6202, allocations: 0.7031 kB / 0.6473 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01953/0.6397, allocations: 7.028 MB / 0.6541 GB, free: 8.844 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009642/0.6408, allocations: 274.7 kB / 0.6544 GB, free: 8.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007195/0.6415, allocations: 20 kB / 0.6544 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.6435, allocations: 179.8 kB / 0.6546 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009483/0.6445, allocations: 262 kB / 0.6548 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.6447, allocations: 36 kB / 0.6549 GB, free: 8.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001759/0.6465, allocations: 0.9017 MB / 0.6557 GB, free: 7.168 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.763e-06/0.6465, allocations: 0 / 0.6557 GB, free: 7.168 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002204/0.6487, allocations: 0.5228 MB / 0.6563 GB, free: 6.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02015/0.6689, allocations: 7.61 MB / 0.6637 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009585/0.6785, allocations: 3.127 MB / 0.6667 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.6786, allocations: 0 / 0.6667 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006603/0.6852, allocations: 2.159 MB / 0.6688 GB, free: 9.699 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.6873, allocations: 137.1 kB / 0.669 GB, free: 9.562 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02952/0.7168, allocations: 13.41 MB / 0.6821 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009993/0.7179, allocations: 1.208 MB / 0.6833 GB, free: 10.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007773/0.7187, allocations: 136.6 kB / 0.6834 GB, free: 10.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7197, allocations: 0.5657 MB / 0.6839 GB, free: 9.738 MB / 494.1 MB Notification: Performance of SimCode: time 1.322e-06/0.7197, allocations: 0 / 0.6839 GB, free: 9.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06943/0.7892, allocations: 37.93 MB / 0.721 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.7894, allocations: 192.5 kB / 0.7212 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.746, allocations: 4.062 kB / 0.7212 GB, free: 3.871 MB / 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/linux/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) Environment - environmentSimulation: