Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") [: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.002061/0.002061, allocations: 179.7 kB / 7.455 MB, free: 2.34 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.309/1.309, allocations: 221.4 MB / 229.3 MB, free: 3.094 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.001005/0.001005, allocations: 105.2 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4443/0.4443, allocations: 78.06 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.633e-06/6.663e-06, allocations: 0 / 484.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.263, allocations: 69.35 MB / 0.5407 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1224/0.3855, allocations: 115.4 MB / 0.6534 GB, free: 5.461 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.3858, allocations: 83.94 kB / 0.6535 GB, free: 5.379 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3273/0.7131, allocations: 48.57 MB / 0.701 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001804/0.7133, allocations: 34.78 kB / 0.701 GB, free: 104.9 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.008049/0.7214, allocations: 2.347 MB / 0.7033 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.7214, allocations: 9 kB / 0.7033 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/0.7258, allocations: 0.614 MB / 0.7039 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003333/0.7292, allocations: 1.155 MB / 0.705 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005464/0.7297, allocations: 467.4 kB / 0.7055 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004141/0.7302, allocations: 80.06 kB / 0.7055 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002716/0.7329, allocations: 1.191 MB / 0.7067 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.7355, allocations: 1.221 MB / 0.7079 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.7356, allocations: 0 / 0.7079 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/0.7357, allocations: 0 / 0.7079 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/0.7358, allocations: 27.06 kB / 0.7079 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.7464, allocations: 5.42 MB / 0.7132 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.7484, allocations: 1.206 MB / 0.7144 GB, free: 95.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.7494, allocations: 0.7445 MB / 0.7151 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.7499, allocations: 0.7336 MB / 0.7158 GB, free: 93.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.7513, allocations: 0.8929 MB / 0.7167 GB, free: 92.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.988e-06/0.7513, allocations: 4 kB / 0.7167 GB, free: 92.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01655/0.7678, allocations: 5.337 MB / 0.7219 GB, free: 87.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.7679, allocations: 149.8 kB / 0.7221 GB, free: 87.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.7696, allocations: 1.156 MB / 0.7232 GB, free: 86.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.7698, allocations: 29.7 kB / 0.7232 GB, free: 86.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/0.77, allocations: 427.6 kB / 0.7236 GB, free: 85.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005686/0.7706, allocations: 484.7 kB / 0.7241 GB, free: 85.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.7707, allocations: 0 / 0.7241 GB, free: 85.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.7708, allocations: 365.9 kB / 0.7244 GB, free: 84.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.7719, allocations: 0.6328 MB / 0.7251 GB, free: 84.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.773, allocations: 0.8217 MB / 0.7259 GB, free: 83.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.7744, allocations: 0.7244 MB / 0.7266 GB, free: 82.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7744, allocations: 0 / 0.7266 GB, free: 82.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004399/0.7788, allocations: 2.291 MB / 0.7288 GB, free: 80.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.779, allocations: 1.542 MB / 0.7303 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.779, allocations: 4 kB / 0.7303 GB, free: 78.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008478/0.7875, allocations: 2.463 MB / 0.7327 GB, free: 76.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.7887, allocations: 235.6 kB / 0.7329 GB, free: 75.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005378/0.7941, allocations: 3.207 MB / 0.7361 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.7966, allocations: 266.7 kB / 0.7363 GB, free: 72.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.7969, allocations: 55.98 kB / 0.7364 GB, free: 72.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.7969, allocations: 7.906 kB / 0.7364 GB, free: 72.37 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004283/0.8012, allocations: 2.073 MB / 0.7384 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8012, allocations: 4 kB / 0.7384 GB, free: 70.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008404/0.8096, allocations: 2.467 MB / 0.7408 GB, free: 67.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.8108, allocations: 223.7 kB / 0.741 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00535/0.8161, allocations: 3.197 MB / 0.7442 GB, free: 64.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.8186, allocations: 254.8 kB / 0.7444 GB, free: 64.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/0.8188, allocations: 55.98 kB / 0.7445 GB, free: 64.04 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: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.8192, allocations: 124.7 kB / 0.7446 GB, free: 63.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004021/0.8196, allocations: 177.8 kB / 0.7448 GB, free: 63.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01632/0.8359, allocations: 5.378 MB / 0.75 GB, free: 58.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.836, allocations: 16 kB / 0.75 GB, free: 58.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.836, allocations: 4 kB / 0.75 GB, free: 58.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.836, allocations: 11.88 kB / 0.75 GB, free: 58.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/0.8548, allocations: 7.406 MB / 0.7573 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.8548, allocations: 0 / 0.7573 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/0.8561, allocations: 191.8 kB / 0.7575 GB, free: 50.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006744/0.8628, allocations: 2.072 MB / 0.7595 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001987/0.863, allocations: 11.98 kB / 0.7595 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.8806, allocations: 7.172 MB / 0.7665 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8806, allocations: 0 / 0.7665 GB, free: 41.32 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01776/0.8984, allocations: 6.488 MB / 0.7728 GB, free: 34.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/0.8991, allocations: 290.5 kB / 0.7731 GB, free: 34.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006292/0.8998, allocations: 11.94 kB / 0.7731 GB, free: 34.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/0.902, allocations: 199.8 kB / 0.7733 GB, free: 34.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/0.9025, allocations: 184.9 kB / 0.7735 GB, free: 34.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.9027, allocations: 36 kB / 0.7735 GB, free: 34.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001297/0.904, allocations: 0.8795 MB / 0.7744 GB, free: 33.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002326/0.9063, allocations: 0.7756 MB / 0.7751 GB, free: 32.43 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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.0004329/0.9068, allocations: 178.7 kB / 0.7753 GB, free: 32.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01366/0.9204, allocations: 4.479 MB / 0.7797 GB, free: 27.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9205, allocations: 0 / 0.7797 GB, free: 27.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005815/0.9263, allocations: 1.902 MB / 0.7815 GB, free: 25.86 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.9276, allocations: 112.4 kB / 0.7816 GB, free: 25.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/0.935, allocations: 2.794 MB / 0.7844 GB, free: 22.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.9363, allocations: 1.433 MB / 0.7858 GB, free: 21.45 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/0.9363, allocations: 4 kB / 0.7858 GB, free: 21.45 MB / 490.7 MB Notification: Performance of Templates: time 0.06128/0.9976, allocations: 39.04 MB / 0.8239 GB, free: 14.5 MB / 0.5105 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)