Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A") [: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.004131/0.004131, allocations: 179.9 kB / 7.452 MB, free: 2.512 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.227/1.227, allocations: 221.4 MB / 229.3 MB, free: 3.031 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.0009359/0.0009359, allocations: 94.81 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4027/0.4027, allocations: 78.06 MB / 408.9 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.456e-06, allocations: 7.938 kB / 484.4 MB, free: 4.504 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 69.34 MB / 0.5407 GB, free: 21.33 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.365, allocations: 113.1 MB / 0.6511 GB, free: 7.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.3653, allocations: 83.94 kB / 0.6512 GB, free: 7.598 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3113/0.6766, allocations: 47.64 MB / 0.6977 GB, free: 104.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001601/0.6768, allocations: 33.56 kB / 0.6978 GB, free: 104.8 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.007377/0.6842, allocations: 2.273 MB / 0.7 GB, free: 103.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6842, allocations: 9.688 kB / 0.7 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/0.6881, allocations: 0.5965 MB / 0.7006 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.6908, allocations: 1.117 MB / 0.7017 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/0.6912, allocations: 434.9 kB / 0.7021 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.6915, allocations: 70.02 kB / 0.7022 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/0.694, allocations: 1.146 MB / 0.7033 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.6965, allocations: 1.171 MB / 0.7044 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.6965, allocations: 4.75 kB / 0.7044 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.6967, allocations: 1.062 kB / 0.7044 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.6967, allocations: 25.56 kB / 0.7045 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009442/0.7061, allocations: 5.274 MB / 0.7096 GB, free: 97.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.708, allocations: 1.137 MB / 0.7107 GB, free: 96.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7092, allocations: 0.7374 MB / 0.7114 GB, free: 96.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/0.7096, allocations: 0.7336 MB / 0.7122 GB, free: 95.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.711, allocations: 0.8722 MB / 0.713 GB, free: 95.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 3.246e-06/0.711, allocations: 3.938 kB / 0.713 GB, free: 95.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.0163/0.7273, allocations: 5.258 MB / 0.7181 GB, free: 90.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.7274, allocations: 120.2 kB / 0.7183 GB, free: 90.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.7289, allocations: 1.143 MB / 0.7194 GB, free: 89.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.7291, allocations: 29.69 kB / 0.7194 GB, free: 89.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.7293, allocations: 423.3 kB / 0.7198 GB, free: 89.03 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.7297, allocations: 461 kB / 0.7202 GB, free: 88.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.7299, allocations: 0 / 0.7202 GB, free: 88.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.7299, allocations: 361.9 kB / 0.7206 GB, free: 88.21 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009846/0.7309, allocations: 0.625 MB / 0.7212 GB, free: 87.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.732, allocations: 0.7973 MB / 0.722 GB, free: 86.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.7334, allocations: 0.7166 MB / 0.7227 GB, free: 86.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.7334, allocations: 0 / 0.7227 GB, free: 86.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003678/0.7371, allocations: 2.162 MB / 0.7248 GB, free: 83.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.7371, allocations: 4.031 kB / 0.7248 GB, free: 83.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.7371, allocations: 11.98 kB / 0.7248 GB, free: 83.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007996/0.7451, allocations: 2.368 MB / 0.7271 GB, free: 81.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7463, allocations: 243.6 kB / 0.7273 GB, free: 81.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.751, allocations: 2.529 MB / 0.7298 GB, free: 78.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.7532, allocations: 254.7 kB / 0.7301 GB, free: 78.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.7533, allocations: 51.98 kB / 0.7301 GB, free: 78.37 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * 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.0002686/0.7536, allocations: 136.7 kB / 0.7302 GB, free: 78.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.7539, allocations: 169.8 kB / 0.7304 GB, free: 78.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/0.7697, allocations: 5.42 MB / 0.7357 GB, free: 72.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.836e-05/0.7698, allocations: 16 kB / 0.7357 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.7698, allocations: 7.938 kB / 0.7357 GB, free: 72.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/0.7698, allocations: 7.969 kB / 0.7357 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.7883, allocations: 7.327 MB / 0.7429 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.7884, allocations: 0 / 0.7429 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7896, allocations: 175.8 kB / 0.7431 GB, free: 65.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006668/0.7963, allocations: 2.068 MB / 0.7451 GB, free: 62.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/0.7965, allocations: 11.98 kB / 0.7451 GB, free: 62.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.8141, allocations: 7.171 MB / 0.7521 GB, free: 55.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8142, allocations: 0 / 0.7521 GB, free: 55.69 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01711/0.8313, allocations: 6.383 MB / 0.7583 GB, free: 49.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.832, allocations: 286.5 kB / 0.7586 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006227/0.8326, allocations: 8 kB / 0.7586 GB, free: 48.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.8347, allocations: 179.8 kB / 0.7588 GB, free: 48.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003953/0.8351, allocations: 165 kB / 0.7589 GB, free: 48.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.8352, allocations: 39.98 kB / 0.759 GB, free: 48.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001066/0.8363, allocations: 0.8632 MB / 0.7598 GB, free: 47.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001424/0.8377, allocations: 495.1 kB / 0.7603 GB, free: 47.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003584/0.8381, allocations: 186.6 kB / 0.7605 GB, free: 47.06 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006941/0.8451, allocations: 2.516 MB / 0.7629 GB, free: 44.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8451, allocations: 4.125 kB / 0.7629 GB, free: 44.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00565/0.8507, allocations: 1.878 MB / 0.7648 GB, free: 42.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.8518, allocations: 113.4 kB / 0.7649 GB, free: 42.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.8576, allocations: 2.627 MB / 0.7674 GB, free: 39.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009622/0.8585, allocations: 1.406 MB / 0.7688 GB, free: 38.42 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8586, allocations: 0 / 0.7688 GB, free: 38.42 MB / 490.7 MB Notification: Performance of Templates: time 0.03307/0.8916, allocations: 24.99 MB / 0.7932 GB, free: 13.51 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)