Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.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/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/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002466/0.002466, allocations: 179.8 kB / 7.458 MB, free: 2.5 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.327/1.327, allocations: 205.2 MB / 213.1 MB, free: 13.87 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.000888/0.000888, allocations: 94.42 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07042/0.07042, allocations: 12.2 MB / 321.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3052/0.3052, allocations: 78.04 MB / 449.9 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3005/0.6057, allocations: 76.1 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.7456, allocations: 69.23 MB / 0.5813 GB, free: 9.172 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/1.148, allocations: 111.4 MB / 0.6901 GB, free: 13.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.148, allocations: 81.83 kB / 0.6902 GB, free: 13.61 MB / 442.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.1235/1.271, allocations: 43.37 MB / 0.7325 GB, free: 9.746 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.272, allocations: 15.94 kB / 0.7325 GB, free: 9.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/1.275, allocations: 0.5791 MB / 0.7331 GB, free: 9.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002498/1.278, allocations: 1.038 MB / 0.7341 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/1.278, allocations: 396.4 kB / 0.7345 GB, free: 7.906 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003563/1.279, allocations: 63.89 kB / 0.7346 GB, free: 7.844 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002226/1.281, allocations: 1.102 MB / 0.7356 GB, free: 7.176 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/1.283, allocations: 1.091 MB / 0.7367 GB, free: 6.418 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.283, allocations: 7.922 kB / 0.7367 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.283, allocations: 0 / 0.7367 GB, free: 6.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.236e-05/1.283, allocations: 24 kB / 0.7367 GB, free: 6.387 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009337/1.292, allocations: 4.833 MB / 0.7415 GB, free: 2.574 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/1.294, allocations: 1.101 MB / 0.7425 GB, free: 1.863 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000985/1.295, allocations: 0.6948 MB / 0.7432 GB, free: 1.484 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/1.295, allocations: 32.64 kB / 0.7432 GB, free: 1.457 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/1.297, allocations: 0.8392 MB / 0.7441 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/1.297, allocations: 0 / 0.7441 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of matching and sorting (n=126): time 0.01655/1.313, allocations: 5.154 MB / 0.7491 GB, free: 11.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/1.313, allocations: 141.6 kB / 0.7492 GB, free: 11.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002008/1.315, allocations: 1.1 MB / 0.7503 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003942/1.316, allocations: 29.7 kB / 0.7503 GB, free: 10.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/1.316, allocations: 375.3 kB / 0.7507 GB, free: 10.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000653/1.317, allocations: 437.4 kB / 0.7511 GB, free: 9.781 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/1.317, allocations: 0 / 0.7511 GB, free: 9.781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/1.317, allocations: 353.8 kB / 0.7514 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/1.318, allocations: 0.5689 MB / 0.752 GB, free: 8.859 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/1.319, allocations: 0.7241 MB / 0.7527 GB, free: 8.086 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.32, allocations: 0.631 MB / 0.7533 GB, free: 7.457 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.321, allocations: 0 / 0.7533 GB, free: 7.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004149/1.325, allocations: 1.999 MB / 0.7553 GB, free: 5.449 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005987/1.325, allocations: 1.349 MB / 0.7566 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.325, allocations: 7.984 kB / 0.7566 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00866/1.334, allocations: 2.357 MB / 0.7589 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.335, allocations: 191.7 kB / 0.7591 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/1.341, allocations: 2.539 MB / 0.7616 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.343, allocations: 254.8 kB / 0.7618 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.344, allocations: 43.98 kB / 0.7619 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/1.344, allocations: 4 kB / 0.7619 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003833/1.348, allocations: 1.808 MB / 0.7636 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.348, allocations: 0 / 0.7636 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008319/1.356, allocations: 2.365 MB / 0.7659 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/1.357, allocations: 191.7 kB / 0.7661 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/1.362, allocations: 2.539 MB / 0.7686 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/1.365, allocations: 238.9 kB / 0.7688 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.365, allocations: 43.98 kB / 0.7689 GB, free: 7.344 MB / 0.4948 GB 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.0003484/1.365, allocations: 124.8 kB / 0.769 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/1.365, allocations: 165.9 kB / 0.7691 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01633/1.382, allocations: 5.274 MB / 0.7743 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/1.382, allocations: 16 kB / 0.7743 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/1.382, allocations: 4 kB / 0.7743 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.041e-05/1.382, allocations: 7.969 kB / 0.7743 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.401, allocations: 7.202 MB / 0.7813 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/1.402, allocations: 0 / 0.7813 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/1.403, allocations: 151.8 kB / 0.7815 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006994/1.41, allocations: 2.068 MB / 0.7835 GB, free: 8.207 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.41, allocations: 11.98 kB / 0.7835 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01865/1.429, allocations: 7.156 MB / 0.7905 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.429, allocations: 0 / 0.7905 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01932/1.448, allocations: 6.295 MB / 0.7967 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0198/1.468, allocations: 7.636 MB / 0.8041 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009346/1.469, allocations: 282.6 kB / 0.8044 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/1.469, allocations: 0 / 0.8044 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/1.471, allocations: 195.8 kB / 0.8046 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004484/1.472, allocations: 153 kB / 0.8047 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.472, allocations: 35.98 kB / 0.8048 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001431/1.473, allocations: 0.8374 MB / 0.8056 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003288/1.476, allocations: 0.7135 MB / 0.8063 GB, free: 0.6562 MB / 0.5261 GB 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.0004005/1.477, allocations: 155 kB / 0.8064 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01338/1.49, allocations: 4.16 MB / 0.8105 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.49, allocations: 0 / 0.8105 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005876/1.496, allocations: 1.832 MB / 0.8123 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.497, allocations: 105.2 kB / 0.8124 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/1.503, allocations: 2.528 MB / 0.8148 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.505, allocations: 1.395 MB / 0.8162 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/1.505, allocations: 4 kB / 0.8162 GB, free: 6.383 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)