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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002628/0.002628, allocations: 182.9 kB / 7.456 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.4 MB / 229.3 MB, free: 3.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009852/0.0009852, allocations: 102.2 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4052/0.4052, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.352e-06, allocations: 0 / 484.3 MB, free: 4.426 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.242, allocations: 69.35 MB / 0.5407 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.3652, allocations: 113.2 MB / 0.6513 GB, free: 7.547 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.3655, allocations: 83.95 kB / 0.6514 GB, free: 7.465 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3042/0.6697, allocations: 46.77 MB / 0.6971 GB, free: 105.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.259e-05/0.6698, allocations: 35.22 kB / 0.6971 GB, free: 105.3 MB / 490.7 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.0064/0.6762, allocations: 2.396 MB / 0.6994 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6763, allocations: 9.344 kB / 0.6994 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003715/0.68, allocations: 0.6154 MB / 0.7 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.6822, allocations: 1.15 MB / 0.7012 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.6826, allocations: 430 kB / 0.7016 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002503/0.6829, allocations: 87.47 kB / 0.7017 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002545/0.6854, allocations: 1.217 MB / 0.7029 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.6879, allocations: 1.233 MB / 0.7041 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.688, allocations: 0.75 kB / 0.7041 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.6881, allocations: 9.281 kB / 0.7041 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.6881, allocations: 28.03 kB / 0.7041 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.6983, allocations: 5.617 MB / 0.7096 GB, free: 97.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.7006, allocations: 1.3 MB / 0.7108 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.7017, allocations: 0.7575 MB / 0.7116 GB, free: 96.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.7022, allocations: 0.7391 MB / 0.7123 GB, free: 95.74 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/0.7037, allocations: 0.9416 MB / 0.7132 GB, free: 95.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 3.787e-06/0.7037, allocations: 0 / 0.7132 GB, free: 95.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.01664/0.7203, allocations: 5.471 MB / 0.7186 GB, free: 90.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.7204, allocations: 145.8 kB / 0.7187 GB, free: 90.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.7221, allocations: 1.206 MB / 0.7199 GB, free: 88.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/0.7224, allocations: 25.7 kB / 0.7199 GB, free: 88.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.7226, allocations: 448 kB / 0.7203 GB, free: 88.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000545/0.7231, allocations: 0.4927 MB / 0.7208 GB, free: 88.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.7233, allocations: 4 kB / 0.7208 GB, free: 88.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.7233, allocations: 365.9 kB / 0.7212 GB, free: 87.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.7244, allocations: 0.664 MB / 0.7218 GB, free: 86.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.7256, allocations: 0.8403 MB / 0.7226 GB, free: 86.09 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.7271, allocations: 0.7555 MB / 0.7234 GB, free: 85.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.7271, allocations: 0 / 0.7234 GB, free: 85.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00404/0.7311, allocations: 2.294 MB / 0.7256 GB, free: 83.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.7311, allocations: 4 kB / 0.7256 GB, free: 83.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.7312, allocations: 11.94 kB / 0.7256 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008107/0.7393, allocations: 2.373 MB / 0.728 GB, free: 80.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.7406, allocations: 259.7 kB / 0.7282 GB, free: 80.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/0.7454, allocations: 2.531 MB / 0.7307 GB, free: 77.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.7479, allocations: 282.5 kB / 0.7309 GB, free: 77.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.7481, allocations: 59.97 kB / 0.731 GB, free: 77.5 MB / 490.7 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002981/0.7484, allocations: 124.7 kB / 0.7311 GB, free: 77.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.7487, allocations: 185.7 kB / 0.7313 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/0.7653, allocations: 5.657 MB / 0.7368 GB, free: 71.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.7653, allocations: 19.91 kB / 0.7368 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7653, allocations: 0 / 0.7368 GB, free: 71.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.378e-05/0.7654, allocations: 11.97 kB / 0.7368 GB, free: 71.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01962/0.785, allocations: 7.866 MB / 0.7445 GB, free: 63.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.785, allocations: 0 / 0.7445 GB, free: 63.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.7861, allocations: 175.7 kB / 0.7447 GB, free: 63.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006937/0.7931, allocations: 2.166 MB / 0.7468 GB, free: 61.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.7933, allocations: 19.97 kB / 0.7468 GB, free: 61.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/0.8122, allocations: 8.905 MB / 0.7555 GB, free: 52.08 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.8123, allocations: 0 / 0.7555 GB, free: 52.08 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0182/0.8305, allocations: 6.722 MB / 0.7621 GB, free: 45.32 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/0.8312, allocations: 302.3 kB / 0.7624 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004043/0.8316, allocations: 7.984 kB / 0.7624 GB, free: 45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/0.8337, allocations: 199.8 kB / 0.7626 GB, free: 44.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000417/0.8341, allocations: 169 kB / 0.7627 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.8342, allocations: 47.89 kB / 0.7628 GB, free: 44.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001157/0.8354, allocations: 0.9126 MB / 0.7637 GB, free: 43.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00137/0.8368, allocations: 0.5031 MB / 0.7642 GB, free: 43.18 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00035/0.8371, allocations: 178.5 kB / 0.7643 GB, free: 43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007284/0.8444, allocations: 2.643 MB / 0.7669 GB, free: 40.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.8445, allocations: 0 / 0.7669 GB, free: 40.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006308/0.8508, allocations: 2.041 MB / 0.7689 GB, free: 38.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/0.8522, allocations: 133.7 kB / 0.769 GB, free: 38.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006149/0.8584, allocations: 2.798 MB / 0.7718 GB, free: 35.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.8594, allocations: 1.465 MB / 0.7732 GB, free: 33.81 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.8594, allocations: 0 / 0.7732 GB, free: 33.81 MB / 490.7 MB Notification: Performance of Templates: time 0.03726/0.8967, allocations: 26.42 MB / 0.799 GB, free: 7.484 MB / 490.7 MB 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)