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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",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 4.0.0+maint.om/package.mo): time 0.003489/0.003489, allocations: 184.5 kB / 7.462 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.3/1.3, allocations: 221.4 MB / 229.3 MB, free: 3.242 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.0009469/0.0009469, allocations: 97.22 kB / 280.1 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4988/0.4988, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1675/0.6664, allocations: 75.65 MB / 485.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/1.016, allocations: 69.51 MB / 0.542 GB, free: 20.76 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/1.164, allocations: 110.6 MB / 0.65 GB, free: 9.242 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/1.164, allocations: 87.94 kB / 0.6501 GB, free: 9.156 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.42/1.584, allocations: 42.88 MB / 0.692 GB, free: 76.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.584, allocations: 15 kB / 0.692 GB, free: 76.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/1.587, allocations: 0.5811 MB / 0.6925 GB, free: 75.98 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/1.59, allocations: 1.033 MB / 0.6935 GB, free: 75.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003846/1.59, allocations: 406.3 kB / 0.6939 GB, free: 75.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/1.59, allocations: 59.31 kB / 0.694 GB, free: 75.24 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002123/1.592, allocations: 1.099 MB / 0.6951 GB, free: 75.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.594, allocations: 1.09 MB / 0.6961 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/1.594, allocations: 0 / 0.6961 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.594, allocations: 4 kB / 0.6961 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/1.594, allocations: 23.44 kB / 0.6962 GB, free: 75.14 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00936/1.604, allocations: 4.825 MB / 0.7009 GB, free: 73.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/1.606, allocations: 1.092 MB / 0.7019 GB, free: 73.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/1.608, allocations: 0.6995 MB / 0.7026 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/1.608, allocations: 25.62 kB / 0.7026 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/1.61, allocations: 0.8348 MB / 0.7035 GB, free: 73.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 7.594e-06/1.61, allocations: 4 kB / 0.7035 GB, free: 73.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.0183/1.628, allocations: 5.152 MB / 0.7085 GB, free: 72.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.628, allocations: 141.5 kB / 0.7086 GB, free: 72.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00208/1.63, allocations: 1.092 MB / 0.7097 GB, free: 71.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003098/1.63, allocations: 27.16 kB / 0.7097 GB, free: 71.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/1.631, allocations: 384.8 kB / 0.7101 GB, free: 71.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006826/1.631, allocations: 432.6 kB / 0.7105 GB, free: 71.22 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/1.632, allocations: 4 kB / 0.7105 GB, free: 71.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.067e-05/1.632, allocations: 350.2 kB / 0.7108 GB, free: 70.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009761/1.633, allocations: 0.5685 MB / 0.7114 GB, free: 70.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.634, allocations: 0.7284 MB / 0.7121 GB, free: 70.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.635, allocations: 0.6326 MB / 0.7127 GB, free: 69.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.635, allocations: 4 kB / 0.7127 GB, free: 69.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004248/1.639, allocations: 2.001 MB / 0.7147 GB, free: 68.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002911/1.64, allocations: 1.346 MB / 0.716 GB, free: 67.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/1.64, allocations: 6.875 kB / 0.716 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008222/1.648, allocations: 2.369 MB / 0.7183 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.649, allocations: 195.2 kB / 0.7185 GB, free: 65.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/1.654, allocations: 2.532 MB / 0.721 GB, free: 63.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/1.656, allocations: 254.3 kB / 0.7212 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/1.657, allocations: 49.17 kB / 0.7213 GB, free: 63.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.657, allocations: 6.031 kB / 0.7213 GB, free: 63.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003684/1.66, allocations: 1.805 MB / 0.723 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.66, allocations: 1.266 kB / 0.723 GB, free: 62.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007806/1.668, allocations: 2.367 MB / 0.7253 GB, free: 61.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/1.669, allocations: 188.6 kB / 0.7255 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/1.674, allocations: 2.532 MB / 0.728 GB, free: 59.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.677, allocations: 240.6 kB / 0.7282 GB, free: 59.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/1.677, allocations: 48.28 kB / 0.7283 GB, free: 59.05 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.0003431/1.677, allocations: 120.6 kB / 0.7284 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/1.678, allocations: 170.5 kB / 0.7285 GB, free: 58.76 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/1.693, allocations: 5.275 MB / 0.7337 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/1.693, allocations: 19.42 kB / 0.7337 GB, free: 54.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.693, allocations: 0 / 0.7337 GB, free: 54.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.77e-05/1.693, allocations: 7.969 kB / 0.7337 GB, free: 54.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01857/1.712, allocations: 7.205 MB / 0.7408 GB, free: 48.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/1.712, allocations: 1.75 kB / 0.7408 GB, free: 48.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/1.713, allocations: 147.5 kB / 0.7409 GB, free: 48.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006484/1.719, allocations: 2.063 MB / 0.7429 GB, free: 46.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/1.72, allocations: 11.48 kB / 0.7429 GB, free: 46.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/1.737, allocations: 7.161 MB / 0.7499 GB, free: 41.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.737, allocations: 0 / 0.7499 GB, free: 41.65 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01804/1.755, allocations: 6.302 MB / 0.7561 GB, free: 35.5 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02013/1.775, allocations: 7.635 MB / 0.7635 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007632/1.776, allocations: 278.7 kB / 0.7638 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000774/1.777, allocations: 4 kB / 0.7638 GB, free: 27.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.779, allocations: 191.8 kB / 0.764 GB, free: 27.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.78, allocations: 153 kB / 0.7641 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/1.78, allocations: 35.98 kB / 0.7642 GB, free: 27.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001451/1.782, allocations: 0.8333 MB / 0.765 GB, free: 26.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003991/1.786, allocations: 0.7135 MB / 0.7657 GB, free: 25.62 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.0004323/1.786, allocations: 166.5 kB / 0.7658 GB, free: 25.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/1.799, allocations: 4.163 MB / 0.7699 GB, free: 21.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.799, allocations: 192 / 0.7699 GB, free: 21.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005824/1.805, allocations: 1.835 MB / 0.7717 GB, free: 19.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.807, allocations: 111.1 kB / 0.7718 GB, free: 19.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007678/1.814, allocations: 2.529 MB / 0.7743 GB, free: 16.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.816, allocations: 1.391 MB / 0.7756 GB, free: 15.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/1.816, allocations: 3.938 kB / 0.7756 GB, free: 15.39 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)