Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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: translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") [: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.002379/0.002379, allocations: 183.1 kB / 7.461 MB, free: 2.5 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.166/1.166, allocations: 221.4 MB / 229.3 MB, free: 3.168 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.0009981/0.0009981, allocations: 104.7 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.4313/0.4313, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.264e-06, allocations: 4 kB / 485.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3451, allocations: 69.5 MB / 0.5419 GB, free: 20.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.4804, allocations: 110.6 MB / 0.6499 GB, free: 9.297 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.4808, allocations: 87.95 kB / 0.65 GB, free: 9.211 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3392/0.82, allocations: 40.7 MB / 0.6897 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.815e-05/0.8201, allocations: 31.06 kB / 0.6898 GB, free: 105.7 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.005065/0.8252, allocations: 2.154 MB / 0.6919 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.8252, allocations: 7.5 kB / 0.6919 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/0.8284, allocations: 0.5822 MB / 0.6924 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.83, allocations: 1.025 MB / 0.6934 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.8304, allocations: 403.2 kB / 0.6938 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.8306, allocations: 65.53 kB / 0.6939 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/0.8326, allocations: 1.097 MB / 0.695 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.8343, allocations: 1.088 MB / 0.696 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.8343, allocations: 3.969 kB / 0.696 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.8345, allocations: 7.938 kB / 0.696 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.8345, allocations: 23.41 kB / 0.6961 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008562/0.8431, allocations: 4.829 MB / 0.7008 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.8451, allocations: 1.095 MB / 0.7018 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.8462, allocations: 0.6938 MB / 0.7025 GB, free: 99.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.8464, allocations: 29.92 kB / 0.7025 GB, free: 99.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.8478, allocations: 0.84 MB / 0.7034 GB, free: 99.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 3.186e-06/0.8478, allocations: 0 / 0.7034 GB, free: 99.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01696/0.8648, allocations: 5.153 MB / 0.7084 GB, free: 98.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.8648, allocations: 143.3 kB / 0.7085 GB, free: 98.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8667, allocations: 1.094 MB / 0.7096 GB, free: 97.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002567/0.867, allocations: 27.02 kB / 0.7096 GB, free: 97.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.8672, allocations: 381.8 kB / 0.71 GB, free: 97.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005101/0.8678, allocations: 434.1 kB / 0.7104 GB, free: 97.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.973e-05/0.8679, allocations: 0 / 0.7104 GB, free: 97.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.8679, allocations: 351.3 kB / 0.7107 GB, free: 96.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.869, allocations: 0.5689 MB / 0.7113 GB, free: 96.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.87, allocations: 0.7355 MB / 0.712 GB, free: 96.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.8712, allocations: 0.6276 MB / 0.7126 GB, free: 95.82 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.8713, allocations: 1.062 kB / 0.7126 GB, free: 95.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003597/0.8749, allocations: 2.008 MB / 0.7146 GB, free: 93.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.8751, allocations: 1.353 MB / 0.7159 GB, free: 92.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.8751, allocations: 4 kB / 0.7159 GB, free: 92.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007713/0.8828, allocations: 2.361 MB / 0.7182 GB, free: 90.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/0.8838, allocations: 199.7 kB / 0.7184 GB, free: 89.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.8884, allocations: 2.52 MB / 0.7209 GB, free: 87.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.8905, allocations: 257.4 kB / 0.7211 GB, free: 87.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.8907, allocations: 47.98 kB / 0.7212 GB, free: 87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.8907, allocations: 4 kB / 0.7212 GB, free: 86.99 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/0.8939, allocations: 1.807 MB / 0.7229 GB, free: 85.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8939, allocations: 4.438 kB / 0.7229 GB, free: 85.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007665/0.9016, allocations: 2.364 MB / 0.7252 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/0.9025, allocations: 191.7 kB / 0.7254 GB, free: 82.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.9072, allocations: 2.527 MB / 0.7279 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/0.9095, allocations: 246.9 kB / 0.7281 GB, free: 79.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.9096, allocations: 47.98 kB / 0.7282 GB, free: 79.79 MB / 490.7 MB 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 (101): * Single equations (assignments): 100 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.9099, allocations: 124.6 kB / 0.7283 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.9103, allocations: 161.9 kB / 0.7284 GB, free: 79.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/0.9252, allocations: 5.274 MB / 0.7336 GB, free: 74.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.9253, allocations: 15.98 kB / 0.7336 GB, free: 74.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.9253, allocations: 11.94 kB / 0.7336 GB, free: 74.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.763e-05/0.9253, allocations: 3.984 kB / 0.7336 GB, free: 74.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.9431, allocations: 7.205 MB / 0.7407 GB, free: 66.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.9432, allocations: 0 / 0.7407 GB, free: 66.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.9442, allocations: 151.8 kB / 0.7408 GB, free: 66.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006358/0.9506, allocations: 2.06 MB / 0.7428 GB, free: 64.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.9508, allocations: 11.98 kB / 0.7428 GB, free: 64.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.9673, allocations: 7.161 MB / 0.7498 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9673, allocations: 0 / 0.7498 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01646/0.9838, allocations: 6.297 MB / 0.756 GB, free: 51.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.9844, allocations: 278.7 kB / 0.7562 GB, free: 50.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.9847, allocations: 8 kB / 0.7562 GB, free: 50.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.9866, allocations: 191.8 kB / 0.7564 GB, free: 50.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003775/0.987, allocations: 153 kB / 0.7566 GB, free: 50.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.9871, allocations: 35.98 kB / 0.7566 GB, free: 50.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009673/0.9881, allocations: 0.8372 MB / 0.7574 GB, free: 49.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001589/0.9897, allocations: 0.6978 MB / 0.7581 GB, free: 48.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 12 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1],sEXS.transferFunction.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 (83): * Single equations (assignments): 82 * 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.0003092/0.99, allocations: 154.5 kB / 0.7583 GB, free: 48.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01239/1.002, allocations: 4.167 MB / 0.7623 GB, free: 44.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/1.002, allocations: 4.125 kB / 0.7623 GB, free: 44.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00547/1.008, allocations: 1.827 MB / 0.7641 GB, free: 42.76 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/1.009, allocations: 105.7 kB / 0.7642 GB, free: 42.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/1.014, allocations: 2.519 MB / 0.7667 GB, free: 40.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008713/1.015, allocations: 1.359 MB / 0.768 GB, free: 38.75 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/1.015, allocations: 0 / 0.768 GB, free: 38.75 MB / 490.7 MB Notification: Performance of Templates: time 0.04318/1.058, allocations: 35.31 MB / 0.8025 GB, free: 3.535 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)