Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_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.001279/0.00128, allocations: 178.2 kB / 7.456 MB, free: 1.535 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.4 MB / 229.3 MB, free: 8.41 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009411, allocations: 98.84 kB / 280.1 MB, free: 7.84 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4468/0.4468, allocations: 78.91 MB / 409.8 MB, free: 4.789 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1785/0.6253, allocations: 75.66 MB / 485.5 MB, free: 9.434 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/1.029, allocations: 69.51 MB / 0.542 GB, free: 14.99 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/1.181, allocations: 113.4 MB / 0.6527 GB, free: 13.39 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.182, allocations: 91.95 kB / 0.6528 GB, free: 13.3 MB / 482.8 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.4396/1.621, allocations: 46.94 MB / 0.6987 GB, free: 95.62 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.621, allocations: 8 kB / 0.6987 GB, free: 95.61 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/1.625, allocations: 0.5985 MB / 0.6992 GB, free: 95.01 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/1.628, allocations: 1.105 MB / 0.7003 GB, free: 93.88 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/1.628, allocations: 434.4 kB / 0.7007 GB, free: 93.38 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004658/1.629, allocations: 67.84 kB / 0.7008 GB, free: 93.32 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002451/1.631, allocations: 1.129 MB / 0.7019 GB, free: 92.18 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/1.634, allocations: 1.156 MB / 0.703 GB, free: 90.98 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.634, allocations: 3.938 kB / 0.703 GB, free: 90.98 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.634, allocations: 0 / 0.703 GB, free: 90.98 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/1.634, allocations: 31.91 kB / 0.7031 GB, free: 90.95 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009935/1.644, allocations: 5.237 MB / 0.7082 GB, free: 85.56 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/1.646, allocations: 1.14 MB / 0.7093 GB, free: 84.4 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/1.647, allocations: 0.7217 MB / 0.71 GB, free: 83.68 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/1.647, allocations: 0.7409 MB / 0.7107 GB, free: 82.78 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/1.649, allocations: 0.8656 MB / 0.7116 GB, free: 81.89 MB / 482.8 MB Notification: Performance of pre-optimization done (n=133): time 4.518e-06/1.649, allocations: 0 / 0.7116 GB, free: 81.89 MB / 482.8 MB Notification: Performance of matching and sorting (n=133): time 0.01559/1.664, allocations: 5.209 MB / 0.7167 GB, free: 76.68 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/1.664, allocations: 124.1 kB / 0.7168 GB, free: 76.53 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/1.667, allocations: 1.147 MB / 0.7179 GB, free: 75.38 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003595/1.667, allocations: 25.7 kB / 0.7179 GB, free: 75.35 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/1.667, allocations: 415.4 kB / 0.7183 GB, free: 74.93 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009691/1.668, allocations: 461.2 kB / 0.7188 GB, free: 74.48 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002025/1.669, allocations: 0 / 0.7188 GB, free: 74.48 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 0.0001262/1.669, allocations: 353.9 kB / 0.7191 GB, free: 74.12 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/1.67, allocations: 0.625 MB / 0.7197 GB, free: 73.5 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/1.671, allocations: 0.7857 MB / 0.7205 GB, free: 72.66 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/1.673, allocations: 0.7126 MB / 0.7212 GB, free: 71.96 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/1.673, allocations: 0 / 0.7212 GB, free: 71.96 MB / 482.8 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004516/1.677, allocations: 2.162 MB / 0.7233 GB, free: 69.78 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.677, allocations: 4 kB / 0.7233 GB, free: 69.78 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/1.677, allocations: 4 kB / 0.7233 GB, free: 69.77 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007887/1.685, allocations: 2.365 MB / 0.7256 GB, free: 67.41 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.687, allocations: 243.7 kB / 0.7258 GB, free: 67.17 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/1.691, allocations: 2.528 MB / 0.7283 GB, free: 64.61 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/1.694, allocations: 262.7 kB / 0.7285 GB, free: 64.36 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002595/1.694, allocations: 51.98 kB / 0.7286 GB, free: 64.3 MB / 482.8 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.0003397/1.694, allocations: 129.5 kB / 0.7287 GB, free: 64.17 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005405/1.695, allocations: 177.9 kB / 0.7289 GB, free: 64 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.71, allocations: 5.338 MB / 0.7341 GB, free: 58.66 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.71, allocations: 20 kB / 0.7341 GB, free: 58.64 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.71, allocations: 7.875 kB / 0.7341 GB, free: 58.64 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.648e-05/1.71, allocations: 7.969 kB / 0.7341 GB, free: 58.63 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.729, allocations: 7.317 MB / 0.7413 GB, free: 51.25 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.729, allocations: 0 / 0.7413 GB, free: 51.25 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.73, allocations: 179.8 kB / 0.7415 GB, free: 51.07 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006649/1.737, allocations: 2.064 MB / 0.7435 GB, free: 49.01 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/1.737, allocations: 11.98 kB / 0.7435 GB, free: 49 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/1.755, allocations: 7.175 MB / 0.7505 GB, free: 41.7 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.755, allocations: 0 / 0.7505 GB, free: 41.7 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01706/1.772, allocations: 6.413 MB / 0.7567 GB, free: 35.25 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01873/1.791, allocations: 7.781 MB / 0.7643 GB, free: 27.45 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007824/1.792, allocations: 290.5 kB / 0.7646 GB, free: 27.15 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006337/1.792, allocations: 4 kB / 0.7646 GB, free: 27.14 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.795, allocations: 187.8 kB / 0.7648 GB, free: 26.96 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/1.795, allocations: 173 kB / 0.765 GB, free: 26.79 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.795, allocations: 35.98 kB / 0.765 GB, free: 26.76 MB / 482.8 MB Notification: Performance of sort global known variables: time 0.001373/1.797, allocations: 0.8632 MB / 0.7659 GB, free: 25.9 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002271/1.799, allocations: 0.4952 MB / 0.7663 GB, free: 25.4 MB / 482.8 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.0004489/1.799, allocations: 186.8 kB / 0.7665 GB, free: 25.22 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.006827/1.806, allocations: 2.501 MB / 0.769 GB, free: 22.7 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/1.806, allocations: 0 / 0.769 GB, free: 22.7 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005629/1.812, allocations: 1.871 MB / 0.7708 GB, free: 20.82 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/1.813, allocations: 121 kB / 0.7709 GB, free: 20.7 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/1.82, allocations: 2.623 MB / 0.7735 GB, free: 18.03 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.821, allocations: 1.438 MB / 0.7749 GB, free: 16.56 MB / 482.8 MB Notification: Performance of SimCode: time 9.11e-07/1.821, allocations: 0 / 0.7749 GB, free: 16.56 MB / 482.8 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.pipe 2>&1)