Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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.004773/0.004773, allocations: 183.2 kB / 7.461 MB, free: 2.5 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.376/1.376, allocations: 221.4 MB / 229.3 MB, free: 3.23 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.001029/0.001029, allocations: 93.47 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4537/0.4537, allocations: 78.06 MB / 408.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1784/0.6321, allocations: 75.49 MB / 484.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/1.003, allocations: 69.34 MB / 0.5408 GB, free: 21.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/1.161, allocations: 115.6 MB / 0.6537 GB, free: 5.117 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/1.161, allocations: 91.88 kB / 0.6538 GB, free: 5.027 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.4261/1.587, allocations: 51.76 MB / 0.7044 GB, free: 102.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/1.587, allocations: 8.219 kB / 0.7044 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/1.592, allocations: 0.6125 MB / 0.705 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/1.597, allocations: 1.183 MB / 0.7061 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007511/1.597, allocations: 469.7 kB / 0.7066 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/1.598, allocations: 82.52 kB / 0.7067 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003406/1.602, allocations: 1.224 MB / 0.7078 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/1.605, allocations: 1.258 MB / 0.7091 GB, free: 99.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/1.605, allocations: 5.312 kB / 0.7091 GB, free: 99.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/1.605, allocations: 0 / 0.7091 GB, free: 99.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/1.605, allocations: 32.28 kB / 0.7091 GB, free: 99.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/1.618, allocations: 5.513 MB / 0.7145 GB, free: 95.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002511/1.62, allocations: 1.257 MB / 0.7157 GB, free: 93.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/1.622, allocations: 0.7602 MB / 0.7165 GB, free: 93.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006258/1.622, allocations: 0.7374 MB / 0.7172 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/1.624, allocations: 0.9202 MB / 0.7181 GB, free: 91.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 5.891e-06/1.624, allocations: 0 / 0.7181 GB, free: 91.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.01636/1.64, allocations: 5.361 MB / 0.7233 GB, free: 85.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.641, allocations: 149.8 kB / 0.7235 GB, free: 85.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/1.643, allocations: 1.194 MB / 0.7246 GB, free: 84.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006814/1.644, allocations: 29.7 kB / 0.7247 GB, free: 84.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004798/1.644, allocations: 447.9 kB / 0.7251 GB, free: 84.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/1.646, allocations: 496.6 kB / 0.7256 GB, free: 83.61 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/1.646, allocations: 0 / 0.7256 GB, free: 83.61 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/1.646, allocations: 361.9 kB / 0.7259 GB, free: 83.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.647, allocations: 0.6523 MB / 0.7265 GB, free: 82.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/1.649, allocations: 0.8335 MB / 0.7274 GB, free: 81.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/1.65, allocations: 0.7399 MB / 0.7281 GB, free: 80.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.65, allocations: 4 kB / 0.7281 GB, free: 80.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004593/1.655, allocations: 2.334 MB / 0.7304 GB, free: 78.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/1.655, allocations: 1.534 MB / 0.7319 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.655, allocations: 4 kB / 0.7319 GB, free: 76.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008117/1.663, allocations: 2.463 MB / 0.7343 GB, free: 74.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.665, allocations: 247.6 kB / 0.7345 GB, free: 74.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005679/1.671, allocations: 3.196 MB / 0.7376 GB, free: 70.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/1.674, allocations: 274.6 kB / 0.7379 GB, free: 70.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/1.674, allocations: 59.92 kB / 0.7379 GB, free: 70.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.674, allocations: 4 kB / 0.7379 GB, free: 70.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005267/1.679, allocations: 2.104 MB / 0.74 GB, free: 68.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/1.679, allocations: 4 kB / 0.74 GB, free: 68.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/1.691, allocations: 2.467 MB / 0.7424 GB, free: 66.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/1.693, allocations: 243.6 kB / 0.7426 GB, free: 65.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008109/1.701, allocations: 3.182 MB / 0.7458 GB, free: 62.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003666/1.704, allocations: 266.6 kB / 0.746 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004696/1.705, allocations: 51.98 kB / 0.7461 GB, free: 62.29 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,eXAC2.rotatingExciterWithDemagnetizationLimited.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: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007201/1.706, allocations: 116.8 kB / 0.7462 GB, free: 62.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/1.707, allocations: 181.8 kB / 0.7463 GB, free: 61.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02237/1.729, allocations: 5.418 MB / 0.7516 GB, free: 56.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.729, allocations: 16 kB / 0.7516 GB, free: 56.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.729, allocations: 3.906 kB / 0.7517 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.383e-05/1.729, allocations: 7.969 kB / 0.7517 GB, free: 56.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02326/1.752, allocations: 7.459 MB / 0.7589 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.541e-05/1.752, allocations: 0 / 0.7589 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.754, allocations: 195.7 kB / 0.7591 GB, free: 48.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006854/1.761, allocations: 2.076 MB / 0.7612 GB, free: 46.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003925/1.761, allocations: 11.98 kB / 0.7612 GB, free: 46.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/1.779, allocations: 7.156 MB / 0.7682 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.779, allocations: 0 / 0.7682 GB, free: 39.48 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01873/1.798, allocations: 6.566 MB / 0.7746 GB, free: 32.89 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02075/1.819, allocations: 7.976 MB / 0.7824 GB, free: 24.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.82, allocations: 298.5 kB / 0.7826 GB, free: 24.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009591/1.821, allocations: 4 kB / 0.7826 GB, free: 24.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.824, allocations: 195.8 kB / 0.7828 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006511/1.825, allocations: 184.9 kB / 0.783 GB, free: 24.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002545/1.825, allocations: 43.89 kB / 0.7831 GB, free: 24.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001847/1.827, allocations: 0.9122 MB / 0.7839 GB, free: 23.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00486/1.832, allocations: 0.8107 MB / 0.7847 GB, free: 22.44 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 99 * 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.000656/1.832, allocations: 182.7 kB / 0.7849 GB, free: 22.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01451/1.847, allocations: 4.518 MB / 0.7893 GB, free: 17.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.847, allocations: 4.812 kB / 0.7893 GB, free: 17.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006836/1.854, allocations: 1.929 MB / 0.7912 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.856, allocations: 130.2 kB / 0.7913 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009982/1.866, allocations: 2.879 MB / 0.7941 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.868, allocations: 1.497 MB / 0.7956 GB, free: 11.21 MB / 490.7 MB Notification: Performance of SimCode: time 2.385e-06/1.868, allocations: 0 / 0.7956 GB, free: 11.21 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)