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: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2") [: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.002192/0.002192, allocations: 183.3 kB / 7.457 MB, free: 2.504 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.26/1.26, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.001028/0.001028, allocations: 102.5 kB / 280.1 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4132/0.4132, allocations: 78.05 MB / 409 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.857e-06/8.977e-06, allocations: 4 kB / 484.4 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3044, allocations: 69.34 MB / 0.5407 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4355, allocations: 115.6 MB / 0.6536 GB, free: 5.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.4358, allocations: 87.94 kB / 0.6537 GB, free: 5.074 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.4005/0.8363, allocations: 49.32 MB / 0.7019 GB, free: 104.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002107/0.8366, allocations: 36.34 kB / 0.7019 GB, free: 104.1 MB / 490.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.008476/0.845, allocations: 2.407 MB / 0.7043 GB, free: 102.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8451, allocations: 8.906 kB / 0.7043 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/0.8493, allocations: 0.61 MB / 0.7049 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.8525, allocations: 1.18 MB / 0.706 GB, free: 101.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005377/0.8531, allocations: 468.8 kB / 0.7065 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/0.8536, allocations: 79.06 kB / 0.7066 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003063/0.8567, allocations: 1.223 MB / 0.7077 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.8593, allocations: 1.264 MB / 0.709 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.8594, allocations: 0 / 0.709 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.8595, allocations: 0 / 0.709 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.8596, allocations: 28.91 kB / 0.709 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.8705, allocations: 5.523 MB / 0.7144 GB, free: 95.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.8725, allocations: 1.265 MB / 0.7156 GB, free: 93.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.8736, allocations: 0.7563 MB / 0.7164 GB, free: 93.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000451/0.8741, allocations: 0.7373 MB / 0.7171 GB, free: 92.33 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.8754, allocations: 0.9161 MB / 0.718 GB, free: 91.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=143): time 3.427e-06/0.8754, allocations: 0 / 0.718 GB, free: 91.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=143): time 0.017/0.8924, allocations: 5.368 MB / 0.7232 GB, free: 86.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.8925, allocations: 141.8 kB / 0.7234 GB, free: 85.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.8944, allocations: 1.197 MB / 0.7245 GB, free: 84.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003822/0.8948, allocations: 25.7 kB / 0.7246 GB, free: 84.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.895, allocations: 451.8 kB / 0.725 GB, free: 84.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006102/0.8956, allocations: 488.6 kB / 0.7255 GB, free: 83.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.8957, allocations: 0 / 0.7255 GB, free: 83.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.8958, allocations: 365.9 kB / 0.7258 GB, free: 83.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.8969, allocations: 0.6524 MB / 0.7264 GB, free: 82.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.8981, allocations: 0.8412 MB / 0.7273 GB, free: 81.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.8995, allocations: 0.736 MB / 0.728 GB, free: 81.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.8996, allocations: 3.938 kB / 0.728 GB, free: 81.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.004679/0.9042, allocations: 2.322 MB / 0.7303 GB, free: 78.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.9045, allocations: 1.549 MB / 0.7318 GB, free: 77.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9045, allocations: 4 kB / 0.7318 GB, free: 77.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008521/0.913, allocations: 2.461 MB / 0.7342 GB, free: 74.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.9144, allocations: 247.7 kB / 0.7344 GB, free: 74.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.9199, allocations: 3.193 MB / 0.7375 GB, free: 71.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/0.9225, allocations: 274.6 kB / 0.7378 GB, free: 70.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.9227, allocations: 55.98 kB / 0.7378 GB, free: 70.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.9227, allocations: 4 kB / 0.7379 GB, free: 70.75 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004256/0.927, allocations: 2.104 MB / 0.7399 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.927, allocations: 4 kB / 0.7399 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008613/0.9356, allocations: 2.471 MB / 0.7423 GB, free: 66.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.9369, allocations: 231.7 kB / 0.7425 GB, free: 65.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/0.9422, allocations: 3.188 MB / 0.7457 GB, free: 62.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.9449, allocations: 266.6 kB / 0.7459 GB, free: 62.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.9451, allocations: 55.98 kB / 0.746 GB, free: 62.38 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.0003579/0.9454, allocations: 120.7 kB / 0.7461 GB, free: 62.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003805/0.9458, allocations: 185.7 kB / 0.7463 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/0.9622, allocations: 5.41 MB / 0.7515 GB, free: 56.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.9623, allocations: 20 kB / 0.7516 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.9623, allocations: 3.906 kB / 0.7516 GB, free: 56.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.9623, allocations: 7.969 kB / 0.7516 GB, free: 56.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01914/0.9815, allocations: 7.457 MB / 0.7589 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.9815, allocations: 4 kB / 0.7589 GB, free: 49.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.9829, allocations: 195.8 kB / 0.759 GB, free: 48.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00657/0.9895, allocations: 2.064 MB / 0.7611 GB, free: 46.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/0.9898, allocations: 19.92 kB / 0.7611 GB, free: 46.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/1.007, allocations: 7.168 MB / 0.7681 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.007, allocations: 0 / 0.7681 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01771/1.025, allocations: 6.559 MB / 0.7745 GB, free: 32.97 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/1.025, allocations: 294.5 kB / 0.7748 GB, free: 32.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003712/1.026, allocations: 4 kB / 0.7748 GB, free: 32.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/1.028, allocations: 199.8 kB / 0.775 GB, free: 32.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/1.028, allocations: 184.8 kB / 0.7751 GB, free: 32.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.028, allocations: 39.98 kB / 0.7752 GB, free: 32.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001139/1.03, allocations: 0.9044 MB / 0.7761 GB, free: 31.35 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00201/1.032, allocations: 0.7912 MB / 0.7768 GB, free: 30.55 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.0003739/1.032, allocations: 182.6 kB / 0.777 GB, free: 30.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01347/1.045, allocations: 4.522 MB / 0.7814 GB, free: 25.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.046, allocations: 4 kB / 0.7814 GB, free: 25.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006061/1.052, allocations: 1.918 MB / 0.7833 GB, free: 23.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/1.053, allocations: 117.7 kB / 0.7834 GB, free: 23.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/1.06, allocations: 2.865 MB / 0.7862 GB, free: 20.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.061, allocations: 1.457 MB / 0.7876 GB, free: 19.41 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.061, allocations: 0 / 0.7876 GB, free: 19.41 MB / 490.7 MB Notification: Performance of Templates: time 0.05996/1.121, allocations: 39.63 MB / 0.8263 GB, free: 11.88 MB / 0.5105 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.makefile (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 & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.pipe 2>&1)