Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS") translateModel(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002066/0.002066, allocations: 175.6 kB / 7.451 MB, free: 2.504 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.212/1.212, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0009567/0.0009567, allocations: 94.12 kB / 280.1 MB, free: 1.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4131/0.4131, allocations: 78.04 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.701e-06/5.801e-06, allocations: 0 / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2688, allocations: 69.34 MB / 0.5407 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.3941, allocations: 110 MB / 0.6481 GB, free: 10.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.3944, allocations: 83.95 kB / 0.6482 GB, free: 10.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3242/0.7186, allocations: 42.23 MB / 0.6894 GB, free: 105.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.476e-05/0.7187, allocations: 38.23 kB / 0.6895 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.005283/0.724, allocations: 2.157 MB / 0.6916 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.724, allocations: 7.938 kB / 0.6916 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.7273, allocations: 0.5824 MB / 0.6921 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.7289, allocations: 1.032 MB / 0.6932 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000353/0.7292, allocations: 399.3 kB / 0.6935 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.7294, allocations: 57.69 kB / 0.6936 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002015/0.7314, allocations: 1.099 MB / 0.6947 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.7332, allocations: 1.098 MB / 0.6957 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7332, allocations: 0 / 0.6957 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.7334, allocations: 0 / 0.6957 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.7334, allocations: 26.16 kB / 0.6958 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008388/0.7418, allocations: 4.83 MB / 0.7005 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.7444, allocations: 1.092 MB / 0.7015 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.7458, allocations: 0.6987 MB / 0.7022 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.746, allocations: 22.67 kB / 0.7022 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.7474, allocations: 0.8402 MB / 0.7031 GB, free: 99.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 3.367e-06/0.7474, allocations: 0 / 0.7031 GB, free: 99.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01742/0.7649, allocations: 5.153 MB / 0.7081 GB, free: 98.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.7649, allocations: 143.6 kB / 0.7082 GB, free: 98.19 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/0.7667, allocations: 1.098 MB / 0.7093 GB, free: 97.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001895/0.7669, allocations: 29.77 kB / 0.7093 GB, free: 97.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.7672, allocations: 381.8 kB / 0.7097 GB, free: 97.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005115/0.7677, allocations: 430.1 kB / 0.7101 GB, free: 97.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.7678, allocations: 1.312 kB / 0.7101 GB, free: 97.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.7679, allocations: 351.1 kB / 0.7104 GB, free: 96.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/0.769, allocations: 0.5684 MB / 0.711 GB, free: 96.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.7702, allocations: 0.7232 MB / 0.7117 GB, free: 96.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.7715, allocations: 0.6382 MB / 0.7123 GB, free: 95.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7716, allocations: 2.438 kB / 0.7123 GB, free: 95.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004027/0.7756, allocations: 2.005 MB / 0.7143 GB, free: 94.34 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.7758, allocations: 1.345 MB / 0.7156 GB, free: 92.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7758, allocations: 4 kB / 0.7156 GB, free: 92.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008341/0.7842, allocations: 2.365 MB / 0.7179 GB, free: 90.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.7854, allocations: 195.7 kB / 0.7181 GB, free: 90.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005216/0.7906, allocations: 2.531 MB / 0.7206 GB, free: 87.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/0.7932, allocations: 254.8 kB / 0.7208 GB, free: 87.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.7933, allocations: 46.73 kB / 0.7209 GB, free: 87.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.7934, allocations: 4 kB / 0.7209 GB, free: 87.47 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003536/0.7969, allocations: 1.812 MB / 0.7226 GB, free: 85.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.7969, allocations: 4 kB / 0.7226 GB, free: 85.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008085/0.805, allocations: 2.356 MB / 0.7249 GB, free: 83.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.8061, allocations: 195.7 kB / 0.7251 GB, free: 83.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005102/0.8112, allocations: 2.529 MB / 0.7276 GB, free: 80.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.8137, allocations: 239 kB / 0.7278 GB, free: 80.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.8139, allocations: 43.98 kB / 0.7279 GB, free: 80.27 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.0003728/0.8142, allocations: 120.8 kB / 0.728 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.8146, allocations: 169.9 kB / 0.7281 GB, free: 79.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.8302, allocations: 5.277 MB / 0.7333 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.8303, allocations: 16 kB / 0.7333 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.8303, allocations: 0 / 0.7333 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/0.8303, allocations: 7.969 kB / 0.7333 GB, free: 74.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01954/0.8499, allocations: 7.199 MB / 0.7404 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.8499, allocations: 0.875 kB / 0.7404 GB, free: 67.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.8512, allocations: 151.8 kB / 0.7405 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006917/0.8581, allocations: 2.068 MB / 0.7425 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003148/0.8584, allocations: 11.98 kB / 0.7425 GB, free: 65.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01814/0.8766, allocations: 7.148 MB / 0.7495 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8766, allocations: 0 / 0.7495 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01717/0.8938, allocations: 6.298 MB / 0.7557 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.8945, allocations: 286.6 kB / 0.7559 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005714/0.8951, allocations: 4 kB / 0.7559 GB, free: 51.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/0.8972, allocations: 191.8 kB / 0.7561 GB, free: 51.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003955/0.8976, allocations: 149 kB / 0.7563 GB, free: 50.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8977, allocations: 39.98 kB / 0.7563 GB, free: 50.94 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001058/0.8988, allocations: 0.8372 MB / 0.7571 GB, free: 50.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001736/0.9005, allocations: 0.6978 MB / 0.7578 GB, free: 49.41 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.0003253/0.9009, allocations: 163.2 kB / 0.758 GB, free: 49.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01282/0.9137, allocations: 4.166 MB / 0.762 GB, free: 45.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9138, allocations: 0 / 0.762 GB, free: 45.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005677/0.9194, allocations: 1.828 MB / 0.7638 GB, free: 43.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.9206, allocations: 111.3 kB / 0.7639 GB, free: 43.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.9268, allocations: 2.505 MB / 0.7664 GB, free: 40.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009421/0.9278, allocations: 1.363 MB / 0.7677 GB, free: 39.23 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.9278, allocations: 0 / 0.7677 GB, free: 39.23 MB / 490.7 MB Notification: Performance of Templates: time 0.04406/0.9719, allocations: 35.3 MB / 0.8022 GB, free: 4.055 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)