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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS,fileNamePrefix="OpenIPSL_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.003388/0.003388, allocations: 179.2 kB / 7.46 MB, free: 2.516 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.309/1.309, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001036/0.001036, allocations: 101.7 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4606/0.4606, allocations: 78.06 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1629/0.6236, allocations: 75.49 MB / 484.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.9726, allocations: 69.35 MB / 0.5408 GB, free: 21.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/1.112, allocations: 110 MB / 0.6482 GB, free: 10.78 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/1.113, allocations: 83.95 kB / 0.6483 GB, free: 10.7 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.393/1.506, allocations: 44.42 MB / 0.6917 GB, free: 104.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/1.506, allocations: 15 kB / 0.6917 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003518/1.509, allocations: 0.5788 MB / 0.6922 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/1.512, allocations: 1.03 MB / 0.6932 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004868/1.512, allocations: 405.6 kB / 0.6936 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003948/1.513, allocations: 59.06 kB / 0.6937 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00278/1.515, allocations: 1.102 MB / 0.6948 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/1.518, allocations: 1.085 MB / 0.6958 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.518, allocations: 4 kB / 0.6958 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/1.518, allocations: 0 / 0.6958 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/1.518, allocations: 23.56 kB / 0.6958 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/1.529, allocations: 4.837 MB / 0.7006 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/1.532, allocations: 1.096 MB / 0.7016 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.533, allocations: 0.6894 MB / 0.7023 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.533, allocations: 26.39 kB / 0.7023 GB, free: 100 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/1.535, allocations: 0.8386 MB / 0.7032 GB, free: 99.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 2.339e-05/1.535, allocations: 0 / 0.7032 GB, free: 99.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01881/1.554, allocations: 5.153 MB / 0.7082 GB, free: 98.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.554, allocations: 145.4 kB / 0.7083 GB, free: 98.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/1.556, allocations: 1.095 MB / 0.7094 GB, free: 97.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004306/1.557, allocations: 27.31 kB / 0.7094 GB, free: 97.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/1.557, allocations: 385.3 kB / 0.7098 GB, free: 97.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000858/1.558, allocations: 430 kB / 0.7102 GB, free: 97.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/1.558, allocations: 3.938 kB / 0.7102 GB, free: 97.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/1.558, allocations: 352.9 kB / 0.7105 GB, free: 96.88 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.56, allocations: 0.563 MB / 0.7111 GB, free: 96.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/1.561, allocations: 0.7327 MB / 0.7118 GB, free: 96.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/1.563, allocations: 0.6333 MB / 0.7124 GB, free: 95.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.415e-05/1.563, allocations: 1.188 kB / 0.7124 GB, free: 95.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004884/1.567, allocations: 2.005 MB / 0.7144 GB, free: 94.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003723/1.568, allocations: 1.351 MB / 0.7157 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.568, allocations: 4 kB / 0.7157 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00889/1.577, allocations: 2.365 MB / 0.718 GB, free: 90.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.578, allocations: 199.7 kB / 0.7182 GB, free: 90.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/1.584, allocations: 2.528 MB / 0.7207 GB, free: 87.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.586, allocations: 254.8 kB / 0.7209 GB, free: 87.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/1.587, allocations: 47.98 kB / 0.721 GB, free: 87.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/1.587, allocations: 4 kB / 0.721 GB, free: 87.54 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00392/1.591, allocations: 1.804 MB / 0.7227 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/1.591, allocations: 0 / 0.7227 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0079/1.599, allocations: 2.371 MB / 0.725 GB, free: 83.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.6, allocations: 187.7 kB / 0.7252 GB, free: 83.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005026/1.605, allocations: 2.533 MB / 0.7277 GB, free: 80.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.608, allocations: 239 kB / 0.7279 GB, free: 80.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003129/1.608, allocations: 51.97 kB / 0.728 GB, free: 80.33 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.0005416/1.608, allocations: 118.2 kB / 0.7281 GB, free: 80.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000735/1.609, allocations: 161.9 kB / 0.7282 GB, free: 80.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.625, allocations: 5.273 MB / 0.7334 GB, free: 74.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.625, allocations: 12 kB / 0.7334 GB, free: 74.76 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/1.625, allocations: 4 kB / 0.7334 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/1.625, allocations: 7.969 kB / 0.7334 GB, free: 74.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02916/1.654, allocations: 7.203 MB / 0.7405 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-05/1.654, allocations: 4 kB / 0.7405 GB, free: 67.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/1.656, allocations: 151.8 kB / 0.7406 GB, free: 67.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006899/1.663, allocations: 2.068 MB / 0.7426 GB, free: 65.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004306/1.663, allocations: 11.98 kB / 0.7426 GB, free: 65.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/1.681, allocations: 7.149 MB / 0.7496 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.682, allocations: 0 / 0.7496 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01882/1.7, allocations: 6.302 MB / 0.7558 GB, free: 51.68 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01962/1.72, allocations: 7.634 MB / 0.7632 GB, free: 44.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000811/1.721, allocations: 278.6 kB / 0.7635 GB, free: 43.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008081/1.722, allocations: 8 kB / 0.7635 GB, free: 43.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/1.725, allocations: 195.8 kB / 0.7637 GB, free: 43.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006047/1.725, allocations: 149 kB / 0.7638 GB, free: 43.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002489/1.726, allocations: 35.98 kB / 0.7639 GB, free: 43.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001659/1.727, allocations: 0.8372 MB / 0.7647 GB, free: 42.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005374/1.733, allocations: 0.7135 MB / 0.7654 GB, free: 41.79 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.0006095/1.733, allocations: 167.1 kB / 0.7655 GB, free: 41.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01424/1.748, allocations: 4.155 MB / 0.7696 GB, free: 37.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.748, allocations: 8.125 kB / 0.7696 GB, free: 37.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006157/1.754, allocations: 1.828 MB / 0.7714 GB, free: 35.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/1.756, allocations: 109.2 kB / 0.7715 GB, free: 35.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009641/1.765, allocations: 2.519 MB / 0.7739 GB, free: 33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/1.767, allocations: 1.402 MB / 0.7753 GB, free: 31.56 MB / 490.7 MB Notification: Performance of SimCode: time 2.054e-06/1.767, allocations: 0 / 0.7753 GB, free: 31.56 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_CGMES_ES_ExcSEXS.fmu > OpenIPSL_OpenIPSL.Tests.Controls.CGMES.ES.ExcSEXS.pipe 2>&1)