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.001113/0.001113, allocations: 114.3 kB / 16.37 MB, free: 6 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.33/1.33, allocations: 222.9 MB / 240 MB, free: 4.52 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.001375/0.001375, allocations: 184.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4375/0.4375, allocations: 78.54 MB / 419 MB, free: 3.207 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 79.88 kB / 498.9 MB, free: 5.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1234, allocations: 68.18 MB / 0.5538 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2086/0.332, allocations: 9.208 MB / 0.5628 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005401/0.3374, allocations: 2.871 MB / 0.5656 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.3391, allocations: 20 kB / 0.5656 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3401, allocations: 364.2 kB / 0.566 GB, free: 33.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003195/0.3434, allocations: 1.261 MB / 0.5672 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.345, allocations: 0.8352 MB / 0.568 GB, free: 32.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002773/0.3478, allocations: 2.753 MB / 0.5707 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006714/0.3485, allocations: 0.5394 MB / 0.5712 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.3497, allocations: 1.033 MB / 0.5722 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.3508, allocations: 1.291 MB / 0.5735 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002579/0.351, allocations: 222.2 kB / 0.5737 GB, free: 31.74 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.3518, allocations: 471 kB / 0.5742 GB, free: 31.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003575/0.3522, allocations: 0.5442 MB / 0.5747 GB, free: 31.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007543/0.3529, allocations: 1.061 MB / 0.5757 GB, free: 31.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002254/0.3552, allocations: 2.739 MB / 0.5784 GB, free: 30.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3552, allocations: 0 / 0.5784 GB, free: 30.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3552, allocations: 0 / 0.5784 GB, free: 30.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.586e-05/0.3552, allocations: 2.844 kB / 0.5784 GB, free: 30.25 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.01382/0.3691, allocations: 4.172 MB / 0.5825 GB, free: 28.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3691, allocations: 7.656 kB / 0.5825 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.3736, allocations: 0.7848 MB / 0.5832 GB, free: 28.38 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/0.3758, allocations: 1.29 MB / 0.5845 GB, free: 27.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003703/0.3762, allocations: 476.5 kB / 0.585 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.3764, allocations: 135.2 kB / 0.5851 GB, free: 27.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.3794, allocations: 1.618 MB / 0.5867 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3795, allocations: 0 / 0.5867 GB, free: 26.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.3796, allocations: 49.64 kB / 0.5867 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.3796, allocations: 28.38 kB / 0.5867 GB, free: 26.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.3825, allocations: 1.498 MB / 0.5882 GB, free: 25.89 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.009822/0.3924, allocations: 5.807 MB / 0.5939 GB, free: 22.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008395/0.4008, allocations: 3.174 MB / 0.597 GB, free: 21.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/0.4029, allocations: 0.9913 MB / 0.5979 GB, free: 20.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004621/0.4034, allocations: 0.738 MB / 0.5987 GB, free: 20.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/0.4058, allocations: 1.194 MB / 0.5998 GB, free: 19.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.336e-06/0.4058, allocations: 4 kB / 0.5998 GB, free: 19.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03932/0.4451, allocations: 9.976 MB / 0.6096 GB, free: 17.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.4452, allocations: 146.1 kB / 0.6097 GB, free: 16.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.4478, allocations: 1.645 MB / 0.6113 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004013/0.4482, allocations: 60.69 kB / 0.6114 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/0.4487, allocations: 0.7077 MB / 0.6121 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007012/0.4495, allocations: 0.5274 MB / 0.6126 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007964/0.4503, allocations: 392.1 kB / 0.613 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.4503, allocations: 305.1 kB / 0.6133 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002131/0.4525, allocations: 1.078 MB / 0.6143 GB, free: 13.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.4547, allocations: 1.308 MB / 0.6156 GB, free: 12.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004103/0.4588, allocations: 2.33 MB / 0.6179 GB, free: 11.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.4588, allocations: 2.312 kB / 0.6179 GB, free: 11.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.008855/0.4677, allocations: 4.006 MB / 0.6218 GB, free: 8.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.4677, allocations: 37.64 kB / 0.6218 GB, free: 8.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.4678, allocations: 6.672 kB / 0.6218 GB, free: 8.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007986/0.4758, allocations: 2.661 MB / 0.6244 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.4776, allocations: 379.5 kB / 0.6248 GB, free: 5.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/0.483, allocations: 2.699 MB / 0.6274 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/0.4859, allocations: 290.6 kB / 0.6277 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002307/0.4862, allocations: 75.97 kB / 0.6278 GB, free: 2.102 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.0007493/0.4869, allocations: 344 kB / 0.6281 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.4873, allocations: 189.6 kB / 0.6283 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01599/0.5033, allocations: 5.164 MB / 0.6333 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.5033, allocations: 20.94 kB / 0.6333 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.5034, allocations: 0 / 0.6333 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/0.5034, allocations: 7.969 kB / 0.6333 GB, free: 12.35 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.02017/0.5236, allocations: 7.646 MB / 0.6408 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.5236, allocations: 0 / 0.6408 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.5248, allocations: 171.7 kB / 0.641 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00752/0.5323, allocations: 2.243 MB / 0.6432 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00036/0.5327, allocations: 28 kB / 0.6432 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02748/0.5602, allocations: 12.07 MB / 0.655 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5602, allocations: 4 kB / 0.655 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/0.5792, allocations: 6.353 MB / 0.6612 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007685/0.58, allocations: 304.1 kB / 0.6615 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.5803, allocations: 29.78 kB / 0.6615 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.5821, allocations: 175.7 kB / 0.6617 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008265/0.5829, allocations: 277.3 kB / 0.6619 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/0.5831, allocations: 47.98 kB / 0.662 GB, free: 14.53 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00171/0.5848, allocations: 1.101 MB / 0.6631 GB, free: 13.43 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.5848, allocations: 4 kB / 0.6631 GB, free: 13.43 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001533/0.5864, allocations: 0.6086 MB / 0.6637 GB, free: 12.82 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.0003295/0.5867, allocations: 163 kB / 0.6638 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008572/0.5953, allocations: 3.17 MB / 0.6669 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5953, allocations: 0.875 kB / 0.6669 GB, free: 9.473 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006392/0.6017, allocations: 2.185 MB / 0.669 GB, free: 7.262 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.603, allocations: 171 kB / 0.6692 GB, free: 7.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006139/0.6092, allocations: 3.568 MB / 0.6727 GB, free: 3.562 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007942/0.61, allocations: 1.339 MB / 0.674 GB, free: 2.191 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006341/0.6106, allocations: 172.3 kB / 0.6742 GB, free: 2.023 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.6111, allocations: 115.4 kB / 0.6743 GB, free: 1.91 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6111, allocations: 0 / 0.6743 GB, free: 1.91 MB / 478.1 MB Notification: Performance of Templates: time 0.04822/0.6593, allocations: 33.16 MB / 0.7066 GB, free: 0.918 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 -s gbode -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)