Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08318/0.08318, allocations: 12.2 MB / 27.48 MB, free: 0.9258 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.0007093/0.0007095, allocations: 103.5 kB / 31 MB, free: 4.527 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.475/1.475, allocations: 205.4 MB / 239.8 MB, free: 12.09 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.001382/0.001382, allocations: 189.5 kB / 291 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4814/0.4814, allocations: 78.54 MB / 420.5 MB, free: 48.81 MB / 334.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.0009068/0.0009069, allocations: 32 kB / 0.4902 GB, free: 2.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.364, allocations: 69.21 MB / 0.5578 GB, free: 43.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008764/0.3729, allocations: 9.058 MB / 0.5666 GB, free: 38.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.3798, allocations: 2.854 MB / 0.5694 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.3825, allocations: 16.62 kB / 0.5694 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.3838, allocations: 281.9 kB / 0.5697 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.3882, allocations: 1.123 MB / 0.5708 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.3902, allocations: 0.7688 MB / 0.5716 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.3942, allocations: 2.594 MB / 0.5741 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000912/0.3952, allocations: 497.1 kB / 0.5746 GB, free: 34.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.3968, allocations: 0.8706 MB / 0.5754 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.3987, allocations: 1.14 MB / 0.5765 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006341/0.3993, allocations: 105.3 kB / 0.5766 GB, free: 33.19 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.4005, allocations: 348.1 kB / 0.577 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004241/0.401, allocations: 417.1 kB / 0.5774 GB, free: 32.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008496/0.4018, allocations: 0.9466 MB / 0.5783 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.404, allocations: 2.549 MB / 0.5808 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.404, allocations: 5.188 kB / 0.5808 GB, free: 31.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.404, allocations: 0 / 0.5808 GB, free: 31.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.4041, allocations: 0 / 0.5808 GB, free: 31.36 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.01304/0.4171, allocations: 3.899 MB / 0.5846 GB, free: 29.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.4172, allocations: 16.2 kB / 0.5846 GB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005748/0.4178, allocations: 186.5 kB / 0.5848 GB, free: 29.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004913/0.4227, allocations: 0.7908 MB / 0.5856 GB, free: 29.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002532/0.4252, allocations: 1.289 MB / 0.5868 GB, free: 28.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004213/0.4257, allocations: 479.9 kB / 0.5873 GB, free: 28.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.4259, allocations: 134.3 kB / 0.5874 GB, free: 28.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.4289, allocations: 1.702 MB / 0.5891 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.429, allocations: 3.938 kB / 0.5891 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.4291, allocations: 44.84 kB / 0.5891 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.4292, allocations: 29 kB / 0.5891 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/0.4322, allocations: 1.587 MB / 0.5907 GB, free: 27.05 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.00978/0.442, allocations: 5.926 MB / 0.5965 GB, free: 23.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009499/0.4515, allocations: 3.741 MB / 0.6001 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002585/0.4541, allocations: 1.075 MB / 0.6012 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005059/0.4546, allocations: 0.7322 MB / 0.6019 GB, free: 21.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002936/0.4576, allocations: 1.288 MB / 0.6031 GB, free: 20.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 1.029e-05/0.4576, allocations: 0 / 0.6031 GB, free: 20.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04598/0.5036, allocations: 12 MB / 0.6149 GB, free: 16.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.5038, allocations: 160.9 kB / 0.615 GB, free: 16.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/0.5085, allocations: 1.642 MB / 0.6166 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006764/0.5092, allocations: 53.7 kB / 0.6167 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007113/0.5099, allocations: 0.7146 MB / 0.6174 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.511, allocations: 0.5276 MB / 0.6179 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007673/0.5118, allocations: 206 kB / 0.6181 GB, free: 13.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.5119, allocations: 305.1 kB / 0.6184 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/0.5148, allocations: 1.16 MB / 0.6195 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003049/0.5178, allocations: 1.386 MB / 0.6209 GB, free: 10.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005612/0.5235, allocations: 2.491 MB / 0.6233 GB, free: 8.203 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.45e-05/0.5235, allocations: 0 / 0.6233 GB, free: 8.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.0117/0.5352, allocations: 4.409 MB / 0.6276 GB, free: 3.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.5353, allocations: 41.69 kB / 0.6276 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.205e-05/0.5354, allocations: 4 kB / 0.6276 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0093/0.5447, allocations: 3.03 MB / 0.6306 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.5468, allocations: 387.4 kB / 0.631 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007906/0.5547, allocations: 3.011 MB / 0.6339 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/0.5584, allocations: 342.1 kB / 0.6342 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000549/0.559, allocations: 75.97 kB / 0.6343 GB, free: 12.82 MB / 446.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 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,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 (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.001627/0.5607, allocations: 347.9 kB / 0.6346 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009356/0.5616, allocations: 189.6 kB / 0.6348 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02012/0.5817, allocations: 6.237 MB / 0.6409 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/0.5818, allocations: 20 kB / 0.6409 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/0.5819, allocations: 7.984 kB / 0.6409 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.293e-05/0.5819, allocations: 3.984 kB / 0.6409 GB, free: 5.992 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.02522/0.6071, allocations: 8.717 MB / 0.6495 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.6072, allocations: 0 / 0.6495 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.6085, allocations: 167.8 kB / 0.6496 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008955/0.6174, allocations: 2.615 MB / 0.6522 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004312/0.6179, allocations: 35.94 kB / 0.6522 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03075/0.6487, allocations: 12.22 MB / 0.6641 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6487, allocations: 3.938 kB / 0.6641 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02296/0.6717, allocations: 7.515 MB / 0.6715 GB, free: 6.262 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.6729, allocations: 306.4 kB / 0.6718 GB, free: 5.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009138/0.6738, allocations: 32 kB / 0.6718 GB, free: 5.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/0.6765, allocations: 211.8 kB / 0.672 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/0.6778, allocations: 273.3 kB / 0.6723 GB, free: 5.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003244/0.6782, allocations: 47.98 kB / 0.6723 GB, free: 5.387 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002656/0.6808, allocations: 1.113 MB / 0.6734 GB, free: 4.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.754e-06/0.6809, allocations: 0 / 0.6734 GB, free: 4.281 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003347/0.6842, allocations: 0.6009 MB / 0.674 GB, free: 3.68 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/0.7077, allocations: 8.141 MB / 0.6819 GB, free: 11.49 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/0.7188, allocations: 3.501 MB / 0.6854 GB, free: 7.969 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/0.7189, allocations: 4 kB / 0.6854 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007766/0.7267, allocations: 2.42 MB / 0.6877 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.7294, allocations: 172 kB / 0.6879 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06165/0.791, allocations: 25.16 MB / 0.7125 GB, free: 10.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.7923, allocations: 1.339 MB / 0.7138 GB, free: 9.527 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0009862/0.7933, allocations: 179.6 kB / 0.7139 GB, free: 9.348 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/0.7945, allocations: 0.714 MB / 0.7146 GB, free: 8.633 MB / 0.5138 GB Notification: Performance of SimCode: time 7.21e-07/0.7945, allocations: 0 / 0.7146 GB, free: 8.633 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07876/0.8733, allocations: 44.72 MB / 0.7583 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.8736, allocations: 211.5 kB / 0.7585 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/3.93, allocations: 0 / 0.7585 GB, free: 11.77 MB / 0.5606 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)