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.008129/0.008129, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.302/1.302, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001278/0.001278, allocations: 192.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4192/0.4192, allocations: 78.54 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 80.11 kB / 0.5532 GB, free: 1.457 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2794, allocations: 68.17 MB / 0.6197 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005711/0.2851, allocations: 7.981 MB / 0.6275 GB, free: 2.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003879/0.289, allocations: 2.505 MB / 0.63 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007221/0.2898, allocations: 12 kB / 0.63 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007523/0.2905, allocations: 301.5 kB / 0.6303 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.2935, allocations: 1.251 MB / 0.6315 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.295, allocations: 0.6644 MB / 0.6321 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.2974, allocations: 2.281 MB / 0.6344 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000516/0.298, allocations: 377.3 kB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.299, allocations: 0.8677 MB / 0.6356 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.3001, allocations: 1.097 MB / 0.6366 GB, free: 8.789 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002517/0.3004, allocations: 179.9 kB / 0.6368 GB, free: 8.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.301, allocations: 351.8 kB / 0.6371 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003496/0.3013, allocations: 454.2 kB / 0.6376 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007399/0.3021, allocations: 0.874 MB / 0.6384 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.3043, allocations: 2.195 MB / 0.6406 GB, free: 4.746 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3043, allocations: 0 / 0.6406 GB, free: 4.746 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3043, allocations: 0 / 0.6406 GB, free: 4.746 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.836e-05/0.3044, allocations: 0 / 0.6406 GB, free: 4.746 MB / 446.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.01353/0.3179, allocations: 3.85 MB / 0.6443 GB, free: 0.832 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.318, allocations: 12.03 kB / 0.6443 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001809/0.3182, allocations: 151.6 kB / 0.6445 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004529/0.3227, allocations: 0.7521 MB / 0.6452 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.3245, allocations: 1.105 MB / 0.6463 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/0.3249, allocations: 421 kB / 0.6467 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.3252, allocations: 104 kB / 0.6468 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/0.3278, allocations: 1.372 MB / 0.6481 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3279, allocations: 0 / 0.6481 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.328, allocations: 36 kB / 0.6482 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.328, allocations: 24 kB / 0.6482 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/0.3308, allocations: 1.296 MB / 0.6495 GB, free: 11.43 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.007756/0.3385, allocations: 4.658 MB / 0.654 GB, free: 6.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/0.3467, allocations: 2.895 MB / 0.6568 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.3486, allocations: 0.9035 MB / 0.6577 GB, free: 2.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.3487, allocations: 20.98 kB / 0.6577 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/0.3508, allocations: 1.051 MB / 0.6588 GB, free: 1.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 3.166e-06/0.3508, allocations: 0 / 0.6588 GB, free: 1.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.04094/0.3918, allocations: 9.91 MB / 0.6685 GB, free: 7.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.3919, allocations: 119.9 kB / 0.6686 GB, free: 7.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.3938, allocations: 1.349 MB / 0.6699 GB, free: 6.066 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000272/0.3941, allocations: 53.7 kB / 0.6699 GB, free: 6.008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004039/0.3945, allocations: 0.5694 MB / 0.6705 GB, free: 5.434 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.395, allocations: 472 kB / 0.6709 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005576/0.3956, allocations: 331.5 kB / 0.6713 GB, free: 4.641 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.3956, allocations: 309.1 kB / 0.6716 GB, free: 4.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.3977, allocations: 0.9526 MB / 0.6725 GB, free: 3.383 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.3999, allocations: 1.155 MB / 0.6736 GB, free: 2.184 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004064/0.404, allocations: 2.046 MB / 0.6756 GB, free: 92 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.404, allocations: 4 kB / 0.6756 GB, free: 88 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01006/0.4141, allocations: 3.832 MB / 0.6794 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4141, allocations: 11.94 kB / 0.6794 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.4141, allocations: 4 kB / 0.6794 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009499/0.4236, allocations: 2.671 MB / 0.682 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.4251, allocations: 295.5 kB / 0.6823 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006224/0.4314, allocations: 2.7 MB / 0.6849 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/0.4337, allocations: 242.9 kB / 0.6851 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/0.4338, allocations: 63.98 kB / 0.6852 GB, free: 6.23 MB / 494.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.0005789/0.4344, allocations: 293.4 kB / 0.6855 GB, free: 5.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/0.4347, allocations: 174.9 kB / 0.6856 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.4505, allocations: 4.748 MB / 0.6903 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.4505, allocations: 12 kB / 0.6903 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4505, allocations: 0 / 0.6903 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.4506, allocations: 7.922 kB / 0.6903 GB, free: 0.9766 MB / 494.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.01829/0.4689, allocations: 6.864 MB / 0.697 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.4689, allocations: 3.938 kB / 0.697 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/0.4698, allocations: 143.8 kB / 0.6971 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007461/0.4773, allocations: 2.138 MB / 0.6992 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.4775, allocations: 31.94 kB / 0.6993 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/0.5026, allocations: 10.07 MB / 0.7091 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5026, allocations: 4 kB / 0.7091 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/0.5206, allocations: 5.917 MB / 0.7149 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005492/0.5212, allocations: 275.7 kB / 0.7151 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/0.5215, allocations: 24 kB / 0.7152 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.523, allocations: 135.8 kB / 0.7153 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007192/0.5238, allocations: 265.3 kB / 0.7155 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/0.5239, allocations: 31.98 kB / 0.7156 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001308/0.5252, allocations: 0.9173 MB / 0.7165 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5252, allocations: 0 / 0.7165 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001325/0.5265, allocations: 0.5152 MB / 0.717 GB, free: 5.293 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.01845/0.545, allocations: 6.525 MB / 0.7233 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008475/0.5535, allocations: 2.813 MB / 0.7261 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5535, allocations: 0 / 0.7261 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00597/0.5595, allocations: 1.926 MB / 0.728 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.5606, allocations: 137 kB / 0.7281 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04343/0.604, allocations: 19.12 MB / 0.7468 GB, free: 6.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.6048, allocations: 1.207 MB / 0.7479 GB, free: 5.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005801/0.6054, allocations: 137.7 kB / 0.7481 GB, free: 5.008 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007689/0.6062, allocations: 0.5774 MB / 0.7486 GB, free: 4.43 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.6062, allocations: 0 / 0.7486 GB, free: 4.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3048/0.911, allocations: 42.09 MB / 0.7897 GB, free: 130 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.13/15.05, allocations: 9.125 kB / 0.7898 GB, free: 130 MB / 0.5606 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)