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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.003097/0.003097, allocations: 182.9 kB / 7.455 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.066/2.066, allocations: 221.4 MB / 229.3 MB, free: 3.43 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.0009593/0.0009592, allocations: 90.8 kB / 280.1 MB, free: 1.297 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4059/0.4059, allocations: 78.07 MB / 409 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-06/5.76e-06, allocations: 0 / 484.4 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2513, allocations: 69.35 MB / 0.5407 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.3773, allocations: 109 MB / 0.6472 GB, free: 11.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.3776, allocations: 79.95 kB / 0.6473 GB, free: 11.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2935/0.6711, allocations: 40.6 MB / 0.6869 GB, free: 105.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.869e-05/0.6712, allocations: 29.31 kB / 0.687 GB, free: 105.6 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.004843/0.676, allocations: 2.085 MB / 0.689 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.6761, allocations: 7.719 kB / 0.689 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003097/0.6792, allocations: 0.5759 MB / 0.6896 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6805, allocations: 0.959 MB / 0.6905 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.6809, allocations: 397.8 kB / 0.6909 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.681, allocations: 60.31 kB / 0.6909 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001737/0.6828, allocations: 1.05 MB / 0.692 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.6845, allocations: 1.054 MB / 0.693 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.6845, allocations: 0 / 0.693 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.6846, allocations: 0 / 0.693 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.6846, allocations: 23.12 kB / 0.693 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007368/0.692, allocations: 4.671 MB / 0.6976 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.6935, allocations: 1.013 MB / 0.6986 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008585/0.6943, allocations: 0.6734 MB / 0.6992 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.6945, allocations: 19.47 kB / 0.6992 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.6956, allocations: 0.8097 MB / 0.7 GB, free: 100.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 2.806e-06/0.6956, allocations: 0 / 0.7 GB, free: 100.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=122): time 0.01723/0.7129, allocations: 5.174 MB / 0.7051 GB, free: 99.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.7129, allocations: 121.6 kB / 0.7052 GB, free: 98.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.7144, allocations: 1.032 MB / 0.7062 GB, free: 98.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.7146, allocations: 29.23 kB / 0.7062 GB, free: 98.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.7147, allocations: 367.8 kB / 0.7066 GB, free: 98.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004901/0.7152, allocations: 419.1 kB / 0.707 GB, free: 97.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.7153, allocations: 0 / 0.707 GB, free: 97.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.358e-05/0.7154, allocations: 353.5 kB / 0.7073 GB, free: 97.51 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.7164, allocations: 0.5547 MB / 0.7079 GB, free: 97.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.7176, allocations: 0.7019 MB / 0.7085 GB, free: 96.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.719, allocations: 0.6208 MB / 0.7092 GB, free: 96.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.719, allocations: 1.438 kB / 0.7092 GB, free: 96.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004057/0.7231, allocations: 2.007 MB / 0.7111 GB, free: 95.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7231, allocations: 8.531 kB / 0.7111 GB, free: 95.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7231, allocations: 3.375 kB / 0.7111 GB, free: 95.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00868/0.7318, allocations: 2.509 MB / 0.7136 GB, free: 94.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.7326, allocations: 154.7 kB / 0.7137 GB, free: 94.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/0.7381, allocations: 2.748 MB / 0.7164 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.7402, allocations: 233.6 kB / 0.7166 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.7404, allocations: 48.73 kB / 0.7167 GB, free: 91.62 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.0002996/0.7407, allocations: 126.6 kB / 0.7168 GB, free: 91.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.741, allocations: 154.6 kB / 0.7169 GB, free: 91.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/0.7563, allocations: 5.207 MB / 0.722 GB, free: 86.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.7563, allocations: 13.75 kB / 0.722 GB, free: 86.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7563, allocations: 0 / 0.722 GB, free: 86.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.7564, allocations: 7.969 kB / 0.7221 GB, free: 86.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.7741, allocations: 7.078 MB / 0.729 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.371e-06/0.7741, allocations: 3.938 kB / 0.729 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/0.7751, allocations: 135.9 kB / 0.7291 GB, free: 79.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006601/0.7817, allocations: 2.071 MB / 0.7311 GB, free: 77.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.7818, allocations: 8 kB / 0.7311 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01723/0.7991, allocations: 7.169 MB / 0.7381 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7991, allocations: 0 / 0.7381 GB, free: 69.88 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01686/0.816, allocations: 6.245 MB / 0.7442 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/0.8165, allocations: 270.8 kB / 0.7445 GB, free: 63.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.8168, allocations: 15.78 kB / 0.7445 GB, free: 63.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.8186, allocations: 171.9 kB / 0.7447 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.819, allocations: 144.7 kB / 0.7448 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.8191, allocations: 39.98 kB / 0.7448 GB, free: 62.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009495/0.8201, allocations: 0.7921 MB / 0.7456 GB, free: 62.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001156/0.8212, allocations: 439.4 kB / 0.746 GB, free: 61.74 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.0003262/0.8216, allocations: 162.6 kB / 0.7462 GB, free: 61.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007086/0.8287, allocations: 2.366 MB / 0.7485 GB, free: 59.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8287, allocations: 4.062 kB / 0.7485 GB, free: 59.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005435/0.8341, allocations: 1.807 MB / 0.7503 GB, free: 57.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.835, allocations: 103.4 kB / 0.7504 GB, free: 57.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.8397, allocations: 2.301 MB / 0.7526 GB, free: 54.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/0.8406, allocations: 1.323 MB / 0.7539 GB, free: 53.64 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/0.8406, allocations: 0 / 0.7539 GB, free: 53.64 MB / 490.7 MB Notification: Performance of Templates: time 0.03111/0.8717, allocations: 23.11 MB / 0.7765 GB, free: 30.68 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)