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.00107/0.00107, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.458/1.458, allocations: 223.3 MB / 239.4 MB, free: 5.523 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.00127/0.00127, allocations: 179.4 kB / 290.6 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5449/0.5449, allocations: 91.93 MB / 433.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004166, allocations: 8 kB / 0.5049 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4314, allocations: 72.47 MB / 0.5756 GB, free: 36.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007763/0.4393, allocations: 9.032 MB / 0.5845 GB, free: 30.4 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.4454, allocations: 2.892 MB / 0.5873 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.4475, allocations: 20.31 kB / 0.5873 GB, free: 28.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.4485, allocations: 281.5 kB / 0.5876 GB, free: 28.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.4518, allocations: 1.039 MB / 0.5886 GB, free: 27.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.4537, allocations: 0.7672 MB / 0.5893 GB, free: 27.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003687/0.4574, allocations: 2.437 MB / 0.5917 GB, free: 26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000852/0.4583, allocations: 496 kB / 0.5922 GB, free: 25.74 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.46, allocations: 0.8704 MB / 0.593 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.4618, allocations: 1.138 MB / 0.5942 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.4621, allocations: 101.1 kB / 0.5943 GB, free: 24.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.4631, allocations: 351.7 kB / 0.5946 GB, free: 24.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.4635, allocations: 415.5 kB / 0.595 GB, free: 24.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009497/0.4645, allocations: 0.9363 MB / 0.5959 GB, free: 23.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.4673, allocations: 2.55 MB / 0.5984 GB, free: 23.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4673, allocations: 1.406 kB / 0.5984 GB, free: 23.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4673, allocations: 0 / 0.5984 GB, free: 23.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.45e-05/0.4674, allocations: 4 kB / 0.5984 GB, free: 23.02 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.01426/0.4816, allocations: 3.677 MB / 0.602 GB, free: 21.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.4817, allocations: 9.5 kB / 0.602 GB, free: 21.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007596/0.4825, allocations: 182.4 kB / 0.6022 GB, free: 21.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005685/0.4882, allocations: 0.7888 MB / 0.6029 GB, free: 21.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.4924, allocations: 1.292 MB / 0.6042 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000594/0.493, allocations: 482.6 kB / 0.6047 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004104/0.4934, allocations: 138.2 kB / 0.6048 GB, free: 19.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004129/0.4975, allocations: 1.702 MB / 0.6065 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.4976, allocations: 2.141 kB / 0.6065 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/0.4977, allocations: 45.47 kB / 0.6065 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.4978, allocations: 28.66 kB / 0.6065 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003943/0.5017, allocations: 1.587 MB / 0.6081 GB, free: 18.74 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.01305/0.5148, allocations: 5.925 MB / 0.6139 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.5251, allocations: 3.748 MB / 0.6175 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.5279, allocations: 1.076 MB / 0.6186 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/0.5284, allocations: 0.7319 MB / 0.6193 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002964/0.5314, allocations: 1.289 MB / 0.6206 GB, free: 12.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.757e-06/0.5314, allocations: 0 / 0.6206 GB, free: 12.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04406/0.5755, allocations: 12.01 MB / 0.6323 GB, free: 2.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.5756, allocations: 141.8 kB / 0.6324 GB, free: 2.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.579, allocations: 1.65 MB / 0.634 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005766/0.5796, allocations: 53.7 kB / 0.6341 GB, free: 1.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.5802, allocations: 0.7108 MB / 0.6348 GB, free: 352 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.5812, allocations: 0.5239 MB / 0.6353 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007297/0.582, allocations: 202 kB / 0.6355 GB, free: 15.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5821, allocations: 305.1 kB / 0.6358 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.5852, allocations: 1.16 MB / 0.6369 GB, free: 14.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.5884, allocations: 1.393 MB / 0.6383 GB, free: 12.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005856/0.5943, allocations: 2.491 MB / 0.6407 GB, free: 10.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.5943, allocations: 3.938 kB / 0.6407 GB, free: 10.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01249/0.6068, allocations: 4.413 MB / 0.645 GB, free: 5.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.405e-05/0.6069, allocations: 33.7 kB / 0.645 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/0.6069, allocations: 4 kB / 0.645 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.6175, allocations: 3.038 MB / 0.648 GB, free: 2.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.6198, allocations: 383.5 kB / 0.6484 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007565/0.6274, allocations: 3.012 MB / 0.6513 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/0.6309, allocations: 342 kB / 0.6516 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000501/0.6314, allocations: 71.98 kB / 0.6517 GB, free: 14.71 MB / 462.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.001389/0.6328, allocations: 349.4 kB / 0.652 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008466/0.6337, allocations: 185.7 kB / 0.6522 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02022/0.6539, allocations: 6.237 MB / 0.6583 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/0.654, allocations: 12 kB / 0.6583 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.654, allocations: 7.984 kB / 0.6583 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.484e-05/0.6541, allocations: 7.969 kB / 0.6583 GB, free: 7.891 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.02773/0.6818, allocations: 8.717 MB / 0.6669 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.6819, allocations: 4.062 kB / 0.6669 GB, free: 15.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/0.6833, allocations: 171.7 kB / 0.667 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009261/0.6926, allocations: 2.611 MB / 0.6696 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005059/0.6931, allocations: 39.92 kB / 0.6696 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03067/0.7238, allocations: 12.23 MB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.7239, allocations: 4 kB / 0.6816 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02319/0.7471, allocations: 7.507 MB / 0.6889 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/0.7482, allocations: 302.5 kB / 0.6892 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008385/0.749, allocations: 32 kB / 0.6892 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/0.7516, allocations: 211.8 kB / 0.6894 GB, free: 7.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/0.7527, allocations: 281.2 kB / 0.6897 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002475/0.753, allocations: 43.98 kB / 0.6897 GB, free: 7.273 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002522/0.7555, allocations: 1.109 MB / 0.6908 GB, free: 6.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.7555, allocations: 0 / 0.6908 GB, free: 6.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0029/0.7584, allocations: 0.6008 MB / 0.6914 GB, free: 5.57 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.02441/0.7829, allocations: 8.134 MB / 0.6993 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01133/0.7942, allocations: 3.511 MB / 0.7028 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.7943, allocations: 4.312 kB / 0.7028 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007728/0.802, allocations: 2.423 MB / 0.7051 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/0.8049, allocations: 170 kB / 0.7053 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06537/0.8703, allocations: 25.16 MB / 0.7299 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.8718, allocations: 1.343 MB / 0.7312 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001146/0.873, allocations: 167.6 kB / 0.7313 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/0.8744, allocations: 0.718 MB / 0.732 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/0.8744, allocations: 0 / 0.732 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3749/1.249, allocations: 44.72 MB / 0.7757 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.25, allocations: 208.7 kB / 0.7759 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/4.459, allocations: 0 / 0.7759 GB, free: 164.5 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)