Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_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.005198/0.005198, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.427/1.427, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001449/0.001449, allocations: 196.4 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5258/0.5258, allocations: 91.97 MB / 431.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 81.14 kB / 0.5723 GB, free: 33.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1137, allocations: 71.3 MB / 0.642 GB, free: 4.027 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.009004/0.1227, allocations: 7.996 MB / 0.6498 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.1278, allocations: 2.501 MB / 0.6522 GB, free: 9.484 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.1287, allocations: 12 kB / 0.6522 GB, free: 9.473 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.1296, allocations: 313.4 kB / 0.6525 GB, free: 9.164 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.1321, allocations: 0.9932 MB / 0.6535 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1338, allocations: 0.7632 MB / 0.6542 GB, free: 7.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.1363, allocations: 2.135 MB / 0.6563 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000552/0.1369, allocations: 365.6 kB / 0.6567 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.1381, allocations: 0.8521 MB / 0.6575 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.1395, allocations: 1.089 MB / 0.6586 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002637/0.1397, allocations: 172 kB / 0.6587 GB, free: 2.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006924/0.1404, allocations: 351.8 kB / 0.6591 GB, free: 2.426 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004478/0.1409, allocations: 446.2 kB / 0.6595 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009186/0.1418, allocations: 0.8624 MB / 0.6603 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.1446, allocations: 2.183 MB / 0.6625 GB, free: 14.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1446, allocations: 0 / 0.6625 GB, free: 14.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1446, allocations: 0 / 0.6625 GB, free: 14.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.464e-05/0.1447, allocations: 0 / 0.6625 GB, free: 14.93 MB / 478.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.01338/0.1581, allocations: 3.565 MB / 0.666 GB, free: 11.3 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1581, allocations: 8.031 kB / 0.666 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.1584, allocations: 155.6 kB / 0.6661 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004873/0.1633, allocations: 0.7482 MB / 0.6668 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.1655, allocations: 1.097 MB / 0.6679 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005054/0.166, allocations: 424.9 kB / 0.6683 GB, free: 8.754 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.1662, allocations: 104 kB / 0.6684 GB, free: 8.652 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.1692, allocations: 1.372 MB / 0.6698 GB, free: 7.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1693, allocations: 0 / 0.6698 GB, free: 7.266 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.1694, allocations: 36 kB / 0.6698 GB, free: 7.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.1694, allocations: 20 kB / 0.6698 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003081/0.1725, allocations: 1.3 MB / 0.6711 GB, free: 5.906 MB / 478.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.008602/0.1811, allocations: 4.658 MB / 0.6756 GB, free: 1.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/0.1899, allocations: 2.883 MB / 0.6784 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.192, allocations: 0.9039 MB / 0.6793 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/0.1921, allocations: 20.98 kB / 0.6794 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.1943, allocations: 1.054 MB / 0.6804 GB, free: 12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 3.386e-06/0.1944, allocations: 4 kB / 0.6804 GB, free: 12 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04348/0.2379, allocations: 9.91 MB / 0.6901 GB, free: 2.047 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.238, allocations: 127.8 kB / 0.6902 GB, free: 1.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.2403, allocations: 1.341 MB / 0.6915 GB, free: 0.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002882/0.2406, allocations: 57.69 kB / 0.6915 GB, free: 492 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005373/0.2411, allocations: 0.5694 MB / 0.6921 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/0.2417, allocations: 479.9 kB / 0.6926 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006223/0.2423, allocations: 323.5 kB / 0.6929 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2424, allocations: 305.1 kB / 0.6932 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.2447, allocations: 0.9643 MB / 0.6941 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/0.2471, allocations: 1.143 MB / 0.6952 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004556/0.2517, allocations: 2.05 MB / 0.6972 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2517, allocations: 4 kB / 0.6972 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0111/0.2628, allocations: 3.824 MB / 0.701 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.49e-05/0.2629, allocations: 13.03 kB / 0.701 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.2629, allocations: 4 kB / 0.701 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.273, allocations: 2.671 MB / 0.7036 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.2745, allocations: 299.5 kB / 0.7039 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006753/0.2812, allocations: 2.688 MB / 0.7065 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.2836, allocations: 254.8 kB / 0.7067 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/0.2838, allocations: 63.92 kB / 0.7068 GB, free: 0.707 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.0005989/0.2844, allocations: 298.6 kB / 0.7071 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.2847, allocations: 159 kB / 0.7072 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/0.3017, allocations: 4.763 MB / 0.7119 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.3017, allocations: 12 kB / 0.7119 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3018, allocations: 0 / 0.7119 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/0.3018, allocations: 7.984 kB / 0.7119 GB, free: 11.44 MB / 0.5137 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.01965/0.3214, allocations: 6.864 MB / 0.7186 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/0.3215, allocations: 7.922 kB / 0.7186 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008765/0.3224, allocations: 135.8 kB / 0.7187 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008/0.3304, allocations: 2.138 MB / 0.7208 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002257/0.3306, allocations: 27.94 kB / 0.7209 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02763/0.3583, allocations: 10.08 MB / 0.7307 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3583, allocations: 0 / 0.7307 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02053/0.3789, allocations: 5.929 MB / 0.7365 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.3799, allocations: 263.8 kB / 0.7367 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/0.3803, allocations: 31.98 kB / 0.7368 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/0.3821, allocations: 135.8 kB / 0.7369 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/0.3832, allocations: 261.3 kB / 0.7371 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.3833, allocations: 35.98 kB / 0.7372 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001612/0.3849, allocations: 0.9134 MB / 0.7381 GB, free: 292 kB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.3849, allocations: 0 / 0.7381 GB, free: 292 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001643/0.3866, allocations: 0.5152 MB / 0.7386 GB, free: 15.77 MB / 0.545 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.02027/0.4068, allocations: 6.521 MB / 0.7449 GB, free: 9.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009504/0.4164, allocations: 2.813 MB / 0.7477 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.4165, allocations: 4 kB / 0.7477 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006722/0.4232, allocations: 1.926 MB / 0.7496 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.4248, allocations: 131.7 kB / 0.7497 GB, free: 4.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04858/0.4734, allocations: 19.12 MB / 0.7684 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2681/0.7416, allocations: 1.194 MB / 0.7695 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007307/0.7423, allocations: 136.9 kB / 0.7697 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/0.7431, allocations: 0.5757 MB / 0.7702 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.7431, allocations: 0 / 0.7702 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0819/0.825, allocations: 42.12 MB / 0.8114 GB, free: 91.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.1, allocations: 2.25 kB / 0.8114 GB, free: 91.62 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)