Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07996/0.07996, allocations: 12.59 MB / 28.22 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 111.4 kB / 31.84 MB, free: 3.895 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 240.4 MB, free: 12.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001401, allocations: 183.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4142/0.4142, allocations: 78.51 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 142.4 kB / 0.5554 GB, free: 28.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1249, allocations: 68.14 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008315/0.1333, allocations: 8.032 MB / 0.6298 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00479/0.1381, allocations: 2.471 MB / 0.6322 GB, free: 5.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.1391, allocations: 12 kB / 0.6322 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.1399, allocations: 309.4 kB / 0.6325 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.143, allocations: 1.261 MB / 0.6337 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1444, allocations: 0.6622 MB / 0.6344 GB, free: 3.137 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00268/0.1471, allocations: 2.283 MB / 0.6366 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005645/0.1477, allocations: 373.5 kB / 0.6369 GB, free: 472 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1489, allocations: 0.86 MB / 0.6378 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.1501, allocations: 1.109 MB / 0.6389 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.1504, allocations: 172 kB / 0.639 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006375/0.151, allocations: 351.8 kB / 0.6394 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.1514, allocations: 454.2 kB / 0.6398 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009179/0.1524, allocations: 0.878 MB / 0.6407 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.155, allocations: 2.194 MB / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.155, allocations: 0 / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.155, allocations: 0 / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.819e-05/0.155, allocations: 0 / 0.6428 GB, free: 10.44 MB / 462.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.01448/0.1695, allocations: 3.858 MB / 0.6466 GB, free: 6.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1696, allocations: 11.98 kB / 0.6466 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.1698, allocations: 147.6 kB / 0.6467 GB, free: 6.355 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.1744, allocations: 0.756 MB / 0.6475 GB, free: 5.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1764, allocations: 1.094 MB / 0.6485 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/0.1768, allocations: 421 kB / 0.6489 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.177, allocations: 112 kB / 0.649 GB, free: 3.867 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.1799, allocations: 1.36 MB / 0.6504 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1799, allocations: 0 / 0.6504 GB, free: 2.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.1801, allocations: 39.94 kB / 0.6504 GB, free: 2.449 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.1801, allocations: 23.98 kB / 0.6504 GB, free: 2.426 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.183, allocations: 1.304 MB / 0.6517 GB, free: 1.125 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.008214/0.1912, allocations: 4.654 MB / 0.6562 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008609/0.1998, allocations: 2.878 MB / 0.6591 GB, free: 9.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.202, allocations: 0.9035 MB / 0.6599 GB, free: 8.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.2021, allocations: 20.98 kB / 0.66 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002246/0.2044, allocations: 1.054 MB / 0.661 GB, free: 7.227 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 2.675e-06/0.2044, allocations: 0 / 0.661 GB, free: 7.227 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.04303/0.2474, allocations: 9.914 MB / 0.6707 GB, free: 13.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.2475, allocations: 119.8 kB / 0.6708 GB, free: 13.13 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.2498, allocations: 1.353 MB / 0.6721 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003733/0.2502, allocations: 49.7 kB / 0.6722 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.2506, allocations: 0.5733 MB / 0.6727 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005502/0.2512, allocations: 479.9 kB / 0.6732 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/0.2518, allocations: 327.5 kB / 0.6735 GB, free: 10.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.2519, allocations: 309.1 kB / 0.6738 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.2541, allocations: 0.9487 MB / 0.6747 GB, free: 9.078 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.2564, allocations: 1.155 MB / 0.6758 GB, free: 7.879 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/0.2608, allocations: 2.05 MB / 0.6778 GB, free: 5.781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2608, allocations: 0 / 0.6778 GB, free: 5.781 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01034/0.2712, allocations: 3.82 MB / 0.6816 GB, free: 1.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.2712, allocations: 11.94 kB / 0.6816 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.2713, allocations: 4.312 kB / 0.6816 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009637/0.2809, allocations: 2.679 MB / 0.6842 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.2824, allocations: 299.5 kB / 0.6845 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.289, allocations: 2.691 MB / 0.6871 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.2912, allocations: 250.8 kB / 0.6873 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.2914, allocations: 63.97 kB / 0.6874 GB, free: 11.93 MB / 0.4981 GB 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.0005835/0.292, allocations: 293.5 kB / 0.6877 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.2923, allocations: 162.9 kB / 0.6878 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0162/0.3085, allocations: 4.755 MB / 0.6925 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.3086, allocations: 12 kB / 0.6925 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.3086, allocations: 4 kB / 0.6925 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/0.3086, allocations: 11.97 kB / 0.6925 GB, free: 6.668 MB / 0.4981 GB 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.0187/0.3273, allocations: 6.856 MB / 0.6992 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.3274, allocations: 7.938 kB / 0.6992 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/0.3283, allocations: 135.8 kB / 0.6993 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007745/0.336, allocations: 2.142 MB / 0.7014 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.3363, allocations: 27.98 kB / 0.7015 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02568/0.362, allocations: 10.09 MB / 0.7113 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.362, allocations: 0 / 0.7113 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2617/0.6237, allocations: 5.925 MB / 0.7171 GB, free: 83.51 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/0.6245, allocations: 271.1 kB / 0.7174 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003179/0.6248, allocations: 22.03 kB / 0.7174 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.6264, allocations: 141.3 kB / 0.7175 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008702/0.6273, allocations: 254.4 kB / 0.7178 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.6274, allocations: 34.83 kB / 0.7178 GB, free: 83.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001623/0.6291, allocations: 0.9151 MB / 0.7187 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6291, allocations: 0.9062 kB / 0.7187 GB, free: 83.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001782/0.6309, allocations: 0.5136 MB / 0.7192 GB, free: 83.3 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.02062/0.6515, allocations: 6.524 MB / 0.7256 GB, free: 81.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00941/0.661, allocations: 2.804 MB / 0.7283 GB, free: 80.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.661, allocations: 1.469 kB / 0.7283 GB, free: 80.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006164/0.6672, allocations: 1.926 MB / 0.7302 GB, free: 80.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.6685, allocations: 131.6 kB / 0.7303 GB, free: 80.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04218/0.7107, allocations: 19.12 MB / 0.749 GB, free: 70.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.7113, allocations: 1.204 MB / 0.7502 GB, free: 68.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005928/0.7119, allocations: 141.7 kB / 0.7503 GB, free: 68.85 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/0.7125, allocations: 0.5735 MB / 0.7508 GB, free: 68.27 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.7126, allocations: 4 kB / 0.7508 GB, free: 68.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06108/0.7736, allocations: 42.12 MB / 0.792 GB, free: 26.22 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.7, allocations: 14.73 kB / 0.792 GB, free: 26.21 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)