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.0007438/0.000744, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.155/1.155, allocations: 223.3 MB / 239.3 MB, free: 5.52 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.0008627/0.0008627, allocations: 172.5 kB / 290.6 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3882/0.3882, allocations: 78.55 MB / 420.3 MB, free: 4.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 16 kB / 0.4888 GB, free: 5.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1021, allocations: 69.35 MB / 0.5565 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.1872/0.2894, allocations: 9.004 MB / 0.5653 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.2931, allocations: 2.877 MB / 0.5681 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.2937, allocations: 21.84 kB / 0.5681 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005869/0.2943, allocations: 284.2 kB / 0.5684 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.2962, allocations: 1.127 MB / 0.5695 GB, free: 32.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.2973, allocations: 0.7569 MB / 0.5702 GB, free: 32.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.299, allocations: 2.585 MB / 0.5728 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005033/0.2995, allocations: 0.4895 MB / 0.5732 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.3001, allocations: 0.8651 MB / 0.5741 GB, free: 31.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008388/0.301, allocations: 1.16 MB / 0.5752 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3012, allocations: 97.69 kB / 0.5753 GB, free: 31.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.3017, allocations: 338.5 kB / 0.5756 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.302, allocations: 424.2 kB / 0.576 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.3025, allocations: 0.95 MB / 0.577 GB, free: 31.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.304, allocations: 2.553 MB / 0.5794 GB, free: 30.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.304, allocations: 0 / 0.5794 GB, free: 30.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.304, allocations: 0 / 0.5794 GB, free: 30.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.304, allocations: 2.688 kB / 0.5795 GB, free: 30.48 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.01134/0.3154, allocations: 3.897 MB / 0.5833 GB, free: 29.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.3154, allocations: 8.062 kB / 0.5833 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002124/0.3156, allocations: 185.4 kB / 0.5834 GB, free: 29.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003979/0.3196, allocations: 0.7881 MB / 0.5842 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.3212, allocations: 1.288 MB / 0.5855 GB, free: 28.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.3215, allocations: 480.3 kB / 0.5859 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002055/0.3217, allocations: 136.7 kB / 0.5861 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.3245, allocations: 1.704 MB / 0.5877 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.3245, allocations: 0 / 0.5877 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.3247, allocations: 51.02 kB / 0.5878 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.3247, allocations: 28.03 kB / 0.5878 GB, free: 26.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.3277, allocations: 1.585 MB / 0.5893 GB, free: 26.38 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.008289/0.336, allocations: 5.923 MB / 0.5951 GB, free: 23.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/0.3451, allocations: 3.744 MB / 0.5988 GB, free: 21.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.347, allocations: 1.075 MB / 0.5998 GB, free: 21.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003743/0.3474, allocations: 0.7348 MB / 0.6006 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002271/0.3497, allocations: 1.287 MB / 0.6018 GB, free: 19.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 2.856e-06/0.3497, allocations: 0 / 0.6018 GB, free: 19.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04163/0.3913, allocations: 12.01 MB / 0.6135 GB, free: 17.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.3914, allocations: 143.9 kB / 0.6137 GB, free: 16.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.3938, allocations: 1.649 MB / 0.6153 GB, free: 16.1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.3941, allocations: 55.98 kB / 0.6153 GB, free: 16.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.3945, allocations: 0.7041 MB / 0.616 GB, free: 15.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.3949, allocations: 0.5274 MB / 0.6165 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.3952, allocations: 208.5 kB / 0.6167 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.3952, allocations: 302.5 kB / 0.617 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002199/0.3974, allocations: 1.158 MB / 0.6182 GB, free: 13.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.3996, allocations: 1.396 MB / 0.6195 GB, free: 12.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.4036, allocations: 2.491 MB / 0.622 GB, free: 10.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4036, allocations: 0 / 0.622 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.008856/0.4125, allocations: 4.417 MB / 0.6263 GB, free: 5.574 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.4125, allocations: 37.77 kB / 0.6263 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.4126, allocations: 4 kB / 0.6263 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00846/0.421, allocations: 3.031 MB / 0.6293 GB, free: 2.488 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.4225, allocations: 380.5 kB / 0.6296 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.4283, allocations: 3.017 MB / 0.6326 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.4307, allocations: 346.1 kB / 0.6329 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.4309, allocations: 71.98 kB / 0.633 GB, free: 14.67 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.0006826/0.4316, allocations: 348.3 kB / 0.6333 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.4319, allocations: 185.7 kB / 0.6335 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/0.45, allocations: 6.238 MB / 0.6396 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.45, allocations: 16 kB / 0.6396 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.45, allocations: 0 / 0.6396 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.4501, allocations: 12.72 kB / 0.6396 GB, free: 7.852 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.0208/0.4709, allocations: 8.714 MB / 0.6481 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.4709, allocations: 4 kB / 0.6481 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009466/0.4718, allocations: 171.7 kB / 0.6483 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00818/0.48, allocations: 2.619 MB / 0.6508 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.4802, allocations: 36.67 kB / 0.6509 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/0.5074, allocations: 12.22 MB / 0.6628 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5074, allocations: 0.5 kB / 0.6628 GB, free: 15.67 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02061/0.528, allocations: 7.511 MB / 0.6701 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000676/0.5287, allocations: 306.5 kB / 0.6704 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/0.5292, allocations: 28 kB / 0.6705 GB, free: 7.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/0.5311, allocations: 214.8 kB / 0.6707 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008641/0.532, allocations: 281.2 kB / 0.6709 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.5322, allocations: 43.98 kB / 0.671 GB, free: 7.254 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.534, allocations: 1.109 MB / 0.6721 GB, free: 6.152 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.534, allocations: 3.938 kB / 0.6721 GB, free: 6.148 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001659/0.5356, allocations: 0.6009 MB / 0.6727 GB, free: 5.547 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.02069/0.5563, allocations: 8.121 MB / 0.6806 GB, free: 13.37 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009078/0.5654, allocations: 3.51 MB / 0.684 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5655, allocations: 0 / 0.684 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006463/0.5719, allocations: 2.427 MB / 0.6864 GB, free: 7.391 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.5732, allocations: 167.8 kB / 0.6865 GB, free: 7.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04868/0.6219, allocations: 25.16 MB / 0.7111 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.6227, allocations: 1.339 MB / 0.7124 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005879/0.6233, allocations: 174.9 kB / 0.7126 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.6242, allocations: 0.7141 MB / 0.7133 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.6242, allocations: 0.75 kB / 0.7133 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/0.6884, allocations: 44.7 MB / 0.7569 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.6886, allocations: 213.3 kB / 0.7571 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.657/3.345, allocations: 4 kB / 0.7571 GB, free: 13.95 MB / 0.5606 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)