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.001444/0.001444, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.333/1.333, allocations: 222.9 MB / 238.9 MB, free: 4.793 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.001476/0.001475, allocations: 196.5 kB / 289.2 MB, free: 2.547 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5259/0.5259, allocations: 91.9 MB / 431.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 79.83 kB / 0.5013 GB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3237, allocations: 71.25 MB / 0.5709 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007154/0.3309, allocations: 9.575 MB / 0.5803 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004446/0.3354, allocations: 2.918 MB / 0.5831 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007491/0.3362, allocations: 17.56 kB / 0.5831 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007655/0.337, allocations: 293.7 kB / 0.5834 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.339, allocations: 1.046 MB / 0.5844 GB, free: 27.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3404, allocations: 0.7631 MB / 0.5852 GB, free: 27.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3422, allocations: 2.446 MB / 0.5876 GB, free: 26.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.3428, allocations: 0.4944 MB / 0.588 GB, free: 25.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.3438, allocations: 0.9074 MB / 0.5889 GB, free: 25.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001165/0.345, allocations: 1.207 MB / 0.5901 GB, free: 25.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002504/0.3453, allocations: 120.7 kB / 0.5902 GB, free: 25.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007966/0.3461, allocations: 376 kB / 0.5906 GB, free: 24.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.3464, allocations: 447 kB / 0.591 GB, free: 24.69 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.3472, allocations: 0.9622 MB / 0.592 GB, free: 24.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.3491, allocations: 2.616 MB / 0.5945 GB, free: 22.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3491, allocations: 3.938 kB / 0.5945 GB, free: 22.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3491, allocations: 0 / 0.5945 GB, free: 22.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.595e-05/0.3491, allocations: 1.062 kB / 0.5945 GB, free: 22.95 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.01281/0.362, allocations: 3.954 MB / 0.5984 GB, free: 21.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.362, allocations: 10.25 kB / 0.5984 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/0.3623, allocations: 180.5 kB / 0.5986 GB, free: 21.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/0.3669, allocations: 0.7887 MB / 0.5993 GB, free: 20.94 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.3691, allocations: 1.285 MB / 0.6006 GB, free: 20.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.3695, allocations: 470.5 kB / 0.601 GB, free: 19.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.3697, allocations: 135.4 kB / 0.6012 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.373, allocations: 1.619 MB / 0.6027 GB, free: 19.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.373, allocations: 1.188 kB / 0.6027 GB, free: 19.01 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.3732, allocations: 46.11 kB / 0.6028 GB, free: 18.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.3732, allocations: 28.06 kB / 0.6028 GB, free: 18.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003307/0.3765, allocations: 1.498 MB / 0.6043 GB, free: 18.46 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.01001/0.3865, allocations: 5.837 MB / 0.61 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/0.3951, allocations: 3.183 MB / 0.6131 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.397, allocations: 0.9908 MB / 0.614 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.3974, allocations: 0.7309 MB / 0.6148 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002435/0.3998, allocations: 1.209 MB / 0.6159 GB, free: 12.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.456e-06/0.3999, allocations: 0 / 0.6159 GB, free: 12.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03892/0.4388, allocations: 9.983 MB / 0.6257 GB, free: 6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.4389, allocations: 145.8 kB / 0.6258 GB, free: 5.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.4412, allocations: 1.642 MB / 0.6274 GB, free: 4.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000206/0.4414, allocations: 57.7 kB / 0.6275 GB, free: 4.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.4418, allocations: 0.7107 MB / 0.6282 GB, free: 3.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.4422, allocations: 0.5237 MB / 0.6287 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006184/0.4428, allocations: 395.9 kB / 0.6291 GB, free: 2.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.4429, allocations: 305.1 kB / 0.6294 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002018/0.4449, allocations: 1.078 MB / 0.6304 GB, free: 1.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.4471, allocations: 1.314 MB / 0.6317 GB, free: 15.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004565/0.4516, allocations: 2.323 MB / 0.634 GB, free: 13.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4517, allocations: 4 kB / 0.634 GB, free: 13.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009932/0.4616, allocations: 4.006 MB / 0.6379 GB, free: 9.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/0.4617, allocations: 37.64 kB / 0.6379 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.4617, allocations: 4 kB / 0.6379 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009263/0.471, allocations: 2.651 MB / 0.6405 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/0.4729, allocations: 383.5 kB / 0.6409 GB, free: 6.145 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.4789, allocations: 2.692 MB / 0.6435 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.4815, allocations: 294.1 kB / 0.6438 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.4817, allocations: 75.97 kB / 0.6439 GB, free: 3.062 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.0007368/0.4824, allocations: 345.4 kB / 0.6442 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.4828, allocations: 189.6 kB / 0.6444 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01696/0.4998, allocations: 5.167 MB / 0.6494 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-05/0.4998, allocations: 19.98 kB / 0.6494 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.4998, allocations: 4 kB / 0.6494 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.4998, allocations: 3.984 kB / 0.6494 GB, free: 13.31 MB / 462.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.02004/0.5199, allocations: 7.651 MB / 0.6569 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.5199, allocations: 0 / 0.6569 GB, free: 5.523 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.5209, allocations: 167.7 kB / 0.6571 GB, free: 5.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007696/0.5286, allocations: 2.244 MB / 0.6593 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/0.5288, allocations: 39.92 kB / 0.6593 GB, free: 3.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02776/0.5566, allocations: 11.05 MB / 0.6701 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5566, allocations: 0 / 0.6701 GB, free: 7.746 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/0.5772, allocations: 6.363 MB / 0.6763 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00097/0.5782, allocations: 302.5 kB / 0.6766 GB, free: 1.023 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008191/0.5791, allocations: 28 kB / 0.6766 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00236/0.5815, allocations: 167.8 kB / 0.6768 GB, free: 0.832 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/0.5826, allocations: 277.2 kB / 0.677 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/0.5828, allocations: 39.98 kB / 0.6771 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002401/0.5852, allocations: 1.113 MB / 0.6782 GB, free: 15.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.5852, allocations: 0 / 0.6782 GB, free: 15.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002236/0.5875, allocations: 0.6047 MB / 0.6788 GB, free: 14.81 MB / 494.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.02043/0.6079, allocations: 6.981 MB / 0.6856 GB, free: 7.781 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009615/0.6175, allocations: 3.139 MB / 0.6886 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6176, allocations: 0 / 0.6886 GB, free: 4.617 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006613/0.6242, allocations: 2.15 MB / 0.6907 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.6261, allocations: 166.8 kB / 0.6909 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05348/0.6796, allocations: 23.45 MB / 0.7138 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.6807, allocations: 1.343 MB / 0.7151 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007968/0.6815, allocations: 179.5 kB / 0.7153 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/0.6825, allocations: 0.7141 MB / 0.716 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of SimCode: time 2.274e-06/0.6826, allocations: 0 / 0.716 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/0.7966, allocations: 45.43 MB / 0.7603 GB, free: 10 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.7969, allocations: 213.4 kB / 0.7605 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.112/3.909, allocations: 0 / 0.7605 GB, free: 9.738 MB / 0.5606 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/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)