Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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 3.2.3+maint.om/package.mo): time 0.002277/0.002277, allocations: 178.8 kB / 7.451 MB, free: 2.512 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.104/1.104, allocations: 205.2 MB / 213.1 MB, free: 13.86 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.0009157/0.0009157, allocations: 92.19 kB / 261.1 MB, free: 13.54 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.06622/0.06622, allocations: 12.59 MB / 321.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2803/0.2803, allocations: 78.04 MB / 450.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.831e-06, allocations: 0 / 0.5141 GB, free: 1.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1268, allocations: 69.32 MB / 0.5818 GB, free: 12.16 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3557/0.4825, allocations: 103.2 MB / 0.6826 GB, free: 14.42 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4828, allocations: 75.2 kB / 0.6827 GB, free: 14.42 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.2547/0.7375, allocations: 95.6 MB / 0.7761 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004382/0.738, allocations: 87.94 kB / 0.7761 GB, free: 2.559 MB / 0.5261 GB 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.02101/0.759, allocations: 6.01 MB / 0.782 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.759, allocations: 11.97 kB / 0.782 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01958/0.7786, allocations: 2.931 MB / 0.7849 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007027/0.7857, allocations: 2.304 MB / 0.7871 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.7869, allocations: 0.8501 MB / 0.788 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.7884, allocations: 211.9 kB / 0.7882 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01063/0.7991, allocations: 3.447 MB / 0.7915 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0121/0.8112, allocations: 3.61 MB / 0.7951 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/0.8114, allocations: 0 / 0.7951 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.8124, allocations: 3.984 kB / 0.7951 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-05/0.8126, allocations: 84 kB / 0.7951 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04434/0.8569, allocations: 18.69 MB / 0.8134 GB, free: 11.26 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004796/0.8618, allocations: 2.271 MB / 0.8156 GB, free: 8.973 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004562/0.8664, allocations: 2.124 MB / 0.8177 GB, free: 6.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.8674, allocations: 70.12 kB / 0.8178 GB, free: 6.781 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.8676, allocations: 77.5 kB / 0.8178 GB, free: 6.695 MB / 0.573 GB Notification: Performance of pre-optimization done (n=382): time 9.608e-06/0.8676, allocations: 4 kB / 0.8178 GB, free: 6.691 MB / 0.573 GB Notification: Performance of matching and sorting (n=382): time 0.06177/0.9294, allocations: 18.27 MB / 0.8357 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.9295, allocations: 171.5 kB / 0.8358 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006033/0.9355, allocations: 2.48 MB / 0.8383 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/0.9366, allocations: 25.7 kB / 0.8383 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.9378, allocations: 1.174 MB / 0.8394 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003329/0.9411, allocations: 1.258 MB / 0.8407 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008547/0.942, allocations: 0 / 0.8407 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000344/0.9424, allocations: 449.6 kB / 0.8411 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003792/0.9462, allocations: 1.769 MB / 0.8428 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/0.9503, allocations: 2.338 MB / 0.8451 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003994/0.9543, allocations: 1.976 MB / 0.847 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/0.9544, allocations: 4 kB / 0.847 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of matching and sorting (n=463) (initialization): time 0.05901/1.013, allocations: 18.43 MB / 0.865 GB, free: 6.051 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002276/1.016, allocations: 6.61 MB / 0.8715 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-05/1.016, allocations: 16 kB / 0.8715 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02656/1.042, allocations: 7.219 MB / 0.8786 GB, free: 7.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/1.046, allocations: 0.5421 MB / 0.8791 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2601/1.306, allocations: 23.44 MB / 0.902 GB, free: 195.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005865/1.312, allocations: 0.6628 MB / 0.9026 GB, free: 195.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/1.312, allocations: 138.4 kB / 0.9028 GB, free: 195.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/1.312, allocations: 3.75 kB / 0.9028 GB, free: 195.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05113/1.363, allocations: 17.94 MB / 0.9203 GB, free: 195.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.215e-05/1.364, allocations: 15.69 kB / 0.9203 GB, free: 195.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02387/1.387, allocations: 7.215 MB / 0.9273 GB, free: 195.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/1.39, allocations: 0.5263 MB / 0.9279 GB, free: 195.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05552/1.446, allocations: 23.43 MB / 0.9507 GB, free: 193 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006066/1.452, allocations: 0.6387 MB / 0.9514 GB, free: 192.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007875/1.453, allocations: 136.1 kB / 0.9515 GB, free: 192.9 MB / 0.6511 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.0009248/1.454, allocations: 191.8 kB / 0.9517 GB, free: 192.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/1.455, allocations: 465.9 kB / 0.9521 GB, free: 192.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05086/1.506, allocations: 18.7 MB / 0.9704 GB, free: 191.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.002e-05/1.506, allocations: 37.97 kB / 0.9704 GB, free: 191.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/1.506, allocations: 33.48 kB / 0.9704 GB, free: 191.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.663e-05/1.506, allocations: 15.23 kB / 0.9705 GB, free: 191.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05987/1.566, allocations: 23.65 MB / 0.9936 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/1.566, allocations: 0.8438 kB / 0.9936 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002845/1.569, allocations: 408.5 kB / 0.9939 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02389/1.593, allocations: 7.195 MB / 1.001 GB, free: 183.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00117/1.594, allocations: 23.47 kB / 1.001 GB, free: 183.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04743/1.641, allocations: 20.07 MB / 1.021 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/1.641, allocations: 4 kB / 1.021 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05608/1.698, allocations: 21.65 MB / 1.042 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.699, allocations: 0.5585 MB / 1.042 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000927/1.7, allocations: 4 kB / 1.042 GB, free: 147.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004278/1.704, allocations: 481.8 kB / 1.043 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/1.705, allocations: 450.6 kB / 1.043 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003396/1.706, allocations: 91.14 kB / 1.043 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.002295/1.708, allocations: 1.838 MB / 1.045 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.006061/1.714, allocations: 2.596 MB / 1.048 GB, free: 142.8 MB / 0.6511 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.0005029/1.715, allocations: 159.6 kB / 1.048 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.03842/1.753, allocations: 14.17 MB / 1.062 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.753, allocations: 6.625 kB / 1.062 GB, free: 129.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01816/1.771, allocations: 5.836 MB / 1.067 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.775, allocations: 248.2 kB / 1.068 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/1.792, allocations: 6.424 MB / 1.074 GB, free: 118.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00246/1.795, allocations: 2.673 MB / 1.076 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.795, allocations: 0 / 1.076 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.1544/1.949, allocations: 114.7 MB / 1.188 GB, free: 12.11 MB / 0.6511 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)