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.0008348/0.0008347, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.363/1.363, allocations: 223.2 MB / 239 MB, free: 5.469 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.00115/0.00115, allocations: 184.5 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4586/0.4586, allocations: 78.56 MB / 419.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8 kB / 499.9 MB, free: 6.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1262, allocations: 69.37 MB / 0.5559 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2441/0.3704, allocations: 8.397 MB / 0.5641 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.3758, allocations: 2.765 MB / 0.5668 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.377, allocations: 18.47 kB / 0.5668 GB, free: 36.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008261/0.3779, allocations: 261.2 kB / 0.5671 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.3804, allocations: 1.027 MB / 0.5681 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3819, allocations: 0.6571 MB / 0.5687 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.3845, allocations: 2.437 MB / 0.5711 GB, free: 34.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008375/0.3854, allocations: 437 kB / 0.5715 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.3868, allocations: 0.8641 MB / 0.5724 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/0.3886, allocations: 1.109 MB / 0.5734 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006398/0.3892, allocations: 103 kB / 0.5735 GB, free: 33.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.3904, allocations: 332.3 kB / 0.5739 GB, free: 33.49 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007059/0.3911, allocations: 410.6 kB / 0.5743 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.3918, allocations: 340.5 kB / 0.5746 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.3938, allocations: 2.028 MB / 0.5766 GB, free: 32.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3938, allocations: 0 / 0.5766 GB, free: 32.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3938, allocations: 0 / 0.5766 GB, free: 32.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001236/0.394, allocations: 0 / 0.5766 GB, free: 32.5 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.01277/0.4067, allocations: 3.907 MB / 0.5804 GB, free: 31.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.4068, allocations: 8.156 kB / 0.5804 GB, free: 31.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005242/0.4073, allocations: 182 kB / 0.5806 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00463/0.412, allocations: 0.7954 MB / 0.5813 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/0.4148, allocations: 1.239 MB / 0.5825 GB, free: 29.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/0.4152, allocations: 478.3 kB / 0.583 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.4157, allocations: 130.5 kB / 0.5831 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.4191, allocations: 1.691 MB / 0.5848 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.4192, allocations: 3.953 kB / 0.5848 GB, free: 28.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.4193, allocations: 46.62 kB / 0.5848 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.4194, allocations: 31.44 kB / 0.5849 GB, free: 28.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003442/0.4228, allocations: 1.579 MB / 0.5864 GB, free: 28.29 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.01047/0.4333, allocations: 5.913 MB / 0.5922 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009069/0.4424, allocations: 3.739 MB / 0.5958 GB, free: 23.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.4447, allocations: 1.074 MB / 0.5969 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005218/0.4452, allocations: 0.7372 MB / 0.5976 GB, free: 22.36 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002675/0.4479, allocations: 1.274 MB / 0.5988 GB, free: 21.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 7.564e-06/0.4479, allocations: 0 / 0.5988 GB, free: 21.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03973/0.4877, allocations: 11.94 MB / 0.6105 GB, free: 19.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.4878, allocations: 148.9 kB / 0.6106 GB, free: 19.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.491, allocations: 1.633 MB / 0.6122 GB, free: 18.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.4912, allocations: 61.53 kB / 0.6123 GB, free: 18.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.4918, allocations: 0.7073 MB / 0.613 GB, free: 17.76 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005559/0.4924, allocations: 0.5238 MB / 0.6135 GB, free: 17.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.4926, allocations: 45.41 kB / 0.6135 GB, free: 17.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4928, allocations: 386 kB / 0.6139 GB, free: 16.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.4952, allocations: 1.153 MB / 0.615 GB, free: 16.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/0.4977, allocations: 1.383 MB / 0.6164 GB, free: 15.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.5001, allocations: 1.27 MB / 0.6176 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.5001, allocations: 4 kB / 0.6176 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.0089/0.509, allocations: 4.37 MB / 0.6219 GB, free: 9.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.5091, allocations: 29.7 kB / 0.6219 GB, free: 9.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.5091, allocations: 8 kB / 0.6219 GB, free: 9.863 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008026/0.5171, allocations: 3.035 MB / 0.6249 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.5188, allocations: 380.7 kB / 0.6253 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00539/0.5242, allocations: 3.007 MB / 0.6282 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/0.5266, allocations: 346 kB / 0.6285 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.5269, allocations: 80.59 kB / 0.6286 GB, free: 3.012 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.000824/0.5277, allocations: 345.4 kB / 0.6289 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004744/0.5282, allocations: 189.7 kB / 0.6291 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/0.5443, allocations: 6.226 MB / 0.6352 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.5443, allocations: 16 kB / 0.6352 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.5444, allocations: 0 / 0.6352 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.5444, allocations: 13.05 kB / 0.6352 GB, free: 12.2 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.02119/0.5656, allocations: 8.703 MB / 0.6437 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/0.5657, allocations: 0 / 0.6437 GB, free: 3.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.5668, allocations: 171.7 kB / 0.6439 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007861/0.5746, allocations: 2.617 MB / 0.6464 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003138/0.575, allocations: 41.53 kB / 0.6465 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/0.6031, allocations: 12.2 MB / 0.6584 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6031, allocations: 0 / 0.6584 GB, free: 4.047 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01934/0.6225, allocations: 7.488 MB / 0.6657 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006988/0.6232, allocations: 310.4 kB / 0.666 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005059/0.6237, allocations: 35.95 kB / 0.666 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.6256, allocations: 208.6 kB / 0.6662 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008513/0.6265, allocations: 285.2 kB / 0.6665 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.6267, allocations: 39.98 kB / 0.6665 GB, free: 11.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002054/0.6287, allocations: 1.101 MB / 0.6676 GB, free: 10.55 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6288, allocations: 0 / 0.6676 GB, free: 10.55 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002098/0.6309, allocations: 0.6009 MB / 0.6682 GB, free: 9.945 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.01956/0.6504, allocations: 8.115 MB / 0.6761 GB, free: 1.781 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009159/0.6596, allocations: 3.484 MB / 0.6795 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6596, allocations: 0 / 0.6795 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006505/0.6662, allocations: 2.421 MB / 0.6819 GB, free: 11.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.6685, allocations: 176 kB / 0.6821 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03607/0.7046, allocations: 16.07 MB / 0.6978 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.7058, allocations: 1.343 MB / 0.6991 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008883/0.7067, allocations: 172.7 kB / 0.6992 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/0.7079, allocations: 0.7141 MB / 0.6999 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.7079, allocations: 0.5625 kB / 0.6999 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08072/0.7886, allocations: 44.86 MB / 0.7437 GB, free: 11.96 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/0.7888, allocations: 192.4 kB / 0.7439 GB, free: 11.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/3.818, allocations: 0 / 0.7439 GB, free: 11.72 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/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: