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.005165/0.005165, allocations: 103.5 kB / 15.74 MB, free: 6.043 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.412/1.412, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001479/0.001479, allocations: 192.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4638/0.4638, allocations: 78.54 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 87.84 kB / 0.5532 GB, free: 1.418 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3015, allocations: 68.17 MB / 0.6197 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006403/0.308, allocations: 7.969 MB / 0.6275 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.3123, allocations: 2.505 MB / 0.63 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008545/0.3132, allocations: 12 kB / 0.63 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009179/0.3141, allocations: 309.4 kB / 0.6303 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002989/0.3171, allocations: 1.189 MB / 0.6314 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.3187, allocations: 0.6663 MB / 0.6321 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003008/0.3217, allocations: 2.283 MB / 0.6343 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006497/0.3224, allocations: 381.3 kB / 0.6347 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.3237, allocations: 0.8638 MB / 0.6355 GB, free: 9.918 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.3251, allocations: 1.101 MB / 0.6366 GB, free: 8.812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.3255, allocations: 176 kB / 0.6368 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.3262, allocations: 351.8 kB / 0.6371 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.3266, allocations: 454.2 kB / 0.6375 GB, free: 7.848 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.3276, allocations: 0.874 MB / 0.6384 GB, free: 6.969 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00264/0.3302, allocations: 2.191 MB / 0.6405 GB, free: 4.773 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3302, allocations: 0 / 0.6405 GB, free: 4.773 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3302, allocations: 0 / 0.6405 GB, free: 4.773 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.3303, allocations: 0 / 0.6405 GB, free: 4.773 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.01454/0.3448, allocations: 3.858 MB / 0.6443 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.3449, allocations: 12.03 kB / 0.6443 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002189/0.3451, allocations: 147.6 kB / 0.6444 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004687/0.3498, allocations: 0.7521 MB / 0.6452 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/0.352, allocations: 1.101 MB / 0.6463 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004871/0.3525, allocations: 421 kB / 0.6467 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/0.3527, allocations: 104 kB / 0.6468 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/0.3557, allocations: 1.372 MB / 0.6481 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3557, allocations: 0 / 0.6481 GB, free: 12.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.3559, allocations: 39.98 kB / 0.6481 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.3559, allocations: 20 kB / 0.6482 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003075/0.359, allocations: 1.3 MB / 0.6494 GB, free: 11.46 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.008574/0.3676, allocations: 4.654 MB / 0.654 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008853/0.3764, allocations: 2.899 MB / 0.6568 GB, free: 3.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002115/0.3786, allocations: 0.8996 MB / 0.6577 GB, free: 2.645 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.3787, allocations: 16.98 kB / 0.6577 GB, free: 2.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002268/0.381, allocations: 1.058 MB / 0.6587 GB, free: 1.547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 2.796e-06/0.381, allocations: 0 / 0.6587 GB, free: 1.547 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.04356/0.4246, allocations: 9.91 MB / 0.6684 GB, free: 7.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.4247, allocations: 123.8 kB / 0.6685 GB, free: 7.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.427, allocations: 1.345 MB / 0.6698 GB, free: 6.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.4273, allocations: 49.7 kB / 0.6699 GB, free: 6.035 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.4278, allocations: 0.5734 MB / 0.6704 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/0.4284, allocations: 475.9 kB / 0.6709 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006382/0.429, allocations: 323.5 kB / 0.6712 GB, free: 4.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4291, allocations: 309.1 kB / 0.6715 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.4314, allocations: 0.9565 MB / 0.6724 GB, free: 3.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.434, allocations: 1.155 MB / 0.6736 GB, free: 2.207 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/0.4387, allocations: 2.046 MB / 0.6756 GB, free: 116 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.4387, allocations: 4 kB / 0.6756 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01116/0.4499, allocations: 3.824 MB / 0.6793 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.4499, allocations: 7.938 kB / 0.6793 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.45, allocations: 7.984 kB / 0.6793 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.4601, allocations: 2.675 MB / 0.6819 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.4617, allocations: 299.6 kB / 0.6822 GB, free: 9.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006886/0.4686, allocations: 2.692 MB / 0.6848 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.4711, allocations: 246.9 kB / 0.6851 GB, free: 6.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000201/0.4713, allocations: 59.97 kB / 0.6851 GB, free: 6.262 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.0006397/0.4719, allocations: 305.4 kB / 0.6854 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/0.4723, allocations: 166.9 kB / 0.6856 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/0.4892, allocations: 4.744 MB / 0.6902 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/0.4892, allocations: 15.98 kB / 0.6902 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4893, allocations: 4 kB / 0.6902 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-05/0.4893, allocations: 3.984 kB / 0.6902 GB, free: 1.004 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.01998/0.5093, allocations: 6.868 MB / 0.6969 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.5093, allocations: 7.938 kB / 0.697 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/0.5102, allocations: 135.8 kB / 0.6971 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007958/0.5182, allocations: 2.142 MB / 0.6992 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002202/0.5184, allocations: 32 kB / 0.6992 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02715/0.5456, allocations: 10.07 MB / 0.709 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5456, allocations: 0 / 0.709 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.5652, allocations: 5.925 MB / 0.7148 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006493/0.5659, allocations: 271.7 kB / 0.7151 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.5662, allocations: 24 kB / 0.7151 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.5678, allocations: 139.8 kB / 0.7152 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008818/0.5687, allocations: 257.3 kB / 0.7155 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5688, allocations: 39.98 kB / 0.7155 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001428/0.5702, allocations: 0.9134 MB / 0.7164 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5702, allocations: 0 / 0.7164 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001362/0.5716, allocations: 0.5152 MB / 0.7169 GB, free: 5.32 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.01995/0.5915, allocations: 6.518 MB / 0.7233 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009017/0.6006, allocations: 2.813 MB / 0.726 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.6006, allocations: 4 kB / 0.726 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006316/0.607, allocations: 1.926 MB / 0.7279 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6082, allocations: 136.2 kB / 0.728 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0485/0.6567, allocations: 19.12 MB / 0.7467 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/0.6576, allocations: 1.203 MB / 0.7479 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006508/0.6583, allocations: 141.7 kB / 0.748 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.6591, allocations: 0.5735 MB / 0.7486 GB, free: 4.457 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.6592, allocations: 0 / 0.7486 GB, free: 4.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3723/1.031, allocations: 42.08 MB / 0.7897 GB, free: 130 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.53, allocations: 9.062 kB / 0.7897 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 & /home/hudson/saved_omc/OMSimulator/install/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)