Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") [: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.004205/0.004205, allocations: 180.7 kB / 7.454 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.281/1.281, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0009987/0.0009987, allocations: 102.3 kB / 280.1 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4037/0.4037, allocations: 78.06 MB / 409 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.903e-06, allocations: 4 kB / 484.3 MB, free: 4.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2526, allocations: 69.35 MB / 0.5407 GB, free: 21.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3679, allocations: 101.6 MB / 0.64 GB, free: 3.098 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.3682, allocations: 75.95 kB / 0.64 GB, free: 3.023 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4335/0.8017, allocations: 98.66 MB / 0.7364 GB, free: 71.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002173/0.8019, allocations: 92 kB / 0.7365 GB, free: 71.27 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.01638/0.8183, allocations: 6.02 MB / 0.7423 GB, free: 65.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.8184, allocations: 8.031 kB / 0.7423 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.8366, allocations: 2.92 MB / 0.7452 GB, free: 62.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/0.8404, allocations: 2.302 MB / 0.7474 GB, free: 59.85 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006342/0.8411, allocations: 0.858 MB / 0.7483 GB, free: 58.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005792/0.8417, allocations: 203.9 kB / 0.7485 GB, free: 58.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006044/0.8477, allocations: 3.447 MB / 0.7518 GB, free: 55.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006056/0.8538, allocations: 3.61 MB / 0.7554 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/0.8539, allocations: 0 / 0.7554 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004/0.8543, allocations: 0 / 0.7554 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/0.8543, allocations: 87.94 kB / 0.7555 GB, free: 51.49 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.8837, allocations: 18.69 MB / 0.7737 GB, free: 31.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/0.8872, allocations: 2.271 MB / 0.7759 GB, free: 29.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003014/0.8902, allocations: 2.125 MB / 0.778 GB, free: 27.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004369/0.8907, allocations: 82.91 kB / 0.7781 GB, free: 27.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.8907, allocations: 69.56 kB / 0.7781 GB, free: 27.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=382): time 5.7e-06/0.8907, allocations: 0 / 0.7781 GB, free: 27.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=382): time 0.0556/0.9463, allocations: 18.26 MB / 0.796 GB, free: 8.863 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.9464, allocations: 179.4 kB / 0.7961 GB, free: 8.656 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.9501, allocations: 2.48 MB / 0.7986 GB, free: 6.164 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007888/0.9509, allocations: 25.7 kB / 0.7986 GB, free: 6.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000506/0.9514, allocations: 1.182 MB / 0.7997 GB, free: 4.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002219/0.9536, allocations: 1.254 MB / 0.801 GB, free: 3.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003294/0.9539, allocations: 0 / 0.801 GB, free: 3.656 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.9541, allocations: 441.7 kB / 0.8014 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002937/0.957, allocations: 1.773 MB / 0.8031 GB, free: 1.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003437/0.9605, allocations: 2.334 MB / 0.8054 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003673/0.9642, allocations: 1.976 MB / 0.8073 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.9642, allocations: 4 kB / 0.8073 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.06062/1.025, allocations: 18.44 MB / 0.8253 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002391/1.027, allocations: 6.615 MB / 0.8318 GB, free: 3.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-05/1.027, allocations: 12 kB / 0.8318 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02768/1.055, allocations: 7.224 MB / 0.8389 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003193/1.058, allocations: 0.5344 MB / 0.8394 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06297/1.121, allocations: 23.44 MB / 0.8623 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006083/1.127, allocations: 0.6645 MB / 0.8629 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005299/1.128, allocations: 140 kB / 0.8631 GB, free: 3.016 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/1.128, allocations: 4 kB / 0.8631 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05924/1.187, allocations: 17.93 MB / 0.8806 GB, free: 1.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-05/1.187, allocations: 16 kB / 0.8806 GB, free: 1.027 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02724/1.214, allocations: 7.224 MB / 0.8877 GB, free: 9.789 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/1.218, allocations: 0.5304 MB / 0.8882 GB, free: 9.258 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2174/1.435, allocations: 23.42 MB / 0.911 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/1.441, allocations: 0.6337 MB / 0.9117 GB, free: 175.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005344/1.442, allocations: 135.8 kB / 0.9118 GB, free: 175.5 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (326): * Single equations (assignments): 322 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.001091/1.443, allocations: 197.4 kB / 0.912 GB, free: 175.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.444, allocations: 455 kB / 0.9124 GB, free: 175.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05559/1.5, allocations: 18.71 MB / 0.9307 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/1.5, allocations: 35.09 kB / 0.9307 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/1.5, allocations: 27.41 kB / 0.9307 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.862e-05/1.5, allocations: 23.62 kB / 0.9308 GB, free: 174.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06459/1.565, allocations: 23.64 MB / 0.9539 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.565, allocations: 1 kB / 0.9539 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002909/1.568, allocations: 418.2 kB / 0.9543 GB, free: 173.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02476/1.592, allocations: 7.19 MB / 0.9613 GB, free: 173.2 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008686/1.593, allocations: 19.58 kB / 0.9613 GB, free: 173.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0532/1.646, allocations: 20.08 MB / 0.9809 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.647, allocations: 1.219 kB / 0.9809 GB, free: 166.4 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.061/1.708, allocations: 21.65 MB / 1.002 GB, free: 150 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/1.709, allocations: 0.558 MB / 1.003 GB, free: 149.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/1.71, allocations: 11.89 kB / 1.003 GB, free: 149.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004695/1.715, allocations: 476.2 kB / 1.003 GB, free: 149.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/1.716, allocations: 452.8 kB / 1.003 GB, free: 148.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003838/1.716, allocations: 91.84 kB / 1.004 GB, free: 148.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.002332/1.719, allocations: 1.838 MB / 1.005 GB, free: 147.2 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006053/1.725, allocations: 2.597 MB / 1.008 GB, free: 144.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(100,5.4%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005274/1.725, allocations: 161.1 kB / 1.008 GB, free: 144.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03978/1.765, allocations: 14.18 MB / 1.022 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.765, allocations: 0 / 1.022 GB, free: 131.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01802/1.783, allocations: 5.834 MB / 1.028 GB, free: 126.7 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/1.786, allocations: 255.5 kB / 1.028 GB, free: 126.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.804, allocations: 6.42 MB / 1.034 GB, free: 120.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/1.807, allocations: 2.674 MB / 1.037 GB, free: 118.6 MB / 0.573 GB Notification: Performance of SimCode: time 6.51e-07/1.807, allocations: 0 / 1.037 GB, free: 118.6 MB / 0.573 GB Notification: Performance of Templates: time 0.1488/1.955, allocations: 114.7 MB / 1.149 GB, free: 17.7 MB / 0.573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)