Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.002337/0.002337, allocations: 179.2 kB / 7.452 MB, free: 2.508 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.229/1.229, allocations: 221.4 MB / 229.3 MB, free: 3.227 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.001124/0.001124, allocations: 91.16 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4169/0.4169, allocations: 78.07 MB / 409 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.69e-06/5.73e-06, allocations: 0 / 484.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2444, allocations: 69.35 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3545, allocations: 98.45 MB / 0.6369 GB, free: 6.324 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.3547, allocations: 79.95 kB / 0.6369 GB, free: 6.246 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09492/0.4496, allocations: 31.46 MB / 0.6676 GB, free: 6.582 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.375e-05/0.4498, allocations: 27.94 kB / 0.6677 GB, free: 6.555 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005166/0.455, allocations: 1.773 MB / 0.6694 GB, free: 4.719 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.455, allocations: 15.97 kB / 0.6694 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00402/0.459, allocations: 0.5835 MB / 0.67 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4608, allocations: 0.7902 MB / 0.6708 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.4612, allocations: 244.2 kB / 0.671 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002435/0.4615, allocations: 47.91 kB / 0.671 GB, free: 2.953 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001816/0.4633, allocations: 0.8123 MB / 0.6718 GB, free: 2.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.465, allocations: 0.8368 MB / 0.6727 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4651, allocations: 4 kB / 0.6727 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.4652, allocations: 0 / 0.6727 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.4652, allocations: 23.94 kB / 0.6727 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2028/0.668, allocations: 3.794 MB / 0.6764 GB, free: 75.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.6692, allocations: 0.6237 MB / 0.677 GB, free: 75.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.6699, allocations: 0.5161 MB / 0.6775 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.67, allocations: 18.23 kB / 0.6775 GB, free: 75.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009354/0.671, allocations: 0.6477 MB / 0.6781 GB, free: 75.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.546e-06/0.671, allocations: 5.656 kB / 0.6782 GB, free: 75.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01308/0.6841, allocations: 4.188 MB / 0.6822 GB, free: 75.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.6841, allocations: 120.9 kB / 0.6824 GB, free: 75.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6853, allocations: 0.8485 MB / 0.6832 GB, free: 74.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.6855, allocations: 25.7 kB / 0.6832 GB, free: 74.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.6856, allocations: 325.8 kB / 0.6835 GB, free: 74.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003354/0.6859, allocations: 332.9 kB / 0.6838 GB, free: 74.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.686, allocations: 0 / 0.6838 GB, free: 74.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.981e-05/0.6861, allocations: 350.2 kB / 0.6842 GB, free: 74.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007468/0.6868, allocations: 449.9 kB / 0.6846 GB, free: 74.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007762/0.6876, allocations: 0.5699 MB / 0.6852 GB, free: 74.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/0.6884, allocations: 0.4922 MB / 0.6856 GB, free: 74.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6885, allocations: 0 / 0.6856 GB, free: 74.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01289/0.7013, allocations: 4.217 MB / 0.6898 GB, free: 73.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7014, allocations: 7.156 kB / 0.6898 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7014, allocations: 3.719 kB / 0.6898 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005803/0.7072, allocations: 1.577 MB / 0.6913 GB, free: 73.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.7086, allocations: 203.7 kB / 0.6915 GB, free: 73.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.7224, allocations: 5.968 MB / 0.6973 GB, free: 72.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.7242, allocations: 189.5 kB / 0.6975 GB, free: 72.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.7244, allocations: 39.88 kB / 0.6975 GB, free: 72.16 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-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 (98): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.7247, allocations: 162.9 kB / 0.6977 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002639/0.725, allocations: 126.9 kB / 0.6978 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.7391, allocations: 4.291 MB / 0.702 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.7391, allocations: 14.47 kB / 0.702 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/0.7392, allocations: 6.562 kB / 0.702 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.7392, allocations: 7.688 kB / 0.702 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.7543, allocations: 5.72 MB / 0.7076 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7543, allocations: 0 / 0.7076 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.7551, allocations: 107.2 kB / 0.7077 GB, free: 68.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005056/0.7601, allocations: 1.533 MB / 0.7092 GB, free: 67.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.7603, allocations: 7.5 kB / 0.7092 GB, free: 67.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01309/0.7734, allocations: 7.15 MB / 0.7162 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.7734, allocations: 0 / 0.7162 GB, free: 62.86 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01438/0.7878, allocations: 5.06 MB / 0.7212 GB, free: 59.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/0.7883, allocations: 228.5 kB / 0.7214 GB, free: 59.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.7886, allocations: 0 / 0.7214 GB, free: 59.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.7901, allocations: 145.7 kB / 0.7215 GB, free: 59.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/0.7904, allocations: 115.9 kB / 0.7216 GB, free: 59.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-05/0.7905, allocations: 19.56 kB / 0.7216 GB, free: 59.18 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007823/0.7913, allocations: 0.6496 MB / 0.7223 GB, free: 58.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001223/0.7925, allocations: 392.5 kB / 0.7227 GB, free: 58.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (65): * Single equations (assignments): 62 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000254/0.7928, allocations: 149.3 kB / 0.7228 GB, free: 58.28 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004927/0.7977, allocations: 1.977 MB / 0.7247 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7977, allocations: 2.344 kB / 0.7247 GB, free: 56.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003851/0.8016, allocations: 1.498 MB / 0.7262 GB, free: 55.83 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.8024, allocations: 87.8 kB / 0.7263 GB, free: 55.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.8066, allocations: 1.828 MB / 0.7281 GB, free: 54.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007741/0.8074, allocations: 1.208 MB / 0.7292 GB, free: 53.33 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8074, allocations: 0 / 0.7292 GB, free: 53.33 MB / 490.7 MB Notification: Performance of Templates: time 0.02835/0.8357, allocations: 19.71 MB / 0.7485 GB, free: 36.33 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)