Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.003632/0.003632, allocations: 185.7 kB / 7.464 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009918/0.0009917, allocations: 94.66 kB / 261.1 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08141/0.08141, allocations: 12.18 MB / 321.2 MB, free: 1.367 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.309/0.309, allocations: 78.05 MB / 449.9 MB, free: 3.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2944/0.6035, allocations: 76.1 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.7188, allocations: 69.22 MB / 0.5813 GB, free: 9.188 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4482/1.167, allocations: 114.8 MB / 0.6934 GB, free: 10.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/1.167, allocations: 92.44 kB / 0.6935 GB, free: 10.3 MB / 442.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.1394/1.307, allocations: 48.04 MB / 0.7404 GB, free: 2.527 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.307, allocations: 11.94 kB / 0.7404 GB, free: 2.516 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/1.311, allocations: 0.6166 MB / 0.741 GB, free: 1.938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/1.314, allocations: 1.155 MB / 0.7421 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005465/1.315, allocations: 430.6 kB / 0.7425 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004573/1.315, allocations: 72 kB / 0.7426 GB, free: 460 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002807/1.318, allocations: 1.223 MB / 0.7438 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/1.321, allocations: 1.235 MB / 0.745 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/1.321, allocations: 11.92 kB / 0.745 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.321, allocations: 0 / 0.745 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/1.321, allocations: 28 kB / 0.745 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/1.335, allocations: 5.623 MB / 0.7505 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/1.338, allocations: 1.296 MB / 0.7518 GB, free: 9.102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/1.339, allocations: 0.764 MB / 0.7525 GB, free: 8.332 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/1.34, allocations: 0.7336 MB / 0.7533 GB, free: 7.434 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001843/1.342, allocations: 0.9406 MB / 0.7542 GB, free: 6.465 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 4.498e-06/1.342, allocations: 0 / 0.7542 GB, free: 6.465 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.01811/1.36, allocations: 5.464 MB / 0.7595 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/1.36, allocations: 149.8 kB / 0.7597 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/1.363, allocations: 1.202 MB / 0.7608 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005154/1.364, allocations: 33.64 kB / 0.7609 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000445/1.364, allocations: 440.1 kB / 0.7613 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001234/1.366, allocations: 0.4964 MB / 0.7618 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/1.366, allocations: 0 / 0.7618 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002463/1.366, allocations: 370 kB / 0.7621 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/1.368, allocations: 0.6601 MB / 0.7628 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/1.369, allocations: 0.8516 MB / 0.7636 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/1.372, allocations: 0.7554 MB / 0.7643 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.372, allocations: 3.938 kB / 0.7643 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005557/1.377, allocations: 2.286 MB / 0.7666 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.377, allocations: 4 kB / 0.7666 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/1.377, allocations: 7.984 kB / 0.7666 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00923/1.386, allocations: 2.373 MB / 0.7689 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.389, allocations: 267.6 kB / 0.7692 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/1.396, allocations: 2.52 MB / 0.7716 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.399, allocations: 282.6 kB / 0.7719 GB, free: 4.156 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004512/1.399, allocations: 63.98 kB / 0.7719 GB, free: 4.094 MB / 0.4948 GB 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.0005895/1.4, allocations: 120.7 kB / 0.7721 GB, free: 3.969 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009981/1.401, allocations: 193.6 kB / 0.7722 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01839/1.419, allocations: 5.657 MB / 0.7778 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.605e-05/1.419, allocations: 12 kB / 0.7778 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.419, allocations: 4 kB / 0.7778 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.652e-05/1.419, allocations: 7.969 kB / 0.7778 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02306/1.442, allocations: 7.877 MB / 0.7855 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-05/1.443, allocations: 4 kB / 0.7855 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/1.444, allocations: 167.8 kB / 0.7856 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007832/1.452, allocations: 2.166 MB / 0.7878 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005474/1.452, allocations: 19.98 kB / 0.7878 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02249/1.475, allocations: 8.91 MB / 0.7965 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/1.475, allocations: 0 / 0.7965 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02124/1.496, allocations: 6.722 MB / 0.803 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02451/1.521, allocations: 8.15 MB / 0.811 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/1.522, allocations: 310.3 kB / 0.8113 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.523, allocations: 0 / 0.8113 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002616/1.526, allocations: 199.8 kB / 0.8115 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006703/1.526, allocations: 173 kB / 0.8117 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/1.527, allocations: 47.98 kB / 0.8117 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002147/1.529, allocations: 0.9087 MB / 0.8126 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003317/1.532, allocations: 0.5108 MB / 0.8131 GB, free: 9.449 MB / 0.5417 GB 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.0007021/1.533, allocations: 182.9 kB / 0.8133 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008745/1.542, allocations: 2.638 MB / 0.8158 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/1.542, allocations: 0 / 0.8158 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007923/1.55, allocations: 2.041 MB / 0.8178 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/1.552, allocations: 125.8 kB / 0.818 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/1.563, allocations: 2.821 MB / 0.8207 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002418/1.565, allocations: 1.514 MB / 0.8222 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/1.565, allocations: 3.938 kB / 0.8222 GB, free: 15.99 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)