Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_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.001169/0.001169, allocations: 99.86 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.379/1.379, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001101/0.001101, allocations: 192.2 kB / 290.2 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4565/0.4565, allocations: 79.46 MB / 420.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003864, allocations: 16 kB / 0.4891 GB, free: 5.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3813, allocations: 69.5 MB / 0.557 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007494/0.3888, allocations: 8.058 MB / 0.5648 GB, free: 37.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005767/0.3947, allocations: 2.826 MB / 0.5676 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.3965, allocations: 14.38 kB / 0.5676 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3976, allocations: 261.3 kB / 0.5679 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.4009, allocations: 1.028 MB / 0.5689 GB, free: 35.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.4028, allocations: 0.6555 MB / 0.5695 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.406, allocations: 1.567 MB / 0.571 GB, free: 34.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.4071, allocations: 436.6 kB / 0.5715 GB, free: 33.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001562/0.4087, allocations: 0.8644 MB / 0.5723 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.4104, allocations: 1.083 MB / 0.5734 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006975/0.4111, allocations: 101.1 kB / 0.5735 GB, free: 33.12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.4124, allocations: 316.5 kB / 0.5738 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.4131, allocations: 407 kB / 0.5741 GB, free: 32.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007045/0.4138, allocations: 338.4 kB / 0.5745 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.4161, allocations: 1.973 MB / 0.5764 GB, free: 32.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.4161, allocations: 0 / 0.5764 GB, free: 32.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4161, allocations: 5.094 kB / 0.5764 GB, free: 32.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000104/0.4162, allocations: 0 / 0.5764 GB, free: 32.11 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.01237/0.4286, allocations: 3.706 MB / 0.58 GB, free: 30.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4287, allocations: 9.094 kB / 0.58 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005149/0.4292, allocations: 180.6 kB / 0.5802 GB, free: 30.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.434, allocations: 0.7906 MB / 0.581 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.4365, allocations: 1.227 MB / 0.5822 GB, free: 29.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/0.437, allocations: 487.1 kB / 0.5826 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/0.4373, allocations: 141.5 kB / 0.5828 GB, free: 29.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.4403, allocations: 1.68 MB / 0.5844 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4404, allocations: 3.062 kB / 0.5844 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.4405, allocations: 48.19 kB / 0.5845 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.4405, allocations: 29.7 kB / 0.5845 GB, free: 28.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.4436, allocations: 1.578 MB / 0.586 GB, free: 27.93 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.0103/0.4539, allocations: 6.035 MB / 0.5919 GB, free: 24.49 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009268/0.4632, allocations: 3.749 MB / 0.5956 GB, free: 23.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/0.4637, allocations: 0.7372 MB / 0.5963 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/0.4664, allocations: 1.273 MB / 0.5975 GB, free: 21.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.567e-06/0.4664, allocations: 2.844 kB / 0.5975 GB, free: 21.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04402/0.5104, allocations: 11.94 MB / 0.6092 GB, free: 19.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.5105, allocations: 145.3 kB / 0.6093 GB, free: 19.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002756/0.5133, allocations: 1.641 MB / 0.6109 GB, free: 18.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004388/0.5137, allocations: 61.17 kB / 0.611 GB, free: 18.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004493/0.5142, allocations: 0.7035 MB / 0.6117 GB, free: 17.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/0.5148, allocations: 0.5314 MB / 0.6122 GB, free: 17.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.5149, allocations: 40.78 kB / 0.6122 GB, free: 17.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.515, allocations: 388.3 kB / 0.6126 GB, free: 17.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.5174, allocations: 1.149 MB / 0.6137 GB, free: 16.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.5198, allocations: 1.378 MB / 0.6151 GB, free: 15.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.5223, allocations: 1.259 MB / 0.6163 GB, free: 15.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.5223, allocations: 6 kB / 0.6163 GB, free: 15.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009393/0.5317, allocations: 4.374 MB / 0.6206 GB, free: 11.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.07e-05/0.5318, allocations: 33.7 kB / 0.6206 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.5318, allocations: 7.984 kB / 0.6206 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008639/0.5404, allocations: 3.032 MB / 0.6236 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.5423, allocations: 388.9 kB / 0.624 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.5481, allocations: 3.01 MB / 0.6269 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/0.551, allocations: 338.1 kB / 0.6272 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003644/0.5514, allocations: 83.92 kB / 0.6273 GB, free: 4.133 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.001057/0.5524, allocations: 350.4 kB / 0.6276 GB, free: 3.781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006602/0.5531, allocations: 185.7 kB / 0.6278 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.5706, allocations: 6.222 MB / 0.6339 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.5707, allocations: 16 kB / 0.6339 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.5707, allocations: 0 / 0.6339 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/0.5708, allocations: 3.984 kB / 0.6339 GB, free: 13.33 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.02405/0.5948, allocations: 8.764 MB / 0.6425 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/0.5949, allocations: 4.062 kB / 0.6425 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.596, allocations: 167.8 kB / 0.6426 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008346/0.6044, allocations: 2.618 MB / 0.6452 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003414/0.6048, allocations: 35.94 kB / 0.6452 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02972/0.6345, allocations: 12.82 MB / 0.6577 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6346, allocations: 1.25 kB / 0.6577 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/0.6561, allocations: 7.546 MB / 0.6651 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008462/0.657, allocations: 306.5 kB / 0.6654 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007142/0.6577, allocations: 29 kB / 0.6654 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/0.6602, allocations: 215.8 kB / 0.6656 GB, free: 12.33 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/0.6614, allocations: 285.2 kB / 0.6659 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/0.6617, allocations: 40 kB / 0.666 GB, free: 12.01 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002382/0.6641, allocations: 1.097 MB / 0.667 GB, free: 10.92 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6641, allocations: 0 / 0.667 GB, free: 10.92 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002404/0.6665, allocations: 0.6048 MB / 0.6676 GB, free: 10.32 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.02076/0.6873, allocations: 8.347 MB / 0.6758 GB, free: 1.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00944/0.6968, allocations: 3.498 MB / 0.6792 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6968, allocations: 0 / 0.6792 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006729/0.7036, allocations: 2.419 MB / 0.6815 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.7051, allocations: 137.1 kB / 0.6817 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.717, allocations: 7.388 MB / 0.6889 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.7184, allocations: 1.378 MB / 0.6902 GB, free: 2.926 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000929/0.7194, allocations: 170.8 kB / 0.6904 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/0.7206, allocations: 0.7141 MB / 0.6911 GB, free: 2.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.7206, allocations: 0 / 0.6911 GB, free: 2.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09847/0.8191, allocations: 43.05 MB / 0.7331 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.8194, allocations: 194 kB / 0.7333 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/4.276, allocations: 4 kB / 0.7333 GB, free: 7.074 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) Environment - environmentSimulation: