Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08718/0.08718, allocations: 12.59 MB / 28.22 MB, free: 0.7734 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 107.4 kB / 31.84 MB, free: 3.906 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 195.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4384/0.4384, allocations: 78.51 MB / 419.3 MB, free: 11.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 143.1 kB / 0.5554 GB, free: 28.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1102, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.009408/0.1196, allocations: 9.273 MB / 0.631 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005529/0.1251, allocations: 2.837 MB / 0.6337 GB, free: 3.758 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.1265, allocations: 23.94 kB / 0.6338 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.1278, allocations: 360.9 kB / 0.6341 GB, free: 3.379 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.1317, allocations: 1.325 MB / 0.6354 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.1335, allocations: 0.8378 MB / 0.6362 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.1365, allocations: 2.751 MB / 0.6389 GB, free: 14.46 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007024/0.1372, allocations: 0.5387 MB / 0.6394 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00118/0.1384, allocations: 1.043 MB / 0.6405 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.1397, allocations: 1.291 MB / 0.6417 GB, free: 11.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003069/0.1401, allocations: 220 kB / 0.6419 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007545/0.1408, allocations: 471.7 kB / 0.6424 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004589/0.1413, allocations: 0.537 MB / 0.6429 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008443/0.1422, allocations: 1.06 MB / 0.6439 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.1449, allocations: 2.762 MB / 0.6466 GB, free: 6.484 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1449, allocations: 0 / 0.6466 GB, free: 6.484 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1449, allocations: 0 / 0.6466 GB, free: 6.484 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.142e-05/0.145, allocations: 0 / 0.6466 GB, free: 6.484 MB / 462.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.0144/0.1594, allocations: 4.226 MB / 0.6508 GB, free: 2.188 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1594, allocations: 15.98 kB / 0.6508 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.1597, allocations: 181.3 kB / 0.651 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004812/0.1645, allocations: 0.7987 MB / 0.6517 GB, free: 1.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.1667, allocations: 1.312 MB / 0.653 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004391/0.1671, allocations: 474.7 kB / 0.6535 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.1674, allocations: 132 kB / 0.6536 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/0.1706, allocations: 1.624 MB / 0.6552 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.1706, allocations: 4 kB / 0.6552 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1708, allocations: 44 kB / 0.6552 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.1708, allocations: 28 kB / 0.6553 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.174, allocations: 1.5 MB / 0.6567 GB, free: 11.9 MB / 478.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.009717/0.1838, allocations: 5.798 MB / 0.6624 GB, free: 5.883 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009125/0.1929, allocations: 3.18 MB / 0.6655 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002069/0.195, allocations: 0.9987 MB / 0.6665 GB, free: 1.566 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005166/0.1955, allocations: 0.7336 MB / 0.6672 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002393/0.1979, allocations: 1.211 MB / 0.6684 GB, free: 15.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 2.795e-06/0.198, allocations: 0 / 0.6684 GB, free: 15.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04252/0.2405, allocations: 9.974 MB / 0.6781 GB, free: 5.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.2406, allocations: 153.8 kB / 0.6782 GB, free: 5.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.2436, allocations: 1.65 MB / 0.6799 GB, free: 3.559 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003305/0.244, allocations: 57.7 kB / 0.6799 GB, free: 3.496 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/0.2446, allocations: 0.7156 MB / 0.6806 GB, free: 2.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006783/0.2453, allocations: 0.5501 MB / 0.6811 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008953/0.2462, allocations: 396 kB / 0.6815 GB, free: 1.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2463, allocations: 301.1 kB / 0.6818 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.2487, allocations: 1.078 MB / 0.6829 GB, free: 452 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.2513, allocations: 1.307 MB / 0.6841 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/0.2561, allocations: 2.327 MB / 0.6864 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.2561, allocations: 0 / 0.6864 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01031/0.2664, allocations: 4.019 MB / 0.6903 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.2665, allocations: 37.69 kB / 0.6904 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.2665, allocations: 4 kB / 0.6904 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009631/0.2761, allocations: 2.648 MB / 0.693 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.278, allocations: 391.4 kB / 0.6933 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006569/0.2846, allocations: 2.687 MB / 0.696 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.2872, allocations: 302.5 kB / 0.6962 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/0.2875, allocations: 79.91 kB / 0.6963 GB, free: 2.398 MB / 0.4981 GB 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.0009095/0.2885, allocations: 353.2 kB / 0.6967 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/0.289, allocations: 194.7 kB / 0.6968 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02029/0.3093, allocations: 5.178 MB / 0.7019 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.3094, allocations: 20 kB / 0.7019 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.3094, allocations: 0 / 0.7019 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/0.3094, allocations: 3.984 kB / 0.7019 GB, free: 12.63 MB / 0.5137 GB 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.02212/0.3316, allocations: 7.657 MB / 0.7094 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.3316, allocations: 0 / 0.7094 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.3327, allocations: 171.7 kB / 0.7096 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008148/0.3408, allocations: 2.244 MB / 0.7118 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/0.341, allocations: 35.92 kB / 0.7118 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2572/0.5982, allocations: 12.07 MB / 0.7236 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5983, allocations: 2.094 kB / 0.7236 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0213/0.6196, allocations: 6.375 MB / 0.7298 GB, free: 79.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006499/0.6203, allocations: 315.4 kB / 0.7301 GB, free: 79.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.6206, allocations: 28.59 kB / 0.7301 GB, free: 79.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.6225, allocations: 163.2 kB / 0.7303 GB, free: 79.19 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009221/0.6234, allocations: 283.6 kB / 0.7306 GB, free: 79.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.6236, allocations: 46.17 kB / 0.7306 GB, free: 79.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001699/0.6253, allocations: 1.105 MB / 0.7317 GB, free: 78.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6253, allocations: 0 / 0.7317 GB, free: 78.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001759/0.6271, allocations: 0.6053 MB / 0.7323 GB, free: 78.62 MB / 0.5137 GB 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.01967/0.6467, allocations: 6.99 MB / 0.7391 GB, free: 76.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008984/0.6558, allocations: 3.176 MB / 0.7422 GB, free: 74.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.6558, allocations: 0 / 0.7422 GB, free: 74.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006593/0.6624, allocations: 2.2 MB / 0.7444 GB, free: 73.76 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/0.6639, allocations: 169.3 kB / 0.7445 GB, free: 73.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04234/0.7062, allocations: 21.14 MB / 0.7652 GB, free: 52.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/0.7068, allocations: 1.345 MB / 0.7665 GB, free: 51.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006967/0.7075, allocations: 175.6 kB / 0.7666 GB, free: 51.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000782/0.7083, allocations: 0.718 MB / 0.7673 GB, free: 50.45 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.7083, allocations: 0 / 0.7673 GB, free: 50.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06766/0.776, allocations: 49.48 MB / 0.8157 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.62, allocations: 7.766 kB / 0.8157 GB, free: 1.02 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)