Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.002764/0.002764, allocations: 186 kB / 7.457 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.263/1.263, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.0009588/0.0009589, allocations: 97.44 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4612/0.4612, allocations: 78.05 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1529/0.6141, allocations: 75.5 MB / 484.4 MB, free: 4.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.966, allocations: 69.36 MB / 0.5408 GB, free: 21.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/1.115, allocations: 112.8 MB / 0.6509 GB, free: 7.984 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/1.115, allocations: 83.95 kB / 0.651 GB, free: 7.902 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.4607/1.576, allocations: 49.06 MB / 0.6989 GB, free: 76.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/1.576, allocations: 8.625 kB / 0.6989 GB, free: 76.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003932/1.58, allocations: 0.6059 MB / 0.6995 GB, free: 76.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003275/1.583, allocations: 1.103 MB / 0.7006 GB, free: 75.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/1.584, allocations: 429.4 kB / 0.701 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/1.584, allocations: 75.19 kB / 0.7011 GB, free: 75.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002793/1.587, allocations: 1.128 MB / 0.7022 GB, free: 75.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002367/1.589, allocations: 1.15 MB / 0.7033 GB, free: 75.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/1.589, allocations: 2.062 kB / 0.7033 GB, free: 75.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/1.59, allocations: 0.7812 kB / 0.7033 GB, free: 75.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/1.59, allocations: 28.53 kB / 0.7033 GB, free: 75.35 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/1.602, allocations: 5.245 MB / 0.7085 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.604, allocations: 1.141 MB / 0.7096 GB, free: 73.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.605, allocations: 0.7205 MB / 0.7103 GB, free: 73.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005275/1.606, allocations: 0.7336 MB / 0.711 GB, free: 72.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/1.607, allocations: 0.8699 MB / 0.7119 GB, free: 72.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=133): time 3.226e-06/1.607, allocations: 0 / 0.7119 GB, free: 72.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=133): time 0.01597/1.623, allocations: 5.21 MB / 0.7169 GB, free: 68.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.623, allocations: 119.9 kB / 0.7171 GB, free: 68.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.625, allocations: 1.141 MB / 0.7182 GB, free: 67.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.626, allocations: 25.7 kB / 0.7182 GB, free: 67.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/1.626, allocations: 422 kB / 0.7186 GB, free: 67.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006606/1.627, allocations: 455.2 kB / 0.719 GB, free: 67.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/1.627, allocations: 8.062 kB / 0.719 GB, free: 67.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/1.627, allocations: 357.3 kB / 0.7194 GB, free: 66.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.628, allocations: 0.6162 MB / 0.72 GB, free: 66.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.629, allocations: 0.7981 MB / 0.7208 GB, free: 65.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/1.63, allocations: 0.709 MB / 0.7215 GB, free: 65.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.631, allocations: 0 / 0.7215 GB, free: 65.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003845/1.634, allocations: 2.148 MB / 0.7235 GB, free: 64.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.634, allocations: 8 kB / 0.7236 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/1.634, allocations: 4 kB / 0.7236 GB, free: 64.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007781/1.642, allocations: 2.364 MB / 0.7259 GB, free: 62.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.644, allocations: 238.8 kB / 0.7261 GB, free: 61.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/1.649, allocations: 2.531 MB / 0.7286 GB, free: 60.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002897/1.652, allocations: 258.8 kB / 0.7288 GB, free: 59.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002892/1.652, allocations: 50.8 kB / 0.7289 GB, free: 59.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003659/1.652, allocations: 132.6 kB / 0.729 GB, free: 59.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005059/1.653, allocations: 173.9 kB / 0.7292 GB, free: 59.44 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.669, allocations: 5.349 MB / 0.7344 GB, free: 54.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/1.669, allocations: 15.94 kB / 0.7344 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.669, allocations: 0 / 0.7344 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-05/1.669, allocations: 7.984 kB / 0.7344 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.689, allocations: 7.333 MB / 0.7416 GB, free: 48.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/1.689, allocations: 0 / 0.7416 GB, free: 48.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.69, allocations: 163.3 kB / 0.7417 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006701/1.697, allocations: 2.069 MB / 0.7437 GB, free: 46.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004355/1.697, allocations: 11.8 kB / 0.7438 GB, free: 46.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/1.715, allocations: 7.167 MB / 0.7508 GB, free: 41.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.715, allocations: 0 / 0.7508 GB, free: 41.58 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01792/1.733, allocations: 6.416 MB / 0.757 GB, free: 35.21 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01858/1.752, allocations: 7.782 MB / 0.7646 GB, free: 27.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/1.753, allocations: 290.5 kB / 0.7649 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/1.753, allocations: 0 / 0.7649 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.755, allocations: 195.8 kB / 0.7651 GB, free: 26.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/1.755, allocations: 161 kB / 0.7652 GB, free: 26.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/1.755, allocations: 39.98 kB / 0.7653 GB, free: 26.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0011/1.756, allocations: 0.8593 MB / 0.7661 GB, free: 25.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002095/1.759, allocations: 0.5031 MB / 0.7666 GB, free: 25.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 89 * 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.0004189/1.759, allocations: 182.6 kB / 0.7668 GB, free: 25.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006891/1.766, allocations: 2.516 MB / 0.7692 GB, free: 22.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.766, allocations: 0.875 kB / 0.7692 GB, free: 22.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005692/1.772, allocations: 1.867 MB / 0.7711 GB, free: 20.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.773, allocations: 124.4 kB / 0.7712 GB, free: 20.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/1.781, allocations: 2.619 MB / 0.7737 GB, free: 17.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.782, allocations: 1.442 MB / 0.7751 GB, free: 16.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.016e-06/1.782, allocations: 0 / 0.7751 GB, free: 16.5 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)