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.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 239.3 MB, free: 4.625 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.001304/0.001304, allocations: 188.5 kB / 289.6 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5576/0.5576, allocations: 91.89 MB / 431.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 75.88 kB / 0.502 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4232, allocations: 71.27 MB / 0.5716 GB, free: 36.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008976/0.4322, allocations: 9.254 MB / 0.5806 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006112/0.4384, allocations: 2.871 MB / 0.5834 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.4396, allocations: 17.31 kB / 0.5834 GB, free: 28.94 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009892/0.4406, allocations: 373.1 kB / 0.5838 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002546/0.4432, allocations: 1.171 MB / 0.5849 GB, free: 27.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.4449, allocations: 0.8431 MB / 0.5858 GB, free: 27.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.4472, allocations: 2.582 MB / 0.5883 GB, free: 26.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.448, allocations: 0.551 MB / 0.5888 GB, free: 26 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.4494, allocations: 1.019 MB / 0.5898 GB, free: 25.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.4509, allocations: 1.279 MB / 0.5911 GB, free: 24.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004592/0.4514, allocations: 219.2 kB / 0.5913 GB, free: 24.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.4524, allocations: 480.7 kB / 0.5917 GB, free: 24.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004252/0.4528, allocations: 0.538 MB / 0.5923 GB, free: 24.43 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009201/0.4537, allocations: 1.059 MB / 0.5933 GB, free: 23.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.4562, allocations: 2.696 MB / 0.5959 GB, free: 22.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4563, allocations: 1.219 kB / 0.5959 GB, free: 22.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4563, allocations: 0 / 0.5959 GB, free: 22.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.434e-05/0.4563, allocations: 3.938 kB / 0.5959 GB, free: 22.53 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.0138/0.4701, allocations: 3.95 MB / 0.5998 GB, free: 20.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4702, allocations: 9.812 kB / 0.5998 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002043/0.4704, allocations: 181.6 kB / 0.6 GB, free: 20.72 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.4754, allocations: 0.7827 MB / 0.6007 GB, free: 20.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002791/0.4782, allocations: 1.287 MB / 0.602 GB, free: 19.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004886/0.4787, allocations: 478.9 kB / 0.6024 GB, free: 19.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.4789, allocations: 134 kB / 0.6026 GB, free: 19.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/0.4824, allocations: 1.615 MB / 0.6041 GB, free: 18.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.4824, allocations: 1.344 kB / 0.6042 GB, free: 18.6 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.4826, allocations: 49.81 kB / 0.6042 GB, free: 18.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.4826, allocations: 28.53 kB / 0.6042 GB, free: 18.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003675/0.4863, allocations: 1.499 MB / 0.6057 GB, free: 18.04 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.01201/0.4983, allocations: 5.831 MB / 0.6114 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008989/0.5074, allocations: 3.171 MB / 0.6145 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.5098, allocations: 0.9956 MB / 0.6155 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004748/0.5103, allocations: 0.7386 MB / 0.6162 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002684/0.513, allocations: 1.201 MB / 0.6173 GB, free: 11.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.308e-06/0.5131, allocations: 1.188 kB / 0.6173 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04023/0.5533, allocations: 9.981 MB / 0.6271 GB, free: 4.992 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.5534, allocations: 145.8 kB / 0.6272 GB, free: 4.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.5559, allocations: 1.646 MB / 0.6288 GB, free: 3.172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004063/0.5563, allocations: 61.75 kB / 0.6289 GB, free: 3.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/0.5568, allocations: 0.7068 MB / 0.6296 GB, free: 2.387 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005301/0.5573, allocations: 0.5276 MB / 0.6301 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006339/0.5579, allocations: 391.9 kB / 0.6305 GB, free: 1.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.558, allocations: 309.1 kB / 0.6308 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/0.56, allocations: 1.074 MB / 0.6318 GB, free: 80 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/0.5626, allocations: 1.311 MB / 0.6331 GB, free: 14.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/0.5674, allocations: 2.323 MB / 0.6354 GB, free: 12.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.5675, allocations: 0 / 0.6354 GB, free: 12.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01075/0.5782, allocations: 4.006 MB / 0.6393 GB, free: 8.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.5783, allocations: 45.7 kB / 0.6393 GB, free: 8.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.5783, allocations: 7.984 kB / 0.6393 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009583/0.5879, allocations: 2.659 MB / 0.6419 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002312/0.5903, allocations: 387.5 kB / 0.6423 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/0.5968, allocations: 2.683 MB / 0.6449 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/0.6003, allocations: 294.1 kB / 0.6452 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/0.6006, allocations: 75.97 kB / 0.6453 GB, free: 2.039 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.0009206/0.6015, allocations: 356.4 kB / 0.6456 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005494/0.6021, allocations: 185.7 kB / 0.6458 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/0.6198, allocations: 5.171 MB / 0.6508 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/0.6199, allocations: 16 kB / 0.6509 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.384e-05/0.62, allocations: 0 / 0.6509 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.961e-05/0.62, allocations: 7.969 kB / 0.6509 GB, free: 12.29 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.02187/0.6419, allocations: 7.643 MB / 0.6583 GB, free: 4.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.642, allocations: 4.062 kB / 0.6583 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.6434, allocations: 171.7 kB / 0.6585 GB, free: 4.328 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008375/0.6518, allocations: 2.248 MB / 0.6607 GB, free: 2.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004948/0.6523, allocations: 39.92 kB / 0.6607 GB, free: 2.031 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02913/0.6814, allocations: 12.07 MB / 0.6725 GB, free: 5.676 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6815, allocations: 7.938 kB / 0.6725 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/0.7017, allocations: 6.359 MB / 0.6787 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001596/0.7034, allocations: 298.5 kB / 0.679 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007394/0.7042, allocations: 28 kB / 0.679 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/0.7062, allocations: 171.7 kB / 0.6792 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/0.7074, allocations: 285.3 kB / 0.6795 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.7075, allocations: 47.98 kB / 0.6795 GB, free: 14.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002126/0.7097, allocations: 1.097 MB / 0.6806 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7097, allocations: 0 / 0.6806 GB, free: 13.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002276/0.712, allocations: 0.6048 MB / 0.6812 GB, free: 12.75 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.0195/0.7315, allocations: 6.982 MB / 0.688 GB, free: 5.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01029/0.7418, allocations: 3.244 MB / 0.6912 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7418, allocations: 4.25 kB / 0.6912 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006593/0.7484, allocations: 2.179 MB / 0.6933 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.7502, allocations: 182.7 kB / 0.6935 GB, free: 56 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0538/0.804, allocations: 22.86 MB / 0.7158 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.8054, allocations: 1.343 MB / 0.7171 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001221/0.8066, allocations: 179.6 kB / 0.7173 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.8078, allocations: 0.718 MB / 0.718 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.8078, allocations: 0 / 0.718 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.9083, allocations: 48.88 MB / 0.7657 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.06, allocations: 11.81 kB / 0.7657 GB, free: 4.855 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)