Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002993/0.002993, allocations: 177.5 kB / 7.454 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.222/1.222, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009827/0.0009827, allocations: 95.84 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06852/0.06852, allocations: 12.2 MB / 321.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.277/0.277, allocations: 78.05 MB / 449.9 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2595/0.5365, allocations: 76.1 MB / 0.5137 GB, free: 30.29 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.6662, allocations: 69.23 MB / 0.5813 GB, free: 9.164 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/1.05, allocations: 110.5 MB / 0.6892 GB, free: 14.51 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.051, allocations: 82.14 kB / 0.6893 GB, free: 14.46 MB / 442.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.1189/1.17, allocations: 41.67 MB / 0.73 GB, free: 12.05 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.17, allocations: 11.94 kB / 0.73 GB, free: 12.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/1.173, allocations: 0.5788 MB / 0.7305 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/1.176, allocations: 0.9642 MB / 0.7315 GB, free: 10.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005206/1.176, allocations: 396.2 kB / 0.7319 GB, free: 10.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003899/1.177, allocations: 59.91 kB / 0.7319 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002291/1.179, allocations: 1.051 MB / 0.7329 GB, free: 9.574 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002138/1.181, allocations: 1.042 MB / 0.734 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.181, allocations: 0 / 0.734 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/1.181, allocations: 0 / 0.734 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/1.181, allocations: 27.94 kB / 0.734 GB, free: 8.824 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009482/1.191, allocations: 4.688 MB / 0.7386 GB, free: 5.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/1.193, allocations: 1.013 MB / 0.7395 GB, free: 4.469 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/1.194, allocations: 0.6706 MB / 0.7402 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/1.194, allocations: 28.84 kB / 0.7402 GB, free: 4.078 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/1.195, allocations: 0.8031 MB / 0.741 GB, free: 3.539 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 3.838e-06/1.195, allocations: 0 / 0.741 GB, free: 3.539 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.0178/1.213, allocations: 5.177 MB / 0.7461 GB, free: 14.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/1.213, allocations: 115.8 kB / 0.7462 GB, free: 14.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002485/1.216, allocations: 1.033 MB / 0.7472 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000375/1.216, allocations: 25.7 kB / 0.7472 GB, free: 13.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003547/1.217, allocations: 374.6 kB / 0.7476 GB, free: 13.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008756/1.217, allocations: 413.8 kB / 0.748 GB, free: 12.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.218, allocations: 0 / 0.748 GB, free: 12.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/1.218, allocations: 358 kB / 0.7483 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.219, allocations: 0.5494 MB / 0.7488 GB, free: 12.04 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/1.221, allocations: 0.7075 MB / 0.7495 GB, free: 11.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/1.222, allocations: 0.6194 MB / 0.7501 GB, free: 10.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.222, allocations: 0 / 0.7501 GB, free: 10.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005208/1.227, allocations: 2.007 MB / 0.7521 GB, free: 8.645 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.227, allocations: 4 kB / 0.7521 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/1.227, allocations: 4 kB / 0.7521 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009377/1.237, allocations: 2.509 MB / 0.7546 GB, free: 6.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/1.238, allocations: 159.7 kB / 0.7547 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006931/1.245, allocations: 2.757 MB / 0.7574 GB, free: 3.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/1.247, allocations: 227 kB / 0.7576 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/1.248, allocations: 51.98 kB / 0.7577 GB, free: 2.906 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.0004479/1.248, allocations: 126.4 kB / 0.7578 GB, free: 2.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006107/1.249, allocations: 158 kB / 0.7579 GB, free: 2.621 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01708/1.266, allocations: 5.208 MB / 0.763 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/1.266, allocations: 15.98 kB / 0.763 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.266, allocations: 0 / 0.763 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/1.266, allocations: 15.97 kB / 0.7631 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02168/1.288, allocations: 7.061 MB / 0.77 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.288, allocations: 0 / 0.77 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.289, allocations: 147.8 kB / 0.7701 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00727/1.296, allocations: 2.068 MB / 0.7721 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/1.296, allocations: 11.98 kB / 0.7721 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/1.316, allocations: 7.16 MB / 0.7791 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.317, allocations: 0 / 0.7791 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01918/1.336, allocations: 6.253 MB / 0.7852 GB, free: 6.391 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02094/1.357, allocations: 7.556 MB / 0.7926 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/1.357, allocations: 266.8 kB / 0.7929 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005989/1.358, allocations: 7.984 kB / 0.7929 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.36, allocations: 175.9 kB / 0.793 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004883/1.361, allocations: 152.6 kB / 0.7932 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.361, allocations: 35.98 kB / 0.7932 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001492/1.362, allocations: 0.7844 MB / 0.794 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002225/1.365, allocations: 447.4 kB / 0.7944 GB, free: 12.92 MB / 0.5261 GB 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.0005588/1.365, allocations: 170.9 kB / 0.7946 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007813/1.373, allocations: 2.368 MB / 0.7969 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.373, allocations: 0 / 0.7969 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006032/1.379, allocations: 1.8 MB / 0.7986 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.38, allocations: 93.05 kB / 0.7987 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/1.386, allocations: 2.314 MB / 0.801 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.387, allocations: 1.355 MB / 0.8023 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/1.387, allocations: 0 / 0.8023 GB, free: 4.719 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_SEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)