Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_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.003769/0.003769, allocations: 183.7 kB / 7.459 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.351/1.351, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.000959/0.000959, allocations: 96.23 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4512/0.4512, allocations: 78.05 MB / 408.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2237/0.675, allocations: 75.5 MB / 484.4 MB, free: 4.316 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/1.043, allocations: 69.34 MB / 0.5408 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/1.186, allocations: 109 MB / 0.6473 GB, free: 11.71 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.186, allocations: 87.94 kB / 0.6474 GB, free: 11.63 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.3805/1.567, allocations: 42.72 MB / 0.6891 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.567, allocations: 7.812 kB / 0.6891 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005978/1.573, allocations: 0.5698 MB / 0.6897 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/1.576, allocations: 0.9621 MB / 0.6906 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006392/1.577, allocations: 402.2 kB / 0.691 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005685/1.578, allocations: 57.81 kB / 0.691 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003541/1.581, allocations: 1.05 MB / 0.6921 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/1.583, allocations: 1.048 MB / 0.6931 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.583, allocations: 5.094 kB / 0.6931 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.584, allocations: 4 kB / 0.6931 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/1.584, allocations: 23.72 kB / 0.6931 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009103/1.593, allocations: 4.676 MB / 0.6977 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/1.594, allocations: 1.01 MB / 0.6987 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009235/1.595, allocations: 0.6675 MB / 0.6993 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/1.596, allocations: 23.77 kB / 0.6993 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/1.597, allocations: 0.8112 MB / 0.7001 GB, free: 100.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 1.111e-05/1.597, allocations: 0 / 0.7001 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.01756/1.615, allocations: 5.168 MB / 0.7052 GB, free: 99.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/1.615, allocations: 116.2 kB / 0.7053 GB, free: 98.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/1.617, allocations: 1.034 MB / 0.7063 GB, free: 98.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000416/1.617, allocations: 33.67 kB / 0.7063 GB, free: 98.39 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/1.618, allocations: 366.8 kB / 0.7067 GB, free: 98.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007509/1.618, allocations: 419.5 kB / 0.7071 GB, free: 97.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/1.619, allocations: 0 / 0.7071 GB, free: 97.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.896e-05/1.619, allocations: 350.1 kB / 0.7074 GB, free: 97.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/1.62, allocations: 0.5525 MB / 0.708 GB, free: 97.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/1.621, allocations: 0.7111 MB / 0.7086 GB, free: 96.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/1.623, allocations: 0.6136 MB / 0.7092 GB, free: 96.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.623, allocations: 1.094 kB / 0.7092 GB, free: 96.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004807/1.627, allocations: 2.007 MB / 0.7112 GB, free: 95.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.628, allocations: 8.719 kB / 0.7112 GB, free: 95.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/1.628, allocations: 3.312 kB / 0.7112 GB, free: 95.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008638/1.636, allocations: 2.508 MB / 0.7137 GB, free: 94.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/1.637, allocations: 162.7 kB / 0.7138 GB, free: 94.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/1.643, allocations: 2.74 MB / 0.7165 GB, free: 91.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002376/1.645, allocations: 241.5 kB / 0.7167 GB, free: 91.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/1.645, allocations: 44.59 kB / 0.7168 GB, free: 91.51 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.0005462/1.646, allocations: 130.1 kB / 0.7169 GB, free: 91.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007219/1.646, allocations: 154.5 kB / 0.717 GB, free: 91.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01542/1.662, allocations: 5.216 MB / 0.7221 GB, free: 86.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.393e-05/1.662, allocations: 12 kB / 0.7222 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/1.662, allocations: 0 / 0.7222 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-05/1.662, allocations: 7.969 kB / 0.7222 GB, free: 86.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/1.681, allocations: 7.077 MB / 0.7291 GB, free: 79.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/1.681, allocations: 3.984 kB / 0.7291 GB, free: 79.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/1.682, allocations: 135.8 kB / 0.7292 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006419/1.688, allocations: 2.064 MB / 0.7312 GB, free: 77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/1.688, allocations: 11.98 kB / 0.7312 GB, free: 76.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01726/1.706, allocations: 7.171 MB / 0.7382 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.706, allocations: 4 kB / 0.7382 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01755/1.723, allocations: 6.24 MB / 0.7443 GB, free: 63.46 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01986/1.743, allocations: 7.564 MB / 0.7517 GB, free: 55.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/1.744, allocations: 266.8 kB / 0.752 GB, free: 55.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005965/1.745, allocations: 7.984 kB / 0.752 GB, free: 55.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.747, allocations: 171.9 kB / 0.7521 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005102/1.747, allocations: 144.7 kB / 0.7523 GB, free: 55.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.747, allocations: 35.98 kB / 0.7523 GB, free: 55.23 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001283/1.749, allocations: 0.7961 MB / 0.7531 GB, free: 54.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002198/1.751, allocations: 451.3 kB / 0.7535 GB, free: 53.99 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.0004488/1.751, allocations: 157.6 kB / 0.7537 GB, free: 53.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007099/1.759, allocations: 2.369 MB / 0.756 GB, free: 51.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.759, allocations: 0 / 0.756 GB, free: 51.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005687/1.764, allocations: 1.815 MB / 0.7578 GB, free: 49.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/1.766, allocations: 89.05 kB / 0.7578 GB, free: 49.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/1.773, allocations: 2.317 MB / 0.7601 GB, free: 47.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/1.774, allocations: 1.347 MB / 0.7614 GB, free: 45.86 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/1.774, allocations: 3.938 kB / 0.7614 GB, free: 45.85 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)