Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.002669/0.002669, 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.281/1.281, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0009748/0.0009747, allocations: 102.3 kB / 280.1 MB, free: 1.289 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5626/0.5626, allocations: 78.05 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.7551, allocations: 75.49 MB / 484.4 MB, free: 4.328 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/1.231, allocations: 69.34 MB / 0.5408 GB, free: 21.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/1.402, allocations: 113.3 MB / 0.6514 GB, free: 7.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/1.402, allocations: 91.94 kB / 0.6515 GB, free: 7.5 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.4781/1.88, allocations: 49.2 MB / 0.6995 GB, free: 104.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.881, allocations: 10.08 kB / 0.6995 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004377/1.885, allocations: 0.6106 MB / 0.7001 GB, free: 104 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/1.888, allocations: 1.146 MB / 0.7013 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005324/1.889, allocations: 439.8 kB / 0.7017 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/1.889, allocations: 73.88 kB / 0.7017 GB, free: 102.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003184/1.892, allocations: 1.215 MB / 0.7029 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/1.896, allocations: 1.241 MB / 0.7041 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.104e-05/1.896, allocations: 0.6562 kB / 0.7041 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/1.896, allocations: 1.453 kB / 0.7042 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.369e-05/1.897, allocations: 32.28 kB / 0.7042 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/1.911, allocations: 5.629 MB / 0.7097 GB, free: 97.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/1.914, allocations: 1.291 MB / 0.7109 GB, free: 97.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/1.915, allocations: 0.7685 MB / 0.7117 GB, free: 96.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005336/1.916, allocations: 0.7378 MB / 0.7124 GB, free: 95.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001568/1.917, allocations: 0.9375 MB / 0.7133 GB, free: 95.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 5.48e-06/1.917, allocations: 0 / 0.7133 GB, free: 95.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.01662/1.934, allocations: 5.468 MB / 0.7187 GB, free: 90.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/1.934, allocations: 149.8 kB / 0.7188 GB, free: 90.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001991/1.936, allocations: 1.202 MB / 0.72 GB, free: 89.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004388/1.936, allocations: 29.7 kB / 0.72 GB, free: 89.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/1.937, allocations: 452 kB / 0.7204 GB, free: 88.62 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000674/1.937, allocations: 0.4926 MB / 0.7209 GB, free: 88.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.937, allocations: 0 / 0.7209 GB, free: 88.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/1.938, allocations: 361.9 kB / 0.7213 GB, free: 87.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/1.939, allocations: 0.664 MB / 0.7219 GB, free: 87.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/1.94, allocations: 0.8481 MB / 0.7227 GB, free: 86.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/1.941, allocations: 0.7478 MB / 0.7235 GB, free: 85.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/1.941, allocations: 0 / 0.7235 GB, free: 85.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004335/1.946, allocations: 2.294 MB / 0.7257 GB, free: 83.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.946, allocations: 4.5 kB / 0.7257 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.909e-05/1.946, allocations: 4 kB / 0.7257 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008099/1.954, allocations: 2.365 MB / 0.728 GB, free: 80.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001539/1.955, allocations: 267.6 kB / 0.7283 GB, free: 80.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005129/1.961, allocations: 2.535 MB / 0.7308 GB, free: 77.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002982/1.964, allocations: 282.5 kB / 0.731 GB, free: 77.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/1.964, allocations: 59.97 kB / 0.7311 GB, free: 77.61 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: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * 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.0003645/1.964, allocations: 136.7 kB / 0.7312 GB, free: 77.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.965, allocations: 185.7 kB / 0.7314 GB, free: 77.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.981, allocations: 5.644 MB / 0.7369 GB, free: 71.64 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-05/1.981, allocations: 19.91 kB / 0.7369 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.981, allocations: 0 / 0.7369 GB, free: 71.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-05/1.981, allocations: 11.97 kB / 0.7369 GB, free: 71.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/2.002, allocations: 7.877 MB / 0.7446 GB, free: 63.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/2.002, allocations: 8.062 kB / 0.7446 GB, free: 63.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/2.003, allocations: 167.8 kB / 0.7448 GB, free: 63.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006942/2.01, allocations: 2.162 MB / 0.7469 GB, free: 61.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004361/2.011, allocations: 23.98 kB / 0.7469 GB, free: 61.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/2.03, allocations: 8.9 MB / 0.7556 GB, free: 52.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/2.03, allocations: 0 / 0.7556 GB, free: 52.19 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01851/2.048, allocations: 6.718 MB / 0.7622 GB, free: 45.44 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02094/2.069, allocations: 8.157 MB / 0.7702 GB, free: 37.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008282/2.07, allocations: 294.4 kB / 0.7704 GB, free: 36.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006996/2.071, allocations: 15.98 kB / 0.7704 GB, free: 36.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002418/2.073, allocations: 199.8 kB / 0.7706 GB, free: 36.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005615/2.074, allocations: 172.9 kB / 0.7708 GB, free: 36.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/2.074, allocations: 39.98 kB / 0.7708 GB, free: 36.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001433/2.076, allocations: 0.9126 MB / 0.7717 GB, free: 35.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002468/2.078, allocations: 0.5109 MB / 0.7722 GB, free: 35.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004197/2.079, allocations: 182.5 kB / 0.7724 GB, free: 34.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007171/2.086, allocations: 2.635 MB / 0.775 GB, free: 32.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/2.086, allocations: 0 / 0.775 GB, free: 32.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006034/2.092, allocations: 2.053 MB / 0.777 GB, free: 30.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/2.093, allocations: 129.6 kB / 0.7771 GB, free: 30.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/2.1, allocations: 2.806 MB / 0.7798 GB, free: 27.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/2.101, allocations: 1.513 MB / 0.7813 GB, free: 25.66 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/2.101, allocations: 3.938 kB / 0.7813 GB, free: 25.66 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)