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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") [: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.00387/0.00387, allocations: 186.9 kB / 7.456 MB, free: 2.238 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.354/1.354, allocations: 205.2 MB / 213.1 MB, free: 13.83 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.0008763/0.0008762, allocations: 102.2 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07791/0.07791, allocations: 12.6 MB / 321.6 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2765/0.2765, allocations: 78.05 MB / 450.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.005e-06, allocations: 4 kB / 0.5141 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 69.32 MB / 0.5818 GB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.5341, allocations: 110.5 MB / 0.6898 GB, free: 13.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5344, allocations: 89.86 kB / 0.6899 GB, free: 13.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1118/0.6462, allocations: 39.56 MB / 0.7285 GB, free: 13.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.6463, allocations: 31.94 kB / 0.7285 GB, free: 13.19 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.00624/0.6526, allocations: 2.073 MB / 0.7306 GB, free: 11.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6526, allocations: 11.97 kB / 0.7306 GB, free: 11.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.6562, allocations: 0.5748 MB / 0.7311 GB, free: 10.66 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.6584, allocations: 0.9626 MB / 0.7321 GB, free: 9.879 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004807/0.6589, allocations: 404.5 kB / 0.7325 GB, free: 9.418 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.6592, allocations: 56 kB / 0.7325 GB, free: 9.363 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002179/0.6613, allocations: 1.054 MB / 0.7335 GB, free: 8.727 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.6633, allocations: 1.045 MB / 0.7346 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.6634, allocations: 0 / 0.7346 GB, free: 8.004 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6635, allocations: 4 kB / 0.7346 GB, free: 8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.6635, allocations: 24 kB / 0.7346 GB, free: 7.977 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/0.6746, allocations: 4.684 MB / 0.7392 GB, free: 4.273 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.6774, allocations: 1.01 MB / 0.7402 GB, free: 3.629 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.6791, allocations: 0.6704 MB / 0.7408 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001925/0.6793, allocations: 20.86 kB / 0.7408 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/0.6813, allocations: 0.8131 MB / 0.7416 GB, free: 2.699 MB / 474.7 MB Notification: Performance of pre-optimization done (n=122): time 5.3e-06/0.6814, allocations: 0 / 0.7416 GB, free: 2.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=122): time 0.02533/0.7067, allocations: 5.169 MB / 0.7467 GB, free: 14.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.7068, allocations: 115.8 kB / 0.7468 GB, free: 13.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003551/0.7104, allocations: 1.033 MB / 0.7478 GB, free: 12.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000549/0.711, allocations: 25.7 kB / 0.7478 GB, free: 12.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004458/0.7115, allocations: 374.7 kB / 0.7482 GB, free: 12.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/0.7127, allocations: 421.8 kB / 0.7486 GB, free: 12.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.7129, allocations: 0 / 0.7486 GB, free: 12.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.7132, allocations: 349.9 kB / 0.7489 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.7146, allocations: 0.5494 MB / 0.7494 GB, free: 11.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.7167, allocations: 0.7076 MB / 0.7501 GB, free: 10.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.7188, allocations: 0.6193 MB / 0.7507 GB, free: 9.812 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.7189, allocations: 0 / 0.7507 GB, free: 9.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00695/0.7258, allocations: 2.007 MB / 0.7527 GB, free: 7.793 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.7259, allocations: 8 kB / 0.7527 GB, free: 7.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.7259, allocations: 4.281 kB / 0.7527 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01416/0.7401, allocations: 2.513 MB / 0.7552 GB, free: 5.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.7416, allocations: 159.8 kB / 0.7553 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009743/0.7514, allocations: 2.753 MB / 0.758 GB, free: 2.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.7552, allocations: 235 kB / 0.7582 GB, free: 2.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/0.7556, allocations: 39.98 kB / 0.7583 GB, free: 2.051 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.0006677/0.7563, allocations: 128.7 kB / 0.7584 GB, free: 1.918 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/0.7573, allocations: 150.1 kB / 0.7585 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02592/0.7833, allocations: 5.22 MB / 0.7636 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/0.7833, allocations: 16 kB / 0.7636 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.7834, allocations: 0 / 0.7636 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/0.7834, allocations: 3.984 kB / 0.7636 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02739/0.8108, allocations: 7.083 MB / 0.7706 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.8109, allocations: 0 / 0.7706 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.812, allocations: 135.8 kB / 0.7707 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007158/0.8192, allocations: 2.068 MB / 0.7727 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/0.8196, allocations: 8 kB / 0.7727 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01941/0.839, allocations: 7.168 MB / 0.7797 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8391, allocations: 4 kB / 0.7797 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01945/0.8586, allocations: 6.257 MB / 0.7858 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009722/0.8596, allocations: 270.8 kB / 0.7861 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007823/0.8604, allocations: 0 / 0.7861 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002386/0.8628, allocations: 175.8 kB / 0.7863 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006169/0.8635, allocations: 148.7 kB / 0.7864 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/0.8637, allocations: 39.98 kB / 0.7864 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001779/0.8655, allocations: 0.7961 MB / 0.7872 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002193/0.8677, allocations: 435.4 kB / 0.7876 GB, free: 3.656 MB / 0.5105 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.0005059/0.8682, allocations: 152.6 kB / 0.7878 GB, free: 3.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007974/0.8762, allocations: 2.371 MB / 0.7901 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.8763, allocations: 0 / 0.7901 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007004/0.8833, allocations: 1.8 MB / 0.7919 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.8851, allocations: 97.11 kB / 0.7919 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007705/0.8929, allocations: 2.298 MB / 0.7942 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/0.8946, allocations: 1.316 MB / 0.7955 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of SimCode: time 1.623e-06/0.8946, allocations: 0 / 0.7955 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.04147/0.9361, allocations: 23.12 MB / 0.8181 GB, free: 4.391 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)