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.001478/0.001478, 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.367/1.367, allocations: 222.9 MB / 238.8 MB, free: 4.727 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.001457/0.001457, allocations: 200.1 kB / 289.1 MB, free: 2.469 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4757/0.4757, allocations: 78.52 MB / 417.8 MB, free: 3.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.88 kB / 496.9 MB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1364, allocations: 68.17 MB / 0.5518 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2311/0.3675, allocations: 9.542 MB / 0.5611 GB, free: 34.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.374, allocations: 2.91 MB / 0.564 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.3762, allocations: 22.06 kB / 0.564 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.3776, allocations: 288.4 kB / 0.5642 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003691/0.3813, allocations: 1.127 MB / 0.5653 GB, free: 33.33 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3832, allocations: 0.7657 MB / 0.5661 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003368/0.3866, allocations: 2.592 MB / 0.5686 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007965/0.3874, allocations: 0.4918 MB / 0.5691 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.3888, allocations: 0.9185 MB / 0.57 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.3901, allocations: 1.212 MB / 0.5712 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003037/0.3904, allocations: 120.2 kB / 0.5713 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008077/0.3912, allocations: 370 kB / 0.5717 GB, free: 32.08 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003516/0.3916, allocations: 453.6 kB / 0.5721 GB, free: 31.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000804/0.3924, allocations: 0.965 MB / 0.573 GB, free: 31.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.3945, allocations: 2.619 MB / 0.5756 GB, free: 31.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3945, allocations: 6.344 kB / 0.5756 GB, free: 31.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3945, allocations: 2.531 kB / 0.5756 GB, free: 31.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.3946, allocations: 0 / 0.5756 GB, free: 31.04 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.01449/0.4091, allocations: 4.168 MB / 0.5797 GB, free: 29.52 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4091, allocations: 11.12 kB / 0.5797 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.4094, allocations: 179.4 kB / 0.5798 GB, free: 29.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004903/0.4143, allocations: 0.7849 MB / 0.5806 GB, free: 29.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.4169, allocations: 1.287 MB / 0.5819 GB, free: 28.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/0.4173, allocations: 474.7 kB / 0.5823 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.4176, allocations: 133.6 kB / 0.5825 GB, free: 27.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.421, allocations: 1.617 MB / 0.584 GB, free: 27.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.4211, allocations: 5.562 kB / 0.584 GB, free: 27.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.4212, allocations: 50.05 kB / 0.5841 GB, free: 27.24 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.4213, allocations: 27.38 kB / 0.5841 GB, free: 27.24 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.4246, allocations: 1.498 MB / 0.5856 GB, free: 26.73 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.01117/0.4358, allocations: 5.827 MB / 0.5913 GB, free: 23.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008903/0.4447, allocations: 3.173 MB / 0.5944 GB, free: 22.15 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/0.4472, allocations: 0.996 MB / 0.5953 GB, free: 21.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.4477, allocations: 0.7336 MB / 0.5961 GB, free: 20.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002811/0.4505, allocations: 1.202 MB / 0.5972 GB, free: 20.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 6.312e-06/0.4505, allocations: 0 / 0.5972 GB, free: 20.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04251/0.493, allocations: 9.977 MB / 0.607 GB, free: 18.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.4932, allocations: 152.6 kB / 0.6071 GB, free: 18.06 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.4964, allocations: 1.646 MB / 0.6087 GB, free: 17.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005611/0.497, allocations: 60.31 kB / 0.6088 GB, free: 17.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.4974, allocations: 0.7076 MB / 0.6095 GB, free: 16.48 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005607/0.498, allocations: 0.5279 MB / 0.61 GB, free: 16.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007546/0.4988, allocations: 391.6 kB / 0.6104 GB, free: 15.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.4988, allocations: 302.3 kB / 0.6106 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/0.5011, allocations: 1.083 MB / 0.6117 GB, free: 14.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.5036, allocations: 1.308 MB / 0.613 GB, free: 14.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/0.5081, allocations: 2.322 MB / 0.6153 GB, free: 12.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.5081, allocations: 1.375 kB / 0.6153 GB, free: 12.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009536/0.5177, allocations: 4.014 MB / 0.6192 GB, free: 9.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.559e-05/0.5178, allocations: 33.7 kB / 0.6192 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.5178, allocations: 11.98 kB / 0.6192 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008382/0.5262, allocations: 2.645 MB / 0.6218 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.5282, allocations: 383.5 kB / 0.6222 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005621/0.5338, allocations: 2.694 MB / 0.6248 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/0.5369, allocations: 294.1 kB / 0.6251 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003713/0.5373, allocations: 80.53 kB / 0.6252 GB, free: 3.578 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 ($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.0007755/0.5381, allocations: 344 kB / 0.6255 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/0.5385, allocations: 185.7 kB / 0.6257 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01581/0.5543, allocations: 5.164 MB / 0.6307 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.5544, allocations: 16 kB / 0.6307 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.5544, allocations: 3.984 kB / 0.6307 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/0.5545, allocations: 11.98 kB / 0.6307 GB, free: 13.84 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.02269/0.5772, allocations: 7.651 MB / 0.6382 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.5773, allocations: 0.5625 kB / 0.6382 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.5785, allocations: 167.8 kB / 0.6384 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008002/0.5865, allocations: 2.239 MB / 0.6405 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004278/0.5869, allocations: 48.7 kB / 0.6406 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02769/0.6146, allocations: 11.03 MB / 0.6514 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.6147, allocations: 4 kB / 0.6514 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/0.6351, allocations: 6.37 MB / 0.6576 GB, free: 1.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008628/0.636, allocations: 302.5 kB / 0.6579 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008742/0.6369, allocations: 28 kB / 0.6579 GB, free: 1.527 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/0.6393, allocations: 165.6 kB / 0.6581 GB, free: 1.367 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001224/0.6406, allocations: 273.3 kB / 0.6583 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/0.6409, allocations: 41.05 kB / 0.6584 GB, free: 1.062 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002315/0.6432, allocations: 1.113 MB / 0.6595 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6433, allocations: 0 / 0.6595 GB, free: 15.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002605/0.6459, allocations: 0.597 MB / 0.66 GB, free: 15.36 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.0205/0.6664, allocations: 6.981 MB / 0.6669 GB, free: 8.324 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01009/0.6765, allocations: 3.147 MB / 0.6699 GB, free: 5.164 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.6766, allocations: 4 kB / 0.6699 GB, free: 5.16 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007092/0.6837, allocations: 2.142 MB / 0.672 GB, free: 2.988 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/0.6861, allocations: 168.2 kB / 0.6722 GB, free: 2.824 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05837/0.7445, allocations: 23.45 MB / 0.6951 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7457, allocations: 1.343 MB / 0.6964 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001069/0.7468, allocations: 171.6 kB / 0.6966 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.7481, allocations: 0.718 MB / 0.6973 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of SimCode: time 7.02e-07/0.7481, allocations: 5.812 kB / 0.6973 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07655/0.8247, allocations: 45.42 MB / 0.7416 GB, free: 10.76 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/0.825, allocations: 212.4 kB / 0.7418 GB, free: 10.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.97/3.795, allocations: 0.9844 kB / 0.7418 GB, free: 10.5 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/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)