Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.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 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.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A") [: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.003141/0.003141, allocations: 184.6 kB / 7.463 MB, free: 2.5 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.239/1.239, allocations: 221.4 MB / 229.3 MB, free: 3.141 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.0009929/0.0009929, allocations: 102.9 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5362/0.5362, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.682e-06/6.712e-06, allocations: 0 / 485.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.365, allocations: 69.51 MB / 0.5419 GB, free: 20.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.5074, allocations: 113.6 MB / 0.6528 GB, free: 6.379 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.5076, allocations: 87.95 kB / 0.6529 GB, free: 6.293 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3551/0.8627, allocations: 45.23 MB / 0.697 GB, free: 105.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000155/0.8629, allocations: 36.34 kB / 0.6971 GB, free: 105.2 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.006799/0.8697, allocations: 2.366 MB / 0.6994 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.8698, allocations: 9.281 kB / 0.6994 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/0.8738, allocations: 0.6095 MB / 0.7 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.8767, allocations: 1.177 MB / 0.7011 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/0.8773, allocations: 463.9 kB / 0.7016 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002755/0.8776, allocations: 73.81 kB / 0.7016 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002829/0.8804, allocations: 1.245 MB / 0.7029 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.8833, allocations: 1.257 MB / 0.7041 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.8833, allocations: 3.938 kB / 0.7041 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.8835, allocations: 2.969 kB / 0.7041 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.8835, allocations: 27.62 kB / 0.7041 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.8948, allocations: 5.339 MB / 0.7093 GB, free: 98.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.8971, allocations: 1.277 MB / 0.7106 GB, free: 97.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.8983, allocations: 0.7589 MB / 0.7113 GB, free: 97.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.8985, allocations: 29.27 kB / 0.7113 GB, free: 97.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001383/0.8998, allocations: 0.9228 MB / 0.7122 GB, free: 96.51 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 3.066e-06/0.8999, allocations: 3.938 kB / 0.7122 GB, free: 96.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01659/0.9164, allocations: 5.516 MB / 0.7176 GB, free: 91.33 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.9165, allocations: 179.5 kB / 0.7178 GB, free: 91.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.9185, allocations: 1.204 MB / 0.719 GB, free: 89.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003851/0.9189, allocations: 25.7 kB / 0.719 GB, free: 89.88 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.9191, allocations: 447.8 kB / 0.7194 GB, free: 89.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005975/0.9197, allocations: 492.6 kB / 0.7199 GB, free: 88.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.9199, allocations: 0 / 0.7199 GB, free: 88.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.718e-05/0.9199, allocations: 361.9 kB / 0.7202 GB, free: 88.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.921, allocations: 0.6445 MB / 0.7209 GB, free: 87.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.922, allocations: 0.8325 MB / 0.7217 GB, free: 87.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.9232, allocations: 0.7321 MB / 0.7224 GB, free: 86.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.9232, allocations: 4 kB / 0.7224 GB, free: 86.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.004002/0.9272, allocations: 2.334 MB / 0.7247 GB, free: 83.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.9275, allocations: 1.361 MB / 0.726 GB, free: 82.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9275, allocations: 4 kB / 0.726 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009627/0.9371, allocations: 2.784 MB / 0.7287 GB, free: 79.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.9382, allocations: 187.7 kB / 0.7289 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/0.9448, allocations: 3.286 MB / 0.7321 GB, free: 76.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.9478, allocations: 282.6 kB / 0.7324 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.948, allocations: 55.98 kB / 0.7325 GB, free: 75.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.948, allocations: 9.656 kB / 0.7325 GB, free: 75.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003476/0.9515, allocations: 2.081 MB / 0.7345 GB, free: 73.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9516, allocations: 4 kB / 0.7345 GB, free: 73.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008604/0.9602, allocations: 2.722 MB / 0.7372 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.9612, allocations: 187.8 kB / 0.7373 GB, free: 70.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005589/0.9668, allocations: 3.077 MB / 0.7403 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.9694, allocations: 254.8 kB / 0.7406 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.9696, allocations: 51.98 kB / 0.7406 GB, free: 67.49 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: eSST1A.VA0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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 61} Notification: Performance of prepare postOptimizeDAE: time 0.0003947/0.97, allocations: 128.5 kB / 0.7408 GB, free: 67.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/0.9703, allocations: 189.8 kB / 0.7409 GB, free: 67.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01624/0.9866, allocations: 5.698 MB / 0.7465 GB, free: 61.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/0.9866, allocations: 16 kB / 0.7465 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9867, allocations: 0 / 0.7465 GB, free: 61.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/0.9867, allocations: 7.969 kB / 0.7465 GB, free: 61.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/1.006, allocations: 7.733 MB / 0.7541 GB, free: 53.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.006, allocations: 0 / 0.7541 GB, free: 53.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.007, allocations: 171.8 kB / 0.7542 GB, free: 53.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007133/1.014, allocations: 2.221 MB / 0.7564 GB, free: 51.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003025/1.015, allocations: 15.98 kB / 0.7564 GB, free: 51.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01954/1.034, allocations: 9.302 MB / 0.7655 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.034, allocations: 4 kB / 0.7655 GB, free: 41.71 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01855/1.053, allocations: 6.747 MB / 0.7721 GB, free: 34.94 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/1.054, allocations: 298.5 kB / 0.7724 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/1.054, allocations: 8 kB / 0.7724 GB, free: 34.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.057, allocations: 211.8 kB / 0.7726 GB, free: 34.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004188/1.057, allocations: 161 kB / 0.7727 GB, free: 34.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.057, allocations: 39.98 kB / 0.7728 GB, free: 34.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001176/1.058, allocations: 0.9156 MB / 0.7737 GB, free: 33.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002195/1.06, allocations: 0.7873 MB / 0.7744 GB, free: 32.52 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 89 * 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 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004312/1.061, allocations: 170.1 kB / 0.7746 GB, free: 32.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01404/1.075, allocations: 4.597 MB / 0.7791 GB, free: 27.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.075, allocations: 0 / 0.7791 GB, free: 27.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006248/1.081, allocations: 2.022 MB / 0.7811 GB, free: 25.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.083, allocations: 126.6 kB / 0.7812 GB, free: 25.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/1.089, allocations: 2.821 MB / 0.7839 GB, free: 22.71 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009773/1.09, allocations: 1.449 MB / 0.7854 GB, free: 21.23 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/1.09, allocations: 0 / 0.7854 GB, free: 21.23 MB / 490.7 MB Notification: Performance of Templates: time 0.06001/1.15, allocations: 40.18 MB / 0.8246 GB, free: 13.13 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.pipe 2>&1)