Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002405/0.002405, allocations: 185.2 kB / 7.459 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.089/1.089, allocations: 205.2 MB / 213.1 MB, free: 13.85 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.001053/0.001054, allocations: 102.2 kB / 261.1 MB, free: 13.53 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.07019/0.07019, allocations: 12.59 MB / 321.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3203/0.3203, allocations: 78.05 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.673e-06/6.713e-06, allocations: 0 / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 69.32 MB / 0.5818 GB, free: 8.766 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.44, allocations: 100.3 MB / 0.6798 GB, free: 7.926 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4403, allocations: 82.06 kB / 0.6798 GB, free: 7.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.083/0.5233, allocations: 31.05 MB / 0.7102 GB, free: 14.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.547e-05/0.5234, allocations: 20 kB / 0.7102 GB, free: 14.28 MB / 458.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.004927/0.5283, allocations: 1.816 MB / 0.712 GB, free: 12.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/0.5284, allocations: 11.97 kB / 0.712 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/0.5324, allocations: 0.5837 MB / 0.7125 GB, free: 11.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.534, allocations: 0.7983 MB / 0.7133 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.5343, allocations: 240.2 kB / 0.7136 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.5344, allocations: 50.72 kB / 0.7136 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001522/0.5359, allocations: 0.8147 MB / 0.7144 GB, free: 10.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.5375, allocations: 0.8498 MB / 0.7152 GB, free: 9.898 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.5376, allocations: 4 kB / 0.7152 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.5377, allocations: 0.9375 kB / 0.7152 GB, free: 9.895 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.5377, allocations: 20 kB / 0.7152 GB, free: 9.875 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006818/0.5445, allocations: 3.836 MB / 0.719 GB, free: 6.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.5457, allocations: 0.6307 MB / 0.7196 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.5465, allocations: 0.5218 MB / 0.7201 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.5466, allocations: 16.58 kB / 0.7201 GB, free: 6.133 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009855/0.5476, allocations: 0.6543 MB / 0.7208 GB, free: 5.688 MB / 458.7 MB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.5476, allocations: 4 kB / 0.7208 GB, free: 5.684 MB / 458.7 MB Notification: Performance of matching and sorting (n=98): time 0.01308/0.5607, allocations: 4.208 MB / 0.7249 GB, free: 1.992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.5608, allocations: 119.6 kB / 0.725 GB, free: 1.852 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.5622, allocations: 0.8615 MB / 0.7258 GB, free: 1.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.5623, allocations: 25.7 kB / 0.7259 GB, free: 1.191 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.5625, allocations: 322 kB / 0.7262 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/0.563, allocations: 343.7 kB / 0.7265 GB, free: 0.625 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.17e-05/0.563, allocations: 0 / 0.7265 GB, free: 0.625 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5632, allocations: 344.7 kB / 0.7268 GB, free: 304 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.5639, allocations: 462.2 kB / 0.7273 GB, free: 56 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.5648, allocations: 0.5845 MB / 0.7278 GB, free: 15.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/0.5656, allocations: 0.4986 MB / 0.7283 GB, free: 15.38 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5656, allocations: 0 / 0.7283 GB, free: 15.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01329/0.5789, allocations: 4.305 MB / 0.7325 GB, free: 11.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.579, allocations: 4 kB / 0.7325 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.579, allocations: 4 kB / 0.7325 GB, free: 11.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006373/0.5854, allocations: 1.658 MB / 0.7342 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.5866, allocations: 187.1 kB / 0.7343 GB, free: 9.953 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01532/0.6019, allocations: 7.338 MB / 0.7415 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.6039, allocations: 191.1 kB / 0.7417 GB, free: 3.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.604, allocations: 43.98 kB / 0.7417 GB, free: 2.98 MB / 474.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.0003613/0.6044, allocations: 162.1 kB / 0.7419 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6046, allocations: 126.4 kB / 0.742 GB, free: 2.688 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/0.6187, allocations: 4.304 MB / 0.7462 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.6187, allocations: 19.98 kB / 0.7462 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.6188, allocations: 8 kB / 0.7462 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/0.6188, allocations: 7.969 kB / 0.7462 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.6335, allocations: 5.749 MB / 0.7519 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.6336, allocations: 0 / 0.7519 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/0.6345, allocations: 111.8 kB / 0.752 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005051/0.6395, allocations: 1.532 MB / 0.7535 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.6398, allocations: 8 kB / 0.7535 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/0.6539, allocations: 7.121 MB / 0.7604 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.654, allocations: 0 / 0.7604 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01461/0.6686, allocations: 5.097 MB / 0.7654 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005842/0.6692, allocations: 231.2 kB / 0.7656 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002485/0.6695, allocations: 11.97 kB / 0.7656 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.6709, allocations: 143.9 kB / 0.7658 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.6712, allocations: 112.8 kB / 0.7659 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.755e-05/0.6713, allocations: 31.98 kB / 0.7659 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.000958/0.6723, allocations: 0.6497 MB / 0.7665 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001375/0.6737, allocations: 407.5 kB / 0.7669 GB, free: 8.75 MB / 0.4948 GB 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.0003071/0.674, allocations: 139 kB / 0.7671 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005471/0.6795, allocations: 2.106 MB / 0.7691 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6795, allocations: 0 / 0.7691 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003968/0.6835, allocations: 1.516 MB / 0.7706 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009143/0.6844, allocations: 86.48 kB / 0.7707 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.6891, allocations: 1.902 MB / 0.7725 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009916/0.6901, allocations: 1.213 MB / 0.7737 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of SimCode: time 6.12e-07/0.6901, allocations: 0 / 0.7737 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of Templates: time 0.03153/0.7217, allocations: 20.2 MB / 0.7934 GB, free: 13.43 MB / 0.5261 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)