Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.004137/0.004137, allocations: 180.5 kB / 7.455 MB, free: 2.242 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.248/1.248, 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.0009245/0.0009245, allocations: 97.12 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4612/0.4612, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1708/0.6321, allocations: 75.65 MB / 485.5 MB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/1.03, allocations: 69.51 MB / 0.542 GB, free: 20.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1535/1.183, allocations: 113.7 MB / 0.653 GB, free: 6.148 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003884/1.184, allocations: 91.92 kB / 0.6531 GB, free: 6.059 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.4498/1.634, allocations: 47.84 MB / 0.6998 GB, free: 103.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.634, allocations: 9.031 kB / 0.6998 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/1.638, allocations: 0.5993 MB / 0.7004 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/1.643, allocations: 1.114 MB / 0.7015 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006312/1.643, allocations: 435.4 kB / 0.7019 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000586/1.644, allocations: 68.72 kB / 0.702 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003624/1.648, allocations: 1.145 MB / 0.7031 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/1.651, allocations: 1.168 MB / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.651, allocations: 0 / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/1.652, allocations: 7.891 kB / 0.7042 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/1.652, allocations: 27.97 kB / 0.7043 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/1.665, allocations: 5.278 MB / 0.7094 GB, free: 98.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/1.667, allocations: 1.129 MB / 0.7105 GB, free: 97.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/1.669, allocations: 0.7342 MB / 0.7112 GB, free: 97.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007326/1.669, allocations: 0.7411 MB / 0.712 GB, free: 96.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001722/1.671, allocations: 0.8651 MB / 0.7128 GB, free: 95.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 9.177e-06/1.671, allocations: 0 / 0.7128 GB, free: 95.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01651/1.688, allocations: 5.267 MB / 0.7179 GB, free: 90.86 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/1.688, allocations: 124.1 kB / 0.7181 GB, free: 90.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/1.69, allocations: 1.139 MB / 0.7192 GB, free: 89.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004271/1.691, allocations: 25.7 kB / 0.7192 GB, free: 89.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/1.691, allocations: 427.2 kB / 0.7196 GB, free: 89.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009876/1.692, allocations: 461.1 kB / 0.72 GB, free: 88.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/1.692, allocations: 4.062 kB / 0.7201 GB, free: 88.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/1.692, allocations: 361.9 kB / 0.7204 GB, free: 88.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/1.694, allocations: 0.625 MB / 0.721 GB, free: 87.66 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.695, allocations: 0.7973 MB / 0.7218 GB, free: 86.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.696, allocations: 0.7166 MB / 0.7225 GB, free: 86.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.696, allocations: 0 / 0.7225 GB, free: 86.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004271/1.701, allocations: 2.169 MB / 0.7246 GB, free: 83.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.701, allocations: 4 kB / 0.7246 GB, free: 83.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/1.701, allocations: 4 kB / 0.7246 GB, free: 83.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007692/1.708, allocations: 2.369 MB / 0.7269 GB, free: 81.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.71, allocations: 247.6 kB / 0.7272 GB, free: 81.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00531/1.715, allocations: 2.524 MB / 0.7296 GB, free: 78.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/1.718, allocations: 254.7 kB / 0.7299 GB, free: 78.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004058/1.719, allocations: 55.97 kB / 0.7299 GB, free: 78.45 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * 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.0004598/1.719, allocations: 132.4 kB / 0.7301 GB, free: 78.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008032/1.72, allocations: 173.8 kB / 0.7302 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.736, allocations: 5.42 MB / 0.7355 GB, free: 72.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/1.736, allocations: 20 kB / 0.7355 GB, free: 72.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.736, allocations: 0 / 0.7355 GB, free: 72.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.261e-05/1.736, allocations: 11.86 kB / 0.7355 GB, free: 72.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.756, allocations: 7.327 MB / 0.7427 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/1.756, allocations: 4.031 kB / 0.7427 GB, free: 65.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.757, allocations: 171.8 kB / 0.7429 GB, free: 65.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006441/1.764, allocations: 2.068 MB / 0.7449 GB, free: 63.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003207/1.764, allocations: 11.98 kB / 0.7449 GB, free: 63.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/1.781, allocations: 7.179 MB / 0.7519 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.781, allocations: 3.984 kB / 0.7519 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01712/1.799, allocations: 6.369 MB / 0.7581 GB, free: 49.35 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01857/1.817, allocations: 7.754 MB / 0.7657 GB, free: 41.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.818, allocations: 282.6 kB / 0.766 GB, free: 41.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006907/1.819, allocations: 11.94 kB / 0.766 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/1.821, allocations: 175.8 kB / 0.7661 GB, free: 41.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/1.822, allocations: 165 kB / 0.7663 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.822, allocations: 43.98 kB / 0.7663 GB, free: 40.88 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001062/1.823, allocations: 0.867 MB / 0.7672 GB, free: 40.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002144/1.825, allocations: 0.503 MB / 0.7677 GB, free: 39.52 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.0004056/1.825, allocations: 174.9 kB / 0.7679 GB, free: 39.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006807/1.832, allocations: 2.52 MB / 0.7703 GB, free: 36.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.832, allocations: 0 / 0.7703 GB, free: 36.81 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005419/1.838, allocations: 1.872 MB / 0.7721 GB, free: 34.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/1.839, allocations: 113.1 kB / 0.7723 GB, free: 34.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/1.845, allocations: 2.651 MB / 0.7748 GB, free: 32.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.846, allocations: 1.45 MB / 0.7763 GB, free: 30.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/1.846, allocations: 0 / 0.7763 GB, free: 30.63 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)