Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_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.003569/0.003569, allocations: 185.1 kB / 7.459 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.294/1.294, allocations: 221.4 MB / 229.3 MB, free: 3.246 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.00103/0.00103, allocations: 95.11 kB / 280.1 MB, free: 1.336 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4505/0.4505, allocations: 78.06 MB / 409 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1815/0.6321, allocations: 75.49 MB / 484.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.9828, allocations: 69.35 MB / 0.5408 GB, free: 21.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/1.132, allocations: 113.1 MB / 0.6512 GB, free: 7.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.133, allocations: 87.94 kB / 0.6513 GB, free: 7.594 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.3794/1.512, allocations: 49.95 MB / 0.7001 GB, free: 103.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.512, allocations: 9.125 kB / 0.7001 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/1.517, allocations: 0.6045 MB / 0.7007 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/1.522, allocations: 1.113 MB / 0.7018 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007432/1.522, allocations: 435.3 kB / 0.7022 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008945/1.523, allocations: 69.36 kB / 0.7023 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00424/1.528, allocations: 1.153 MB / 0.7034 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003496/1.531, allocations: 1.166 MB / 0.7045 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/1.531, allocations: 1.375 kB / 0.7045 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.531, allocations: 4.688 kB / 0.7045 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/1.531, allocations: 26.31 kB / 0.7046 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/1.542, allocations: 5.263 MB / 0.7097 GB, free: 97.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/1.545, allocations: 1.141 MB / 0.7108 GB, free: 97.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/1.546, allocations: 0.7268 MB / 0.7115 GB, free: 96.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/1.547, allocations: 0.7405 MB / 0.7122 GB, free: 95.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001422/1.548, allocations: 0.8688 MB / 0.7131 GB, free: 95.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=134): time 3.667e-06/1.548, allocations: 4 kB / 0.7131 GB, free: 95.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=134): time 0.01669/1.565, allocations: 5.262 MB / 0.7182 GB, free: 90.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/1.565, allocations: 120.1 kB / 0.7183 GB, free: 90.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.567, allocations: 1.143 MB / 0.7195 GB, free: 89.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003636/1.567, allocations: 25.7 kB / 0.7195 GB, free: 89.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/1.568, allocations: 427.2 kB / 0.7199 GB, free: 89.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/1.568, allocations: 461.1 kB / 0.7203 GB, free: 88.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.568, allocations: 0 / 0.7203 GB, free: 88.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/1.568, allocations: 365.9 kB / 0.7207 GB, free: 88.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/1.569, allocations: 0.6172 MB / 0.7213 GB, free: 87.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.57, allocations: 0.8051 MB / 0.7221 GB, free: 86.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/1.572, allocations: 0.7088 MB / 0.7228 GB, free: 86.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/1.572, allocations: 0 / 0.7228 GB, free: 86.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004077/1.576, allocations: 2.165 MB / 0.7249 GB, free: 83.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.576, allocations: 6.5 kB / 0.7249 GB, free: 83.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/1.576, allocations: 8 kB / 0.7249 GB, free: 83.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007906/1.584, allocations: 2.373 MB / 0.7272 GB, free: 81.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/1.585, allocations: 243.6 kB / 0.7274 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/1.59, allocations: 2.526 MB / 0.7299 GB, free: 78.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/1.593, allocations: 258.6 kB / 0.7302 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/1.594, allocations: 55.98 kB / 0.7302 GB, free: 78.39 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.0003391/1.594, allocations: 128.7 kB / 0.7303 GB, free: 78.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005281/1.594, allocations: 169.8 kB / 0.7305 GB, free: 78.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.61, allocations: 5.431 MB / 0.7358 GB, free: 72.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.492e-05/1.611, allocations: 19.94 kB / 0.7358 GB, free: 72.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.611, allocations: 0 / 0.7358 GB, free: 72.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/1.611, allocations: 7.969 kB / 0.7358 GB, free: 72.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.63, allocations: 7.328 MB / 0.743 GB, free: 65.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/1.63, allocations: 0 / 0.743 GB, free: 65.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/1.631, allocations: 167.8 kB / 0.7431 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006618/1.638, allocations: 2.076 MB / 0.7452 GB, free: 63.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/1.638, allocations: 8 kB / 0.7452 GB, free: 63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/1.656, allocations: 7.172 MB / 0.7522 GB, free: 55.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.656, allocations: 4 kB / 0.7522 GB, free: 55.71 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01746/1.673, allocations: 6.38 MB / 0.7584 GB, free: 49.31 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01885/1.692, allocations: 7.754 MB / 0.766 GB, free: 41.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008083/1.693, allocations: 282.6 kB / 0.7663 GB, free: 41.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003819/1.693, allocations: 7.984 kB / 0.7663 GB, free: 41.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/1.695, allocations: 175.8 kB / 0.7664 GB, free: 41.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/1.696, allocations: 173 kB / 0.7666 GB, free: 40.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.696, allocations: 35.98 kB / 0.7666 GB, free: 40.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001179/1.697, allocations: 0.867 MB / 0.7675 GB, free: 39.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002171/1.699, allocations: 0.4952 MB / 0.768 GB, free: 39.49 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.000494/1.7, allocations: 190.6 kB / 0.7681 GB, free: 39.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006932/1.707, allocations: 2.516 MB / 0.7706 GB, free: 36.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.707, allocations: 4 kB / 0.7706 GB, free: 36.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005839/1.713, allocations: 1.872 MB / 0.7724 GB, free: 34.88 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.714, allocations: 124.8 kB / 0.7725 GB, free: 34.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007002/1.721, allocations: 2.639 MB / 0.7751 GB, free: 32.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.722, allocations: 1.446 MB / 0.7765 GB, free: 30.59 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/1.722, allocations: 4 kB / 0.7765 GB, free: 30.58 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.pipe 2>&1)