Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_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.006345/0.006345, allocations: 183.1 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.307/1.307, allocations: 221.4 MB / 229.3 MB, free: 3.09 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.0009227/0.0009227, allocations: 95.08 kB / 280.1 MB, free: 1.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4943/0.4943, allocations: 78.92 MB / 409.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1821/0.6764, allocations: 75.65 MB / 485.5 MB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/1.082, allocations: 69.51 MB / 0.542 GB, free: 21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/1.232, allocations: 113.9 MB / 0.6532 GB, free: 6.062 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.232, allocations: 87.94 kB / 0.6533 GB, free: 5.977 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.4721/1.704, allocations: 47.66 MB / 0.6998 GB, free: 104.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.705, allocations: 9.781 kB / 0.6998 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/1.709, allocations: 0.6108 MB / 0.7004 GB, free: 103.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003235/1.712, allocations: 1.148 MB / 0.7016 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/1.712, allocations: 434.1 kB / 0.702 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003424/1.713, allocations: 75.16 kB / 0.702 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003098/1.716, allocations: 1.224 MB / 0.7032 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/1.719, allocations: 1.242 MB / 0.7045 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/1.719, allocations: 0.5625 kB / 0.7045 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/1.719, allocations: 7.688 kB / 0.7045 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.358e-05/1.719, allocations: 32.19 kB / 0.7045 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01083/1.73, allocations: 5.606 MB / 0.71 GB, free: 97.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/1.732, allocations: 1.3 MB / 0.7112 GB, free: 97.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.734, allocations: 0.7684 MB / 0.712 GB, free: 96.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000561/1.734, allocations: 0.7398 MB / 0.7127 GB, free: 95.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/1.736, allocations: 0.9329 MB / 0.7136 GB, free: 95.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 3.356e-06/1.736, allocations: 0 / 0.7136 GB, free: 95.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.01619/1.752, allocations: 5.468 MB / 0.719 GB, free: 89.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/1.752, allocations: 141.8 kB / 0.7191 GB, free: 89.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/1.755, allocations: 1.206 MB / 0.7203 GB, free: 88.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005051/1.755, allocations: 29.69 kB / 0.7203 GB, free: 88.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/1.755, allocations: 444 kB / 0.7207 GB, free: 88.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/1.756, allocations: 0.4965 MB / 0.7212 GB, free: 87.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.756, allocations: 4.062 kB / 0.7212 GB, free: 87.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/1.756, allocations: 369.9 kB / 0.7216 GB, free: 87.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/1.757, allocations: 0.6562 MB / 0.7222 GB, free: 86.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/1.758, allocations: 0.8481 MB / 0.723 GB, free: 85.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/1.76, allocations: 0.7478 MB / 0.7238 GB, free: 84.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.76, allocations: 0 / 0.7238 GB, free: 84.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004211/1.764, allocations: 2.298 MB / 0.726 GB, free: 82.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.764, allocations: 10.03 kB / 0.726 GB, free: 82.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/1.764, allocations: 4 kB / 0.726 GB, free: 82.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007618/1.772, allocations: 2.369 MB / 0.7283 GB, free: 80.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/1.773, allocations: 267.6 kB / 0.7286 GB, free: 79.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/1.778, allocations: 2.536 MB / 0.7311 GB, free: 77.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/1.781, allocations: 286.5 kB / 0.7313 GB, free: 77.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/1.781, allocations: 55.98 kB / 0.7314 GB, free: 77.07 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.0003297/1.781, allocations: 132.5 kB / 0.7315 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/1.782, allocations: 193.6 kB / 0.7317 GB, free: 76.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/1.797, allocations: 5.66 MB / 0.7372 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.504e-05/1.798, allocations: 12 kB / 0.7372 GB, free: 71.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/1.798, allocations: 4 kB / 0.7372 GB, free: 71.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.896e-05/1.798, allocations: 7.969 kB / 0.7373 GB, free: 71.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.817, allocations: 7.883 MB / 0.745 GB, free: 63.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/1.817, allocations: 4 kB / 0.745 GB, free: 63.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/1.819, allocations: 167.8 kB / 0.7451 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006736/1.825, allocations: 2.17 MB / 0.7472 GB, free: 60.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/1.826, allocations: 15.98 kB / 0.7473 GB, free: 60.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/1.844, allocations: 8.905 MB / 0.7559 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.844, allocations: 3.984 kB / 0.756 GB, free: 51.63 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01817/1.862, allocations: 6.714 MB / 0.7625 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02059/1.883, allocations: 8.165 MB / 0.7705 GB, free: 36.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/1.884, allocations: 302.4 kB / 0.7708 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.885, allocations: 4 kB / 0.7708 GB, free: 36.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.888, allocations: 203.8 kB / 0.771 GB, free: 36.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006267/1.889, allocations: 172.9 kB / 0.7711 GB, free: 35.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/1.889, allocations: 47.98 kB / 0.7712 GB, free: 35.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001626/1.891, allocations: 0.9048 MB / 0.7721 GB, free: 35.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003278/1.894, allocations: 0.5109 MB / 0.7726 GB, free: 34.53 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.0005425/1.895, allocations: 178.8 kB / 0.7727 GB, free: 34.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007741/1.902, allocations: 2.642 MB / 0.7753 GB, free: 31.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.902, allocations: 0 / 0.7753 GB, free: 31.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006578/1.909, allocations: 2.045 MB / 0.7773 GB, free: 29.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/1.911, allocations: 125.8 kB / 0.7774 GB, free: 29.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008735/1.92, allocations: 2.806 MB / 0.7802 GB, free: 26.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/1.922, allocations: 1.51 MB / 0.7816 GB, free: 25.11 MB / 490.7 MB Notification: Performance of SimCode: time 1.984e-06/1.922, allocations: 0 / 0.7816 GB, free: 25.11 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)