Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") [: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.002298/0.002298, allocations: 184 kB / 7.456 MB, free: 2.453 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.196/1.196, allocations: 221.4 MB / 229.3 MB, free: 3.039 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.000976/0.000976, allocations: 97.14 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4124/0.4124, allocations: 78.06 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.325e-06/8.346e-06, allocations: 4 kB / 484.3 MB, free: 4.453 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 69.34 MB / 0.5407 GB, free: 21.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3489, allocations: 98.69 MB / 0.6371 GB, free: 6.184 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3492, allocations: 79.94 kB / 0.6372 GB, free: 6.102 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09323/0.4424, allocations: 31.88 MB / 0.6683 GB, free: 6.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.033e-05/0.4425, allocations: 28 kB / 0.6683 GB, free: 5.992 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004676/0.4472, allocations: 1.808 MB / 0.6701 GB, free: 4.121 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.4472, allocations: 8.031 kB / 0.6701 GB, free: 4.113 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.4511, allocations: 0.5874 MB / 0.6707 GB, free: 3.523 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4525, allocations: 0.8058 MB / 0.6714 GB, free: 2.664 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003123/0.4529, allocations: 240.2 kB / 0.6717 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.453, allocations: 51.91 kB / 0.6717 GB, free: 2.344 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/0.4547, allocations: 0.8123 MB / 0.6725 GB, free: 1.531 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.4563, allocations: 0.8485 MB / 0.6733 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4563, allocations: 4 kB / 0.6734 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.4564, allocations: 0 / 0.6734 GB, free: 0.668 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.4565, allocations: 20 kB / 0.6734 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1468/0.6033, allocations: 3.826 MB / 0.6771 GB, free: 141.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.6045, allocations: 0.6304 MB / 0.6777 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007215/0.6052, allocations: 0.5266 MB / 0.6782 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.6054, allocations: 18.84 kB / 0.6783 GB, free: 141.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009344/0.6063, allocations: 0.6536 MB / 0.6789 GB, free: 141 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 4.749e-06/0.6063, allocations: 0 / 0.6789 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.013/0.6193, allocations: 4.215 MB / 0.683 GB, free: 140.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.6194, allocations: 114.2 kB / 0.6831 GB, free: 140.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/0.6204, allocations: 0.8576 MB / 0.684 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.165e-05/0.6205, allocations: 29.89 kB / 0.684 GB, free: 140.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.6206, allocations: 329.5 kB / 0.6843 GB, free: 140.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.6209, allocations: 334.1 kB / 0.6846 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.621, allocations: 0.5312 kB / 0.6846 GB, free: 140.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.6211, allocations: 350.5 kB / 0.685 GB, free: 140 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007538/0.6218, allocations: 467.7 kB / 0.6854 GB, free: 140 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.6226, allocations: 0.5776 MB / 0.686 GB, free: 139.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.6235, allocations: 0.4999 MB / 0.6864 GB, free: 139.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6235, allocations: 3.625 kB / 0.6865 GB, free: 139.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01339/0.6369, allocations: 4.301 MB / 0.6907 GB, free: 139.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.6369, allocations: 3.938 kB / 0.6907 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6369, allocations: 6.719 kB / 0.6907 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006419/0.6433, allocations: 1.661 MB / 0.6923 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.6444, allocations: 177.1 kB / 0.6925 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01518/0.6596, allocations: 7.324 MB / 0.6996 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.6615, allocations: 194 kB / 0.6998 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.6617, allocations: 42.16 kB / 0.6998 GB, free: 136.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003294/0.662, allocations: 157.1 kB / 0.7 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.6623, allocations: 131.7 kB / 0.7001 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.676, allocations: 4.32 MB / 0.7043 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.6761, allocations: 14.89 kB / 0.7043 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/0.6761, allocations: 10.38 kB / 0.7044 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.6761, allocations: 3.891 kB / 0.7044 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.6911, allocations: 5.749 MB / 0.71 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.6911, allocations: 3.719 kB / 0.71 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007499/0.6918, allocations: 105.6 kB / 0.7101 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005023/0.6969, allocations: 1.537 MB / 0.7116 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.697, allocations: 9.328 kB / 0.7116 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.7103, allocations: 7.128 MB / 0.7185 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7103, allocations: 2.719 kB / 0.7185 GB, free: 131.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01394/0.7243, allocations: 5.083 MB / 0.7235 GB, free: 129.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.7247, allocations: 231.5 kB / 0.7237 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.725, allocations: 11.11 kB / 0.7237 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.7264, allocations: 140.8 kB / 0.7239 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/0.7268, allocations: 111.3 kB / 0.724 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7269, allocations: 30.7 kB / 0.724 GB, free: 129.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008898/0.7278, allocations: 0.6537 MB / 0.7246 GB, free: 129.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001306/0.7291, allocations: 413.2 kB / 0.725 GB, free: 129.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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: 1 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.7294, allocations: 137.2 kB / 0.7252 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005881/0.7352, allocations: 2.102 MB / 0.7272 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.7353, allocations: 0 / 0.7272 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004582/0.7399, allocations: 1.516 MB / 0.7287 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.7409, allocations: 89.98 kB / 0.7288 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00487/0.7458, allocations: 1.909 MB / 0.7307 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009666/0.7468, allocations: 1.213 MB / 0.7318 GB, free: 126.1 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7468, allocations: 0 / 0.7318 GB, free: 126.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02766/0.7745, allocations: 20.2 MB / 0.7516 GB, free: 115.5 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)