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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 101.3 kB / 15.98 MB, free: 5.891 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.252/1.252, allocations: 222.9 MB / 239.6 MB, free: 4.797 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.001216/0.001216, allocations: 184.5 kB / 289.9 MB, free: 2.531 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4319/0.4319, allocations: 78.52 MB / 418.6 MB, free: 3.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 71.89 kB / 497.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1304, allocations: 68.18 MB / 0.5525 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2244/0.3548, allocations: 9.536 MB / 0.5618 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.3604, allocations: 2.893 MB / 0.5647 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.3622, allocations: 19.03 kB / 0.5647 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.3632, allocations: 283.1 kB / 0.5649 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003188/0.3665, allocations: 1.11 MB / 0.566 GB, free: 33.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001671/0.3681, allocations: 0.7747 MB / 0.5668 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00302/0.3712, allocations: 2.741 MB / 0.5695 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.3719, allocations: 0.5402 MB / 0.57 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.3733, allocations: 1.037 MB / 0.571 GB, free: 32.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.3744, allocations: 1.293 MB / 0.5723 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000277/0.3747, allocations: 218.5 kB / 0.5725 GB, free: 32.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007787/0.3755, allocations: 473.4 kB / 0.5729 GB, free: 32.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.3759, allocations: 0.5349 MB / 0.5734 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007613/0.3766, allocations: 1.069 MB / 0.5745 GB, free: 31.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.3785, allocations: 2.116 MB / 0.5766 GB, free: 31.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3785, allocations: 1.156 kB / 0.5766 GB, free: 31.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3785, allocations: 0 / 0.5766 GB, free: 31.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.62e-05/0.3786, allocations: 0 / 0.5766 GB, free: 31.18 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.01345/0.392, allocations: 4.174 MB / 0.5806 GB, free: 29.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.3921, allocations: 8 kB / 0.5806 GB, free: 29.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004368/0.3965, allocations: 0.788 MB / 0.5814 GB, free: 29.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.3986, allocations: 1.281 MB / 0.5827 GB, free: 28.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.399, allocations: 472.4 kB / 0.5831 GB, free: 28.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.3992, allocations: 133.2 kB / 0.5832 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.4022, allocations: 1.622 MB / 0.5848 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.4022, allocations: 4.156 kB / 0.5848 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.4024, allocations: 46.19 kB / 0.5849 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.4024, allocations: 28.53 kB / 0.5849 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.4053, allocations: 1.5 MB / 0.5864 GB, free: 26.8 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.009432/0.4147, allocations: 5.832 MB / 0.5921 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008207/0.423, allocations: 3.171 MB / 0.5951 GB, free: 22.22 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002224/0.4252, allocations: 0.9993 MB / 0.5961 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.4258, allocations: 0.7334 MB / 0.5968 GB, free: 20.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002821/0.4286, allocations: 1.199 MB / 0.598 GB, free: 20.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 6.492e-06/0.4286, allocations: 0 / 0.598 GB, free: 20.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04007/0.4687, allocations: 9.971 MB / 0.6077 GB, free: 18.33 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.4688, allocations: 148.1 kB / 0.6079 GB, free: 18.17 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003294/0.4721, allocations: 1.646 MB / 0.6095 GB, free: 17.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004938/0.4726, allocations: 55.98 kB / 0.6096 GB, free: 17.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/0.4733, allocations: 0.7073 MB / 0.6102 GB, free: 16.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008253/0.4741, allocations: 0.5326 MB / 0.6108 GB, free: 16.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.4755, allocations: 395.2 kB / 0.6111 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.4755, allocations: 302.2 kB / 0.6114 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/0.4779, allocations: 1.083 MB / 0.6125 GB, free: 15.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4805, allocations: 1.311 MB / 0.6138 GB, free: 14.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/0.485, allocations: 2.326 MB / 0.616 GB, free: 12.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.4851, allocations: 5.359 kB / 0.616 GB, free: 12.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.00944/0.4945, allocations: 4.007 MB / 0.62 GB, free: 9.742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.4946, allocations: 37.69 kB / 0.62 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-05/0.4947, allocations: 5.219 kB / 0.62 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007976/0.5026, allocations: 2.654 MB / 0.6226 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.5045, allocations: 387.4 kB / 0.623 GB, free: 6.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.51, allocations: 2.69 MB / 0.6256 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/0.5129, allocations: 290.1 kB / 0.6259 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.5134, allocations: 75.97 kB / 0.6259 GB, free: 3.586 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.001081/0.5144, allocations: 349.2 kB / 0.6263 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006265/0.5151, allocations: 187.3 kB / 0.6264 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.5308, allocations: 5.175 MB / 0.6315 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/0.5308, allocations: 16 kB / 0.6315 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.5308, allocations: 0 / 0.6315 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.425e-05/0.5309, allocations: 11.91 kB / 0.6315 GB, free: 13.82 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.02167/0.5526, allocations: 7.651 MB / 0.639 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/0.5526, allocations: 6.312 kB / 0.639 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5538, allocations: 167.9 kB / 0.6392 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007619/0.5614, allocations: 2.243 MB / 0.6414 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003899/0.5618, allocations: 35.98 kB / 0.6414 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02839/0.5902, allocations: 12.08 MB / 0.6532 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5903, allocations: 1.016 kB / 0.6532 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.6102, allocations: 6.368 MB / 0.6594 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007613/0.611, allocations: 299.6 kB / 0.6597 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006903/0.6117, allocations: 28 kB / 0.6597 GB, free: 484 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/0.614, allocations: 171.7 kB / 0.6599 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/0.6151, allocations: 285.3 kB / 0.6601 GB, free: 28 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002815/0.6154, allocations: 44.06 kB / 0.6602 GB, free: 15.98 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002113/0.6175, allocations: 1.109 MB / 0.6613 GB, free: 14.88 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6175, allocations: 0 / 0.6613 GB, free: 14.88 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002372/0.6199, allocations: 0.6008 MB / 0.6619 GB, free: 14.28 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.0005559/0.6205, allocations: 172.7 kB / 0.662 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.6308, allocations: 3.236 MB / 0.6652 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6308, allocations: 0 / 0.6652 GB, free: 10.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006671/0.6375, allocations: 2.181 MB / 0.6673 GB, free: 8.645 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.6398, allocations: 170 kB / 0.6675 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008026/0.6479, allocations: 4.277 MB / 0.6717 GB, free: 4.234 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.649, allocations: 1.339 MB / 0.673 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000821/0.6499, allocations: 115.4 kB / 0.6731 GB, free: 2.746 MB / 478.1 MB Notification: Performance of SimCode: time 1.463e-06/0.6499, allocations: 0 / 0.6731 GB, free: 2.746 MB / 478.1 MB Notification: Performance of Templates: time 0.04407/0.694, allocations: 33.84 MB / 0.7061 GB, free: 1.012 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)