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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001212/0.001212, allocations: 188.5 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4588/0.4588, allocations: 78.53 MB / 418.3 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 71.89 kB / 497.6 MB, free: 6.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1278, allocations: 68.18 MB / 0.5525 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.218/0.3458, allocations: 7.958 MB / 0.5603 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004481/0.3503, allocations: 2.501 MB / 0.5627 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.3514, allocations: 14.66 kB / 0.5627 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.3523, allocations: 316.3 kB / 0.563 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00289/0.3553, allocations: 1.189 MB / 0.5642 GB, free: 34.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3567, allocations: 0.6707 MB / 0.5648 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002349/0.3591, allocations: 2.267 MB / 0.567 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005427/0.3596, allocations: 372.5 kB / 0.5674 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.3607, allocations: 0.8579 MB / 0.5682 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3619, allocations: 1.107 MB / 0.5693 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.3622, allocations: 173.2 kB / 0.5695 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007071/0.3629, allocations: 353.3 kB / 0.5698 GB, free: 33.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003131/0.3632, allocations: 450.7 kB / 0.5702 GB, free: 33.58 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007024/0.3639, allocations: 0.8726 MB / 0.5711 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.3659, allocations: 2.163 MB / 0.5732 GB, free: 32.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3659, allocations: 0 / 0.5732 GB, free: 32.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3659, allocations: 0.7188 kB / 0.5732 GB, free: 32.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.124e-05/0.366, allocations: 2.719 kB / 0.5732 GB, free: 32.8 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.01409/0.3801, allocations: 3.8 MB / 0.5769 GB, free: 31.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3801, allocations: 8.75 kB / 0.5769 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001718/0.3803, allocations: 150.1 kB / 0.5771 GB, free: 31.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.3848, allocations: 0.7445 MB / 0.5778 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.3866, allocations: 1.092 MB / 0.5789 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003433/0.3869, allocations: 426.1 kB / 0.5793 GB, free: 30.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.3871, allocations: 109.7 kB / 0.5794 GB, free: 30.24 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.3896, allocations: 1.356 MB / 0.5807 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.3896, allocations: 3.938 kB / 0.5807 GB, free: 29.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.3897, allocations: 38.39 kB / 0.5807 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.3898, allocations: 23.66 kB / 0.5808 GB, free: 29.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.3924, allocations: 1.298 MB / 0.582 GB, free: 29.26 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.007989/0.4004, allocations: 4.68 MB / 0.5866 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008387/0.4088, allocations: 2.888 MB / 0.5894 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.4109, allocations: 0.9057 MB / 0.5903 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.4111, allocations: 21.55 kB / 0.5903 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002203/0.4133, allocations: 1.042 MB / 0.5913 GB, free: 24.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.196e-06/0.4133, allocations: 1.094 kB / 0.5913 GB, free: 24.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04399/0.4573, allocations: 9.909 MB / 0.601 GB, free: 23.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.4574, allocations: 119.2 kB / 0.6011 GB, free: 22.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.4602, allocations: 1.347 MB / 0.6025 GB, free: 22.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004593/0.4607, allocations: 50.89 kB / 0.6025 GB, free: 22.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/0.4612, allocations: 0.5709 MB / 0.6031 GB, free: 21.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007437/0.4619, allocations: 448 kB / 0.6035 GB, free: 21.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007826/0.4627, allocations: 329.7 kB / 0.6038 GB, free: 21.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.655e-05/0.4628, allocations: 310.6 kB / 0.6041 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.4649, allocations: 0.9515 MB / 0.605 GB, free: 20.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.467, allocations: 1.153 MB / 0.6062 GB, free: 19.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004326/0.4714, allocations: 2.05 MB / 0.6082 GB, free: 18.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4714, allocations: 2.969 kB / 0.6082 GB, free: 18.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01054/0.482, allocations: 3.822 MB / 0.6119 GB, free: 16.83 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.482, allocations: 10.81 kB / 0.6119 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.482, allocations: 3.062 kB / 0.6119 GB, free: 16.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009259/0.4913, allocations: 2.669 MB / 0.6145 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.493, allocations: 304.7 kB / 0.6148 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.4992, allocations: 2.692 MB / 0.6174 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.5021, allocations: 246.3 kB / 0.6177 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003491/0.5024, allocations: 59.98 kB / 0.6177 GB, free: 12.06 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.0008858/0.5033, allocations: 298.1 kB / 0.618 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.5039, allocations: 150.1 kB / 0.6181 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/0.5192, allocations: 4.764 MB / 0.6228 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.5193, allocations: 12 kB / 0.6228 GB, free: 6.809 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5193, allocations: 4 kB / 0.6228 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.915e-05/0.5194, allocations: 8.484 kB / 0.6228 GB, free: 6.797 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.0191/0.5385, allocations: 6.86 MB / 0.6295 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/0.5385, allocations: 4.438 kB / 0.6295 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/0.5395, allocations: 141.7 kB / 0.6297 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008139/0.5477, allocations: 2.143 MB / 0.6318 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003692/0.5481, allocations: 27.98 kB / 0.6318 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02801/0.5761, allocations: 10.08 MB / 0.6416 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5762, allocations: 0 / 0.6416 GB, free: 3.246 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02025/0.5964, allocations: 5.915 MB / 0.6474 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008411/0.5973, allocations: 274.7 kB / 0.6477 GB, free: 13.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006797/0.598, allocations: 20 kB / 0.6477 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.6001, allocations: 135.8 kB / 0.6478 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009889/0.6011, allocations: 257.9 kB / 0.6481 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/0.6014, allocations: 40.48 kB / 0.6481 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.6032, allocations: 0.9134 MB / 0.649 GB, free: 11.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6032, allocations: 0 / 0.649 GB, free: 11.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002179/0.6054, allocations: 0.5074 MB / 0.6495 GB, free: 11.15 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.02057/0.626, allocations: 6.51 MB / 0.6558 GB, free: 4.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/0.6368, allocations: 2.852 MB / 0.6586 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6368, allocations: 1.875 kB / 0.6586 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007178/0.644, allocations: 1.934 MB / 0.6605 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.6461, allocations: 134.7 kB / 0.6606 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05367/0.6998, allocations: 20.17 MB / 0.6803 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009544/0.7008, allocations: 1.203 MB / 0.6815 GB, free: 9.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008116/0.7016, allocations: 142.6 kB / 0.6817 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.7026, allocations: 0.5813 MB / 0.6822 GB, free: 8.867 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/0.7027, allocations: 0 / 0.6822 GB, free: 8.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08121/0.7839, allocations: 41.61 MB / 0.7229 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.73, allocations: 10.31 kB / 0.7229 GB, free: 15.52 MB / 0.5294 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)