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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001135/0.001135, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.358/1.358, allocations: 223.3 MB / 239.4 MB, free: 5.527 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.0009624/0.0009624, allocations: 164.6 kB / 290.6 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5485/0.5485, allocations: 91.92 MB / 433.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004136/0.0004136, allocations: 12 kB / 0.5048 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4027, allocations: 72.46 MB / 0.5755 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007972/0.4107, allocations: 9.027 MB / 0.5843 GB, free: 30.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00636/0.4171, allocations: 2.898 MB / 0.5872 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001778/0.4189, allocations: 22.25 kB / 0.5872 GB, free: 28.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.42, allocations: 270.2 kB / 0.5875 GB, free: 28.48 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.423, allocations: 1.037 MB / 0.5885 GB, free: 27.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.4247, allocations: 0.766 MB / 0.5892 GB, free: 27.39 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.4274, allocations: 2.446 MB / 0.5916 GB, free: 26.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007617/0.4282, allocations: 0.4893 MB / 0.5921 GB, free: 25.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.4294, allocations: 0.8666 MB / 0.5929 GB, free: 25.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4307, allocations: 1.141 MB / 0.594 GB, free: 25.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.4309, allocations: 100.1 kB / 0.5941 GB, free: 25.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007906/0.4317, allocations: 349 kB / 0.5945 GB, free: 25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003393/0.4321, allocations: 411.4 kB / 0.5949 GB, free: 24.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007954/0.4329, allocations: 0.9394 MB / 0.5958 GB, free: 24.15 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002322/0.4352, allocations: 2.551 MB / 0.5983 GB, free: 23.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4352, allocations: 0 / 0.5983 GB, free: 23.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.4352, allocations: 1 kB / 0.5983 GB, free: 23.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.322e-05/0.4353, allocations: 4 kB / 0.5983 GB, free: 23.26 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.01341/0.4487, allocations: 3.685 MB / 0.6019 GB, free: 21.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4488, allocations: 8.375 kB / 0.6019 GB, free: 21.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005271/0.454, allocations: 0.7906 MB / 0.6027 GB, free: 21.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.457, allocations: 1.289 MB / 0.6039 GB, free: 20.8 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004792/0.4575, allocations: 482.4 kB / 0.6044 GB, free: 20.37 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002888/0.4578, allocations: 135.7 kB / 0.6045 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00368/0.4615, allocations: 1.703 MB / 0.6062 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.4615, allocations: 0 / 0.6062 GB, free: 19.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.4616, allocations: 47.31 kB / 0.6062 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.4617, allocations: 27.25 kB / 0.6062 GB, free: 19.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003532/0.4652, allocations: 1.587 MB / 0.6078 GB, free: 19.1 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.01241/0.4776, allocations: 5.921 MB / 0.6136 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.4885, allocations: 3.749 MB / 0.6172 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003299/0.4919, allocations: 1.079 MB / 0.6183 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.4926, allocations: 0.736 MB / 0.619 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003625/0.4962, allocations: 1.287 MB / 0.6203 GB, free: 12.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.99e-06/0.4963, allocations: 4 kB / 0.6203 GB, free: 12.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.0423/0.5386, allocations: 12 MB / 0.632 GB, free: 3.137 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.5387, allocations: 153.8 kB / 0.6321 GB, free: 2.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.5413, allocations: 1.646 MB / 0.6337 GB, free: 1.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005858/0.5419, allocations: 53.7 kB / 0.6338 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/0.5423, allocations: 0.703 MB / 0.6345 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.5429, allocations: 0.5276 MB / 0.635 GB, free: 0 / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.5433, allocations: 206.1 kB / 0.6352 GB, free: 15.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.5434, allocations: 309.1 kB / 0.6355 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00265/0.5461, allocations: 1.16 MB / 0.6366 GB, free: 14.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002745/0.5488, allocations: 1.396 MB / 0.638 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004835/0.5537, allocations: 2.479 MB / 0.6404 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.5537, allocations: 0 / 0.6404 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01131/0.565, allocations: 4.42 MB / 0.6447 GB, free: 5.809 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.556e-05/0.5651, allocations: 37.69 kB / 0.6448 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.5651, allocations: 4 kB / 0.6448 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.5755, allocations: 3.023 MB / 0.6477 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.5778, allocations: 391.4 kB / 0.6481 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007351/0.5852, allocations: 3.008 MB / 0.651 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/0.5887, allocations: 350 kB / 0.6514 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003703/0.5891, allocations: 71.98 kB / 0.6514 GB, free: 14.9 MB / 462.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.001178/0.5903, allocations: 354 kB / 0.6518 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/0.5909, allocations: 185.7 kB / 0.6519 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0198/0.6107, allocations: 6.245 MB / 0.658 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/0.6108, allocations: 16 kB / 0.658 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.6108, allocations: 4 kB / 0.6581 GB, free: 8.078 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/0.6108, allocations: 7.969 kB / 0.6581 GB, free: 8.07 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.02442/0.6353, allocations: 8.709 MB / 0.6666 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.6353, allocations: 0 / 0.6666 GB, free: 15.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.6366, allocations: 171.9 kB / 0.6667 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008757/0.6454, allocations: 2.619 MB / 0.6693 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003934/0.6458, allocations: 35.98 kB / 0.6693 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02857/0.6744, allocations: 12.23 MB / 0.6813 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6744, allocations: 0 / 0.6813 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/0.6968, allocations: 7.515 MB / 0.6886 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/0.6979, allocations: 302.5 kB / 0.6889 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003907/0.6983, allocations: 35.98 kB / 0.6889 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001912/0.7003, allocations: 211.8 kB / 0.6891 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009135/0.7012, allocations: 273.3 kB / 0.6894 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.7013, allocations: 47.92 kB / 0.6894 GB, free: 7.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001837/0.7032, allocations: 1.113 MB / 0.6905 GB, free: 6.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7032, allocations: 0 / 0.6905 GB, free: 6.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001812/0.705, allocations: 0.6048 MB / 0.6911 GB, free: 5.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.0003927/0.7054, allocations: 163 kB / 0.6913 GB, free: 5.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009735/0.7151, allocations: 3.507 MB / 0.6947 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7152, allocations: 4.125 kB / 0.6947 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006928/0.7221, allocations: 2.425 MB / 0.6971 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.724, allocations: 174 kB / 0.6972 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006848/0.7309, allocations: 4.386 MB / 0.7015 GB, free: 11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/0.7318, allocations: 1.339 MB / 0.7028 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007917/0.7326, allocations: 175.6 kB / 0.703 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/0.733, allocations: 107.4 kB / 0.7031 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.733, allocations: 0 / 0.7031 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of Templates: time 0.0516/0.7846, allocations: 29.3 MB / 0.7317 GB, free: 12.09 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)