Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") [: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.002438/0.002438, allocations: 182.2 kB / 7.451 MB, free: 2.316 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.193/1.193, allocations: 221.4 MB / 229.3 MB, free: 3.121 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.00103/0.001029, allocations: 101.5 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.406/0.406, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.983e-06, allocations: 0 / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.401, allocations: 69.35 MB / 0.5407 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1985/0.5996, allocations: 110 MB / 0.6481 GB, free: 10.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004851/0.6001, allocations: 91.94 kB / 0.6482 GB, free: 10.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.4679/1.068, allocations: 41.25 MB / 0.6885 GB, free: 105.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001114/1.068, allocations: 24.62 kB / 0.6885 GB, free: 105.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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.008268/1.077, allocations: 2.115 MB / 0.6906 GB, free: 105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/1.077, allocations: 10.62 kB / 0.6906 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00613/1.083, allocations: 0.5802 MB / 0.6911 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/1.085, allocations: 0.9877 MB / 0.6921 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000529/1.086, allocations: 403.8 kB / 0.6925 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/1.086, allocations: 64.53 kB / 0.6926 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003109/1.089, allocations: 1.079 MB / 0.6936 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002947/1.092, allocations: 1.081 MB / 0.6947 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/1.092, allocations: 0 / 0.6947 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/1.092, allocations: 3.969 kB / 0.6947 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/1.093, allocations: 23.47 kB / 0.6947 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/1.104, allocations: 4.813 MB / 0.6994 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/1.107, allocations: 1.025 MB / 0.7004 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/1.109, allocations: 0.6782 MB / 0.7011 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001891/1.109, allocations: 22.22 kB / 0.7011 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002148/1.111, allocations: 0.8313 MB / 0.7019 GB, free: 99.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=125): time 6.262e-06/1.111, allocations: 0 / 0.7019 GB, free: 99.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=125): time 0.02818/1.14, allocations: 5.115 MB / 0.7069 GB, free: 98.74 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/1.14, allocations: 120.6 kB / 0.707 GB, free: 98.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/1.143, allocations: 1.04 MB / 0.708 GB, free: 98.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000388/1.143, allocations: 26.31 kB / 0.708 GB, free: 98.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/1.143, allocations: 388.7 kB / 0.7084 GB, free: 97.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009232/1.144, allocations: 430.4 kB / 0.7088 GB, free: 97.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.145, allocations: 0 / 0.7088 GB, free: 97.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/1.145, allocations: 351.4 kB / 0.7092 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001953/1.147, allocations: 0.5606 MB / 0.7097 GB, free: 96.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/1.149, allocations: 0.7235 MB / 0.7104 GB, free: 96.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/1.151, allocations: 0.6222 MB / 0.711 GB, free: 96.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.151, allocations: 1.469 kB / 0.711 GB, free: 96.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.007847/1.159, allocations: 2.063 MB / 0.713 GB, free: 95.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/1.159, allocations: 5.844 kB / 0.713 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.159, allocations: 9.375 kB / 0.7131 GB, free: 95.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01518/1.174, allocations: 2.571 MB / 0.7156 GB, free: 93.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/1.176, allocations: 155.7 kB / 0.7157 GB, free: 93.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00983/1.186, allocations: 2.857 MB / 0.7185 GB, free: 90.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/1.189, allocations: 234.9 kB / 0.7187 GB, free: 89.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/1.19, allocations: 47.98 kB / 0.7188 GB, free: 89.89 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sCRX.ECOMP0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {34 41} Notification: Performance of prepare postOptimizeDAE: time 0.0006042/1.19, allocations: 129 kB / 0.7189 GB, free: 89.76 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007203/1.191, allocations: 158 kB / 0.719 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02657/1.218, allocations: 5.314 MB / 0.7242 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/1.218, allocations: 12 kB / 0.7242 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.218, allocations: 0 / 0.7242 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-05/1.218, allocations: 7.969 kB / 0.7243 GB, free: 84.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03047/1.248, allocations: 7.098 MB / 0.7312 GB, free: 77.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.248, allocations: 0 / 0.7312 GB, free: 77.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.25, allocations: 139.8 kB / 0.7313 GB, free: 76.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.261, allocations: 2.068 MB / 0.7333 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.261, allocations: 11.98 kB / 0.7333 GB, free: 74.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02749/1.288, allocations: 7.175 MB / 0.7404 GB, free: 67.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.289, allocations: 5.25 kB / 0.7404 GB, free: 67.63 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02576/1.314, allocations: 6.235 MB / 0.7464 GB, free: 61.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000707/1.315, allocations: 266.8 kB / 0.7467 GB, free: 61.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/1.316, allocations: 4 kB / 0.7467 GB, free: 61.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/1.318, allocations: 175.8 kB / 0.7469 GB, free: 60.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005463/1.319, allocations: 153 kB / 0.747 GB, free: 60.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/1.319, allocations: 35.98 kB / 0.7471 GB, free: 60.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001498/1.32, allocations: 0.7969 MB / 0.7478 GB, free: 59.92 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001914/1.322, allocations: 451.2 kB / 0.7483 GB, free: 59.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 81 * 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.0004375/1.323, allocations: 162.7 kB / 0.7484 GB, free: 59.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01046/1.333, allocations: 2.384 MB / 0.7507 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.333, allocations: 4.062 kB / 0.7508 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008441/1.342, allocations: 1.824 MB / 0.7525 GB, free: 55.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.343, allocations: 100 kB / 0.7526 GB, free: 55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00834/1.352, allocations: 2.349 MB / 0.7549 GB, free: 52.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.353, allocations: 1.335 MB / 0.7562 GB, free: 51.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/1.353, allocations: 0 / 0.7562 GB, free: 51.29 MB / 490.7 MB Notification: Performance of Templates: time 0.05648/1.409, allocations: 23.5 MB / 0.7792 GB, free: 27.91 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)