Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A") [: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.003357/0.003357, allocations: 182.9 kB / 7.454 MB, free: 2.516 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.283/1.283, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.001002/0.001001, allocations: 91.66 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09687/0.09687, allocations: 12.59 MB / 321.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2747/0.2747, allocations: 78.05 MB / 450.4 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.833e-06, allocations: 4 kB / 0.5141 GB, free: 29.91 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 69.32 MB / 0.5818 GB, free: 8.684 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3502/0.4782, allocations: 117.1 MB / 0.6962 GB, free: 7.191 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.4784, allocations: 86.84 kB / 0.6963 GB, free: 7.145 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1334/0.6118, allocations: 47.44 MB / 0.7426 GB, free: 220 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.612, allocations: 39.94 kB / 0.7426 GB, free: 180 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.006337/0.6183, allocations: 2.351 MB / 0.7449 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.6184, allocations: 11.97 kB / 0.7449 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.622, allocations: 0.6055 MB / 0.7455 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.6242, allocations: 1.162 MB / 0.7467 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005078/0.6247, allocations: 471.4 kB / 0.7471 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.6249, allocations: 71.91 kB / 0.7472 GB, free: 11.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002144/0.6271, allocations: 1.191 MB / 0.7483 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.6292, allocations: 1.222 MB / 0.7495 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.6292, allocations: 0 / 0.7495 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.6294, allocations: 0 / 0.7495 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.6294, allocations: 28 kB / 0.7496 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009863/0.6393, allocations: 5.423 MB / 0.7549 GB, free: 5.625 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.6413, allocations: 1.205 MB / 0.756 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.6425, allocations: 0.7498 MB / 0.7568 GB, free: 3.633 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005671/0.6431, allocations: 0.7336 MB / 0.7575 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001432/0.6445, allocations: 0.893 MB / 0.7583 GB, free: 1.816 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 2.715e-06/0.6445, allocations: 4 kB / 0.7584 GB, free: 1.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01674/0.6613, allocations: 5.326 MB / 0.7636 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.6614, allocations: 141.8 kB / 0.7637 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/0.6634, allocations: 1.172 MB / 0.7648 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/0.6638, allocations: 25.7 kB / 0.7649 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/0.6641, allocations: 431.7 kB / 0.7653 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007302/0.6648, allocations: 480.8 kB / 0.7657 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.6649, allocations: 0 / 0.7657 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6651, allocations: 373.7 kB / 0.7661 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.6662, allocations: 0.6367 MB / 0.7667 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.6675, allocations: 0.8177 MB / 0.7675 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.6691, allocations: 0.7204 MB / 0.7682 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.6691, allocations: 4 kB / 0.7682 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005325/0.6744, allocations: 2.287 MB / 0.7704 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006601/0.6751, allocations: 1.538 MB / 0.7719 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.6752, allocations: 4 kB / 0.772 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008807/0.684, allocations: 2.467 MB / 0.7744 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.6853, allocations: 227.7 kB / 0.7746 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005893/0.6912, allocations: 3.201 MB / 0.7777 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.6939, allocations: 270.7 kB / 0.778 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.6941, allocations: 55.97 kB / 0.778 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/0.6941, allocations: 4 kB / 0.778 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004413/0.6986, allocations: 2.073 MB / 0.78 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6986, allocations: 8.359 kB / 0.7801 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008445/0.707, allocations: 2.465 MB / 0.7825 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.7084, allocations: 227.7 kB / 0.7827 GB, free: 8.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.7141, allocations: 3.197 MB / 0.7858 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.7166, allocations: 262.8 kB / 0.786 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.7169, allocations: 51.98 kB / 0.7861 GB, free: 4.98 MB / 0.5105 GB 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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.0003799/0.7173, allocations: 132.7 kB / 0.7862 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.7177, allocations: 177.8 kB / 0.7864 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/0.7341, allocations: 5.382 MB / 0.7916 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.7342, allocations: 16 kB / 0.7917 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7342, allocations: 0 / 0.7917 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-05/0.7343, allocations: 7.984 kB / 0.7917 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01974/0.754, allocations: 7.392 MB / 0.7989 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.7541, allocations: 3.984 kB / 0.7989 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001379/0.7554, allocations: 191.8 kB / 0.7991 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006971/0.7624, allocations: 2.064 MB / 0.8011 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.7628, allocations: 19.89 kB / 0.8011 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.7817, allocations: 7.168 MB / 0.8081 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.7817, allocations: 0 / 0.8081 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01852/0.8002, allocations: 6.492 MB / 0.8145 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007576/0.801, allocations: 290.5 kB / 0.8147 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/0.8015, allocations: 15.92 kB / 0.8147 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.8034, allocations: 199.8 kB / 0.8149 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/0.8039, allocations: 173 kB / 0.8151 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.8041, allocations: 43.98 kB / 0.8151 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00129/0.8054, allocations: 0.8758 MB / 0.816 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00206/0.8075, allocations: 0.7717 MB / 0.8168 GB, free: 5.277 MB / 0.5417 GB 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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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.0004435/0.8079, allocations: 186.8 kB / 0.8169 GB, free: 5.082 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01399/0.8219, allocations: 4.472 MB / 0.8213 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.8219, allocations: 4 kB / 0.8213 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006131/0.8281, allocations: 1.902 MB / 0.8232 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.8297, allocations: 125.5 kB / 0.8233 GB, free: 14.57 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007763/0.8375, allocations: 2.792 MB / 0.826 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.8388, allocations: 1.437 MB / 0.8274 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/0.8388, allocations: 0 / 0.8274 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of Templates: time 0.2271/1.066, allocations: 39.05 MB / 0.8655 GB, free: 234.1 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.pipe 2>&1)