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.1015/0.1015, allocations: 12.2 MB / 27.32 MB, free: 1.41 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.001308/0.001308, allocations: 104.8 kB / 30.82 MB, free: 4.703 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.527/1.527, allocations: 205.1 MB / 239.3 MB, free: 13.65 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.001347/0.001347, allocations: 188.5 kB / 289.5 MB, free: 14.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4347/0.4347, allocations: 78.51 MB / 418 MB, free: 12.04 MB / 302.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.002431/0.002431, allocations: 135.8 kB / 498.3 MB, free: 11.86 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3511, allocations: 68.01 MB / 0.5531 GB, free: 32.69 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01023/0.3614, allocations: 9.604 MB / 0.5625 GB, free: 25.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007455/0.369, allocations: 2.881 MB / 0.5653 GB, free: 23.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.3713, allocations: 18 kB / 0.5653 GB, free: 23.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.3724, allocations: 277.9 kB / 0.5656 GB, free: 23.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.3757, allocations: 1.132 MB / 0.5667 GB, free: 22.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3775, allocations: 0.7697 MB / 0.5674 GB, free: 21.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.3807, allocations: 2.592 MB / 0.5699 GB, free: 20.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.3814, allocations: 0.5089 MB / 0.5704 GB, free: 19.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3825, allocations: 0.9122 MB / 0.5713 GB, free: 19.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.3836, allocations: 1.212 MB / 0.5725 GB, free: 18.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002624/0.3838, allocations: 120.6 kB / 0.5726 GB, free: 18.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/0.3847, allocations: 369.1 kB / 0.573 GB, free: 18.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.385, allocations: 458.8 kB / 0.5734 GB, free: 18.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007282/0.3858, allocations: 0.9599 MB / 0.5744 GB, free: 17.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.3877, allocations: 2.622 MB / 0.5769 GB, free: 15.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3878, allocations: 0 / 0.5769 GB, free: 15.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3878, allocations: 5.359 kB / 0.5769 GB, free: 15.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.3878, allocations: 0 / 0.5769 GB, free: 15.33 MB / 398.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.01373/0.4015, allocations: 4.164 MB / 0.581 GB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4016, allocations: 11.98 kB / 0.581 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002022/0.4018, allocations: 181.3 kB / 0.5812 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/0.4061, allocations: 0.7896 MB / 0.5819 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.4081, allocations: 1.279 MB / 0.5832 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/0.4084, allocations: 470.7 kB / 0.5836 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.4086, allocations: 135.9 kB / 0.5838 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.4113, allocations: 1.621 MB / 0.5854 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.4113, allocations: 3.938 kB / 0.5854 GB, free: 6.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.4115, allocations: 55.94 kB / 0.5854 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.4115, allocations: 28 kB / 0.5854 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002698/0.4142, allocations: 1.496 MB / 0.5869 GB, free: 5.395 MB / 398.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.00851/0.4227, allocations: 5.828 MB / 0.5926 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008402/0.4311, allocations: 3.177 MB / 0.5957 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001859/0.433, allocations: 0.9948 MB / 0.5967 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006108/0.4336, allocations: 0.7297 MB / 0.5974 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002276/0.4359, allocations: 1.208 MB / 0.5986 GB, free: 8.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.046e-06/0.4359, allocations: 0 / 0.5986 GB, free: 8.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.0384/0.4743, allocations: 9.976 MB / 0.6083 GB, free: 14.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.4744, allocations: 145.8 kB / 0.6084 GB, free: 14.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.4771, allocations: 1.639 MB / 0.61 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.4775, allocations: 57.77 kB / 0.6101 GB, free: 12.99 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/0.478, allocations: 0.7108 MB / 0.6108 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005628/0.4786, allocations: 0.5315 MB / 0.6113 GB, free: 11.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006722/0.4793, allocations: 395.9 kB / 0.6117 GB, free: 11.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.4794, allocations: 301.1 kB / 0.612 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/0.4815, allocations: 1.078 MB / 0.613 GB, free: 9.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.4839, allocations: 1.311 MB / 0.6143 GB, free: 8.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.4882, allocations: 2.327 MB / 0.6166 GB, free: 6.164 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.4882, allocations: 4 kB / 0.6166 GB, free: 6.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009481/0.4977, allocations: 4.01 MB / 0.6205 GB, free: 2.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.4978, allocations: 33.77 kB / 0.6205 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.4978, allocations: 8 kB / 0.6205 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008749/0.5065, allocations: 2.648 MB / 0.6231 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/0.5084, allocations: 383.4 kB / 0.6235 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/0.5143, allocations: 2.691 MB / 0.6261 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.5169, allocations: 290 kB / 0.6264 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.5171, allocations: 79.98 kB / 0.6265 GB, free: 11.93 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.0007303/0.5179, allocations: 345.4 kB / 0.6268 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.5182, allocations: 185.7 kB / 0.627 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/0.5339, allocations: 5.175 MB / 0.632 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/0.5339, allocations: 16 kB / 0.632 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.5339, allocations: 0 / 0.632 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-05/0.534, allocations: 11.97 kB / 0.6321 GB, free: 6.172 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.0212/0.5552, allocations: 7.655 MB / 0.6395 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.5553, allocations: 0 / 0.6395 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.5564, allocations: 167.8 kB / 0.6397 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00766/0.5641, allocations: 2.236 MB / 0.6419 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003879/0.5645, allocations: 43.86 kB / 0.6419 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02715/0.5917, allocations: 11.04 MB / 0.6527 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.5917, allocations: 7.938 kB / 0.6527 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02015/0.6119, allocations: 6.37 MB / 0.6589 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009132/0.6129, allocations: 294.5 kB / 0.6592 GB, free: 9.887 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007637/0.6136, allocations: 35.98 kB / 0.6592 GB, free: 9.852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/0.6159, allocations: 159.8 kB / 0.6594 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/0.6171, allocations: 273.3 kB / 0.6597 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002612/0.6174, allocations: 43.98 kB / 0.6597 GB, free: 9.383 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00235/0.6197, allocations: 1.113 MB / 0.6608 GB, free: 8.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.6198, allocations: 0 / 0.6608 GB, free: 8.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00324/0.623, allocations: 0.6008 MB / 0.6614 GB, free: 7.676 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.02001/0.643, allocations: 6.985 MB / 0.6682 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01021/0.6533, allocations: 3.143 MB / 0.6713 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.6534, allocations: 4 kB / 0.6713 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007105/0.6605, allocations: 2.147 MB / 0.6734 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/0.6631, allocations: 166.1 kB / 0.6735 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05837/0.7215, allocations: 23.44 MB / 0.6964 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008762/0.7224, allocations: 1.339 MB / 0.6977 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009121/0.7233, allocations: 179.6 kB / 0.6979 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009069/0.7242, allocations: 0.7141 MB / 0.6986 GB, free: 132 kB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.7242, allocations: 7.938 kB / 0.6986 GB, free: 124 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3308/1.055, allocations: 45.42 MB / 0.743 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/1.055, allocations: 214.3 kB / 0.7432 GB, free: 133.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.405, allocations: 4 kB / 0.7432 GB, free: 133.9 MB / 0.5137 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)