Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) [: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.00451/0.00451, allocations: 178.6 kB / 7.457 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.382/1.382, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0009586/0.0009586, allocations: 101 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.493/0.493, allocations: 78.92 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1691/0.6621, allocations: 75.66 MB / 485.5 MB, free: 3.539 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/1.075, allocations: 69.51 MB / 0.542 GB, free: 20.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/1.218, allocations: 109.7 MB / 0.6491 GB, free: 10.18 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/1.219, allocations: 83.95 kB / 0.6492 GB, free: 10.1 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.4388/1.657, allocations: 41.19 MB / 0.6894 GB, free: 104.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.657, allocations: 7.344 kB / 0.6894 GB, free: 104.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00396/1.661, allocations: 0.5717 MB / 0.69 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/1.664, allocations: 0.9716 MB / 0.6909 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004578/1.664, allocations: 395.4 kB / 0.6913 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/1.665, allocations: 66.34 kB / 0.6913 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002256/1.667, allocations: 1.044 MB / 0.6924 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/1.669, allocations: 1.049 MB / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.669, allocations: 3.938 kB / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/1.669, allocations: 3.953 kB / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/1.669, allocations: 21.31 kB / 0.6934 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008963/1.678, allocations: 4.664 MB / 0.698 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.68, allocations: 1.008 MB / 0.699 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/1.681, allocations: 0.6817 MB / 0.6996 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/1.681, allocations: 23.58 kB / 0.6996 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/1.683, allocations: 0.8044 MB / 0.7004 GB, free: 99.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 5.761e-06/1.683, allocations: 0 / 0.7004 GB, free: 99.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.01781/1.7, allocations: 5.175 MB / 0.7055 GB, free: 98.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.701, allocations: 114.7 kB / 0.7056 GB, free: 98.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/1.703, allocations: 1.035 MB / 0.7066 GB, free: 98.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/1.703, allocations: 25.7 kB / 0.7066 GB, free: 98.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/1.704, allocations: 369 kB / 0.707 GB, free: 97.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000978/1.704, allocations: 427.1 kB / 0.7074 GB, free: 97.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/1.705, allocations: 6.219 kB / 0.7074 GB, free: 97.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/1.705, allocations: 350.4 kB / 0.7077 GB, free: 97.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.706, allocations: 0.5555 MB / 0.7083 GB, free: 96.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001316/1.707, allocations: 0.6979 MB / 0.7089 GB, free: 96.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/1.709, allocations: 0.6187 MB / 0.7096 GB, free: 96.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/1.709, allocations: 1.219 kB / 0.7096 GB, free: 96.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005038/1.714, allocations: 2.013 MB / 0.7115 GB, free: 95.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.714, allocations: 3.625 kB / 0.7115 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.714, allocations: 7.281 kB / 0.7115 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008787/1.723, allocations: 2.502 MB / 0.714 GB, free: 93.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008606/1.724, allocations: 158.7 kB / 0.7141 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005888/1.73, allocations: 2.749 MB / 0.7168 GB, free: 91.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002443/1.732, allocations: 241.6 kB / 0.717 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/1.733, allocations: 48.69 kB / 0.7171 GB, free: 91.03 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sEXS.V_erro.y:VARIABLE() "Connector of Real output signal" 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 (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 {34 31} Notification: Performance of prepare postOptimizeDAE: time 0.0003765/1.733, allocations: 121.1 kB / 0.7172 GB, free: 90.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/1.733, allocations: 154.6 kB / 0.7173 GB, free: 90.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.749, allocations: 5.212 MB / 0.7224 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/1.749, allocations: 16 kB / 0.7225 GB, free: 85.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.749, allocations: 0 / 0.7225 GB, free: 85.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/1.749, allocations: 11.97 kB / 0.7225 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.768, allocations: 7.076 MB / 0.7294 GB, free: 78.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/1.768, allocations: 0 / 0.7294 GB, free: 78.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.769, allocations: 147.8 kB / 0.7295 GB, free: 78.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0066/1.776, allocations: 2.068 MB / 0.7315 GB, free: 76.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003817/1.776, allocations: 11.98 kB / 0.7315 GB, free: 76.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/1.794, allocations: 7.16 MB / 0.7385 GB, free: 69.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.794, allocations: 0 / 0.7385 GB, free: 69.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01714/1.812, allocations: 6.253 MB / 0.7446 GB, free: 62.82 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01971/1.831, allocations: 7.551 MB / 0.752 GB, free: 55.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009323/1.832, allocations: 274.5 kB / 0.7523 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000798/1.833, allocations: 4 kB / 0.7523 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.835, allocations: 179.8 kB / 0.7525 GB, free: 54.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000473/1.836, allocations: 152.7 kB / 0.7526 GB, free: 54.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/1.836, allocations: 32 kB / 0.7526 GB, free: 54.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001199/1.837, allocations: 0.7844 MB / 0.7534 GB, free: 53.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002156/1.84, allocations: 455.2 kB / 0.7538 GB, free: 53.36 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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 78 * 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.000386/1.84, allocations: 158.7 kB / 0.754 GB, free: 53.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00704/1.847, allocations: 2.365 MB / 0.7563 GB, free: 50.83 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.847, allocations: 0 / 0.7563 GB, free: 50.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005588/1.853, allocations: 1.808 MB / 0.7581 GB, free: 49.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/1.854, allocations: 97.03 kB / 0.7582 GB, free: 48.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/1.861, allocations: 2.322 MB / 0.7604 GB, free: 46.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.862, allocations: 1.347 MB / 0.7617 GB, free: 45.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/1.862, allocations: 0 / 0.7617 GB, free: 45.21 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)