Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.0009434/0.0009434, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.288/1.288, allocations: 223.2 MB / 238.9 MB, free: 5.66 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.001063/0.001063, allocations: 185 kB / 290.2 MB, free: 2.359 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4623/0.4623, allocations: 78.53 MB / 419.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 16 kB / 499.8 MB, free: 6.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 69.35 MB / 0.5558 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2414/0.3794, allocations: 8.031 MB / 0.5636 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005728/0.3852, allocations: 2.82 MB / 0.5664 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.3869, allocations: 18.22 kB / 0.5664 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000939/0.3878, allocations: 263.7 kB / 0.5666 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.3908, allocations: 1.108 MB / 0.5677 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.3925, allocations: 0.6573 MB / 0.5684 GB, free: 35.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.395, allocations: 1.672 MB / 0.57 GB, free: 34.87 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005882/0.3956, allocations: 435.2 kB / 0.5704 GB, free: 34.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.3966, allocations: 0.8636 MB / 0.5713 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009789/0.3976, allocations: 1.101 MB / 0.5723 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.3978, allocations: 99.28 kB / 0.5724 GB, free: 33.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006687/0.3985, allocations: 318.5 kB / 0.5727 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.3988, allocations: 397.9 kB / 0.5731 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.3991, allocations: 343.5 kB / 0.5734 GB, free: 33.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.4007, allocations: 1.98 MB / 0.5754 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.4007, allocations: 4.594 kB / 0.5754 GB, free: 32.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4007, allocations: 0 / 0.5754 GB, free: 32.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.4007, allocations: 0.625 kB / 0.5754 GB, free: 32.84 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.0129/0.4136, allocations: 3.912 MB / 0.5792 GB, free: 31.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4137, allocations: 7.875 kB / 0.5792 GB, free: 31.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004777/0.4142, allocations: 182.6 kB / 0.5794 GB, free: 31.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004663/0.4188, allocations: 0.7941 MB / 0.5801 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.4212, allocations: 1.228 MB / 0.5813 GB, free: 30.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/0.4216, allocations: 482 kB / 0.5818 GB, free: 29.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.4219, allocations: 134.8 kB / 0.5819 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.4249, allocations: 1.676 MB / 0.5836 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.4249, allocations: 8.703 kB / 0.5836 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.4251, allocations: 54.52 kB / 0.5836 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/0.4251, allocations: 25.72 kB / 0.5837 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/0.4282, allocations: 1.577 MB / 0.5852 GB, free: 28.62 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.01018/0.4384, allocations: 6.036 MB / 0.5911 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009692/0.4481, allocations: 3.747 MB / 0.5948 GB, free: 23.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.4488, allocations: 0.7385 MB / 0.5955 GB, free: 22.99 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002916/0.4517, allocations: 1.272 MB / 0.5967 GB, free: 22.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.717e-06/0.4517, allocations: 0 / 0.5967 GB, free: 22.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04545/0.4972, allocations: 11.94 MB / 0.6084 GB, free: 20.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4973, allocations: 145.4 kB / 0.6085 GB, free: 20.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/0.5002, allocations: 1.643 MB / 0.6101 GB, free: 19.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004924/0.5007, allocations: 64.91 kB / 0.6102 GB, free: 19.35 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.5012, allocations: 0.7071 MB / 0.6109 GB, free: 18.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005995/0.5018, allocations: 0.524 MB / 0.6114 GB, free: 18.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5019, allocations: 41.31 kB / 0.6114 GB, free: 18.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.502, allocations: 384.8 kB / 0.6118 GB, free: 17.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.5044, allocations: 1.152 MB / 0.6129 GB, free: 17.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.5069, allocations: 1.379 MB / 0.6143 GB, free: 16.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/0.5094, allocations: 1.262 MB / 0.6155 GB, free: 15.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.5094, allocations: 5.406 kB / 0.6155 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.00941/0.5188, allocations: 4.376 MB / 0.6198 GB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.345e-05/0.5189, allocations: 34.64 kB / 0.6198 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.5189, allocations: 4.609 kB / 0.6198 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008979/0.5279, allocations: 3.033 MB / 0.6228 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.5298, allocations: 383.5 kB / 0.6231 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/0.5358, allocations: 3.005 MB / 0.6261 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.5387, allocations: 350.7 kB / 0.6264 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/0.5389, allocations: 75.98 kB / 0.6265 GB, free: 4.965 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007401/0.5397, allocations: 349.3 kB / 0.6268 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.54, allocations: 185.7 kB / 0.627 GB, free: 4.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/0.5571, allocations: 6.226 MB / 0.6331 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.552e-05/0.5572, allocations: 16 kB / 0.6331 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5572, allocations: 1.5 kB / 0.6331 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.868e-05/0.5573, allocations: 11.97 kB / 0.6331 GB, free: 14.15 MB / 446.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.02385/0.5811, allocations: 8.756 MB / 0.6416 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/0.5812, allocations: 4 kB / 0.6416 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.5825, allocations: 175.7 kB / 0.6418 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008491/0.591, allocations: 2.606 MB / 0.6444 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/0.5914, allocations: 39.94 kB / 0.6444 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02928/0.6207, allocations: 12.82 MB / 0.6569 GB, free: 5.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.6207, allocations: 7.984 kB / 0.6569 GB, free: 5.312 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02161/0.6424, allocations: 7.54 MB / 0.6643 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009106/0.6433, allocations: 310.4 kB / 0.6646 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003484/0.6437, allocations: 33.11 kB / 0.6646 GB, free: 13.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.6455, allocations: 207.8 kB / 0.6648 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/0.6464, allocations: 281.2 kB / 0.6651 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.6465, allocations: 47.98 kB / 0.6651 GB, free: 12.83 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.6483, allocations: 1.094 MB / 0.6662 GB, free: 11.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6483, allocations: 0 / 0.6662 GB, free: 11.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00176/0.65, allocations: 0.6047 MB / 0.6668 GB, free: 11.14 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02109/0.6711, allocations: 8.348 MB / 0.6749 GB, free: 2.738 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01052/0.6817, allocations: 3.486 MB / 0.6783 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6818, allocations: 0 / 0.6783 GB, free: 15.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007275/0.6891, allocations: 2.421 MB / 0.6807 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.6908, allocations: 150.8 kB / 0.6809 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.7028, allocations: 7.376 MB / 0.6881 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.7041, allocations: 1.378 MB / 0.6894 GB, free: 3.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001076/0.7052, allocations: 175.6 kB / 0.6896 GB, free: 3.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/0.7065, allocations: 0.7179 MB / 0.6903 GB, free: 2.875 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7065, allocations: 0 / 0.6903 GB, free: 2.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08319/0.7897, allocations: 43.04 MB / 0.7323 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.7899, allocations: 186.2 kB / 0.7325 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.837/3.627, allocations: 0 / 0.7325 GB, free: 7.93 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) Environment - environmentSimulation: