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.001247/0.001247, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.281/1.281, allocations: 222.9 MB / 239 MB, free: 4.711 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.001318/0.001318, allocations: 196.5 kB / 289.2 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4506/0.4506, allocations: 78.52 MB / 417.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 75.88 kB / 497 MB, free: 6.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 68.17 MB / 0.552 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.227/0.3527, allocations: 9.536 MB / 0.5613 GB, free: 34.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005497/0.3582, allocations: 2.899 MB / 0.5641 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.3596, allocations: 16.34 kB / 0.5641 GB, free: 33.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.3606, allocations: 284.6 kB / 0.5644 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002782/0.3634, allocations: 1.116 MB / 0.5655 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.3649, allocations: 0.7775 MB / 0.5662 GB, free: 33.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.3673, allocations: 2.732 MB / 0.5689 GB, free: 32.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006734/0.368, allocations: 0.5356 MB / 0.5694 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.3693, allocations: 1.04 MB / 0.5705 GB, free: 32.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.3704, allocations: 1.288 MB / 0.5717 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.3707, allocations: 220.4 kB / 0.5719 GB, free: 31.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.3714, allocations: 481.1 kB / 0.5724 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003201/0.3718, allocations: 0.5363 MB / 0.5729 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007054/0.3725, allocations: 1.069 MB / 0.5739 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.3745, allocations: 2.705 MB / 0.5766 GB, free: 30.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3746, allocations: 0 / 0.5766 GB, free: 30.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3746, allocations: 1.312 kB / 0.5766 GB, free: 30.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.3746, allocations: 0 / 0.5766 GB, free: 30.47 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.01311/0.3877, allocations: 4.164 MB / 0.5807 GB, free: 28.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.3878, allocations: 10.88 kB / 0.5807 GB, free: 28.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.388, allocations: 187.6 kB / 0.5808 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004478/0.3925, allocations: 0.7831 MB / 0.5816 GB, free: 28.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.3949, allocations: 1.289 MB / 0.5829 GB, free: 27.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003954/0.3953, allocations: 467.6 kB / 0.5833 GB, free: 27.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.3956, allocations: 132.7 kB / 0.5834 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.3988, allocations: 1.626 MB / 0.585 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3988, allocations: 1.281 kB / 0.585 GB, free: 26.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.399, allocations: 46.19 kB / 0.5851 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.399, allocations: 27.19 kB / 0.5851 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.4021, allocations: 1.501 MB / 0.5866 GB, free: 25.98 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.0101/0.4122, allocations: 5.831 MB / 0.5923 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008592/0.4208, allocations: 3.184 MB / 0.5954 GB, free: 21.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.423, allocations: 0.989 MB / 0.5963 GB, free: 21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.4235, allocations: 0.7379 MB / 0.5971 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002511/0.426, allocations: 1.199 MB / 0.5982 GB, free: 19.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.507e-06/0.426, allocations: 0 / 0.5982 GB, free: 19.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04072/0.4667, allocations: 9.975 MB / 0.608 GB, free: 17.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.4668, allocations: 149.7 kB / 0.6081 GB, free: 17.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.4696, allocations: 1.645 MB / 0.6097 GB, free: 16.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004388/0.4701, allocations: 57.3 kB / 0.6098 GB, free: 16.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000439/0.4705, allocations: 0.707 MB / 0.6105 GB, free: 15.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005229/0.471, allocations: 0.5279 MB / 0.611 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000678/0.4717, allocations: 395.2 kB / 0.6114 GB, free: 15.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.468e-05/0.4718, allocations: 310.5 kB / 0.6117 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.4739, allocations: 1.074 MB / 0.6127 GB, free: 14.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002305/0.4762, allocations: 1.304 MB / 0.614 GB, free: 13.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/0.4803, allocations: 2.334 MB / 0.6163 GB, free: 12.1 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.4803, allocations: 1.375 kB / 0.6163 GB, free: 12.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.008954/0.4893, allocations: 4.008 MB / 0.6202 GB, free: 8.805 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.4894, allocations: 37.7 kB / 0.6202 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.4894, allocations: 6.438 kB / 0.6202 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00812/0.4975, allocations: 2.661 MB / 0.6228 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/0.4994, allocations: 383.5 kB / 0.6232 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00544/0.5048, allocations: 2.694 MB / 0.6258 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/0.5075, allocations: 298 kB / 0.6261 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.5077, allocations: 71.98 kB / 0.6262 GB, free: 2.637 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 ($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.0006995/0.5084, allocations: 342.2 kB / 0.6265 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.5088, allocations: 185.7 kB / 0.6267 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/0.5248, allocations: 5.172 MB / 0.6317 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.5249, allocations: 20 kB / 0.6317 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.108e-06/0.5249, allocations: 0 / 0.6317 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-05/0.5249, allocations: 7.969 kB / 0.6317 GB, free: 12.88 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.02037/0.5453, allocations: 7.647 MB / 0.6392 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.5454, allocations: 5.125 kB / 0.6392 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.5465, allocations: 167.8 kB / 0.6394 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007634/0.5541, allocations: 2.242 MB / 0.6416 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003005/0.5545, allocations: 39.92 kB / 0.6416 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02764/0.5821, allocations: 12.08 MB / 0.6534 GB, free: 6.281 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5822, allocations: 3.938 kB / 0.6534 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01948/0.6016, allocations: 6.359 MB / 0.6596 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009031/0.6026, allocations: 302.5 kB / 0.6599 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/0.603, allocations: 28 kB / 0.6599 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001856/0.6049, allocations: 163.8 kB / 0.6601 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008989/0.6058, allocations: 286.3 kB / 0.6604 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.6059, allocations: 43.98 kB / 0.6604 GB, free: 15.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.6076, allocations: 1.105 MB / 0.6615 GB, free: 13.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6076, allocations: 1.406 kB / 0.6615 GB, free: 13.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001678/0.6093, allocations: 0.6048 MB / 0.6621 GB, free: 13.34 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.01908/0.6284, allocations: 6.986 MB / 0.6689 GB, free: 6.316 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01021/0.6387, allocations: 3.23 MB / 0.672 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.6387, allocations: 0 / 0.672 GB, free: 3.062 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006623/0.6453, allocations: 2.192 MB / 0.6742 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.6471, allocations: 178.9 kB / 0.6744 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04873/0.6959, allocations: 23.45 MB / 0.6973 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.6968, allocations: 1.339 MB / 0.6986 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007082/0.6975, allocations: 173.5 kB / 0.6987 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009225/0.6984, allocations: 0.7219 MB / 0.6994 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of SimCode: time 9.81e-07/0.6984, allocations: 0 / 0.6994 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/0.7763, allocations: 47.36 MB / 0.7457 GB, free: 6.691 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.7765, allocations: 208.4 kB / 0.7459 GB, free: 6.434 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/3.833, allocations: 3.281 kB / 0.7459 GB, free: 6.434 MB / 0.545 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/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)