Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.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.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII") [: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.003053/0.003053, allocations: 179.2 kB / 7.455 MB, free: 2.508 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.146/1.146, 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.0009484/0.0009485, allocations: 93.11 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.06831/0.06831, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2856/0.2856, allocations: 78.04 MB / 450.4 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.292e-06/6.312e-06, allocations: 0 / 0.5141 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 69.32 MB / 0.5818 GB, free: 8.742 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3206/0.4587, allocations: 99.43 MB / 0.6789 GB, free: 8.766 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.4589, allocations: 75.64 kB / 0.679 GB, free: 8.727 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.1458/0.6047, allocations: 58.08 MB / 0.7357 GB, free: 9.172 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000124/0.6049, allocations: 55.88 kB / 0.7358 GB, free: 9.117 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 487 * Number of variables: 487 Notification: Performance of Generate backend data structure: time 0.01113/0.616, allocations: 3.897 MB / 0.7396 GB, free: 5.477 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.6161, allocations: 11.97 kB / 0.7396 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.6263, allocations: 1.64 MB / 0.7412 GB, free: 3.965 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.6292, allocations: 1.484 MB / 0.7426 GB, free: 2.457 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005572/0.6298, allocations: 0.6123 MB / 0.7432 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.6301, allocations: 127.8 kB / 0.7434 GB, free: 1.621 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003826/0.634, allocations: 2.077 MB / 0.7454 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/0.6378, allocations: 2.146 MB / 0.7475 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/0.6378, allocations: 0 / 0.7475 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002187/0.638, allocations: 0 / 0.7475 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.6381, allocations: 51.91 kB / 0.7475 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01926/0.6573, allocations: 9.474 MB / 0.7568 GB, free: 3.473 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.661, allocations: 1.939 MB / 0.7587 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/0.6631, allocations: 1.362 MB / 0.76 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.6633, allocations: 45.89 kB / 0.76 GB, free: 124 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.6634, allocations: 56.56 kB / 0.7601 GB, free: 56 kB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 3.877e-06/0.6634, allocations: 0 / 0.7601 GB, free: 56 kB / 490.7 MB Notification: Performance of matching and sorting (n=228): time 0.03957/0.703, allocations: 12.72 MB / 0.7725 GB, free: 3.309 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.7031, allocations: 128.8 kB / 0.7726 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.7057, allocations: 1.491 MB / 0.7741 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006117/0.7063, allocations: 25.7 kB / 0.7741 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/0.7067, allocations: 0.6555 MB / 0.7748 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.7079, allocations: 0.758 MB / 0.7755 GB, free: 188 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.7081, allocations: 0 / 0.7755 GB, free: 188 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7083, allocations: 386.2 kB / 0.7759 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001969/0.7103, allocations: 1.125 MB / 0.777 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.7124, allocations: 1.408 MB / 0.7783 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.7145, allocations: 1.226 MB / 0.7795 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7145, allocations: 4 kB / 0.7795 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.03976/0.7543, allocations: 12.83 MB / 0.7921 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008234/0.7551, allocations: 2.719 MB / 0.7947 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.7551, allocations: 8 kB / 0.7947 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01755/0.7727, allocations: 5.192 MB / 0.7998 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001926/0.7747, allocations: 319.5 kB / 0.8001 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03979/0.8145, allocations: 15.49 MB / 0.8152 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.8183, allocations: 485.8 kB / 0.8157 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003048/0.8186, allocations: 79.97 kB / 0.8158 GB, free: 6.418 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.8186, allocations: 4 kB / 0.8158 GB, free: 6.414 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03914/0.8577, allocations: 12.5 MB / 0.828 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.8578, allocations: 8 kB / 0.828 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01781/0.8756, allocations: 5.196 MB / 0.8331 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.8775, allocations: 311.5 kB / 0.8334 GB, free: 4.379 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03985/0.9173, allocations: 15.48 MB / 0.8485 GB, free: 4.762 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/0.9211, allocations: 458 kB / 0.8489 GB, free: 4.312 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/0.9214, allocations: 79.98 kB / 0.849 GB, free: 4.234 MB / 0.573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0006255/0.922, allocations: 149.9 kB / 0.8491 GB, free: 4.082 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005603/0.9226, allocations: 272.6 kB / 0.8494 GB, free: 3.812 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2015/1.124, allocations: 12.95 MB / 0.8621 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/1.124, allocations: 23.58 kB / 0.8621 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.562e-05/1.124, allocations: 23.22 kB / 0.8621 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.71e-05/1.124, allocations: 11.58 kB / 0.8621 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04163/1.166, allocations: 16.11 MB / 0.8778 GB, free: 220.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/1.166, allocations: 0 / 0.8778 GB, free: 220.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.168, allocations: 254.5 kB / 0.8781 GB, free: 220.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01469/1.182, allocations: 4.987 MB / 0.883 GB, free: 219.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005657/1.183, allocations: 14.56 kB / 0.883 GB, free: 219.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0324/1.216, allocations: 13.72 MB / 0.8964 GB, free: 218.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.216, allocations: 7.609 kB / 0.8964 GB, free: 218.1 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04172/1.257, allocations: 14.9 MB / 0.9109 GB, free: 211.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008788/1.258, allocations: 372.1 kB / 0.9113 GB, free: 211 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005528/1.259, allocations: 5.531 kB / 0.9113 GB, free: 211 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002901/1.262, allocations: 370.6 kB / 0.9116 GB, free: 210.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008021/1.262, allocations: 307.4 kB / 0.9119 GB, free: 210.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/1.263, allocations: 58.47 kB / 0.912 GB, free: 210.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001457/1.264, allocations: 1.11 MB / 0.9131 GB, free: 209.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003678/1.268, allocations: 1.533 MB / 0.9146 GB, free: 208.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,Exc1.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003943/1.268, allocations: 147.9 kB / 0.9147 GB, free: 208.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02437/1.293, allocations: 9.125 MB / 0.9236 GB, free: 200.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.293, allocations: 0 / 0.9236 GB, free: 200.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01086/1.304, allocations: 3.801 MB / 0.9273 GB, free: 196.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.305, allocations: 148 kB / 0.9275 GB, free: 196.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01088/1.316, allocations: 4.077 MB / 0.9315 GB, free: 193.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/1.317, allocations: 1.826 MB / 0.9332 GB, free: 191.6 MB / 0.573 GB Notification: Performance of SimCode: time 7.71e-07/1.317, allocations: 4 kB / 0.9332 GB, free: 191.6 MB / 0.573 GB Notification: Performance of Templates: time 0.09284/1.41, allocations: 73.32 MB / 1.005 GB, free: 125.4 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRIII.pipe 2>&1)