Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) [: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.003587/0.003587, allocations: 183 kB / 7.459 MB, free: 2.512 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.274/1.274, allocations: 221.4 MB / 229.3 MB, free: 3.172 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.000987/0.0009871, allocations: 96.77 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4564/0.4564, allocations: 78.05 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1939/0.6503, allocations: 75.49 MB / 484.4 MB, free: 4.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/1.014, allocations: 69.35 MB / 0.5408 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/1.136, allocations: 98.5 MB / 0.637 GB, free: 6.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.137, allocations: 75.95 kB / 0.6371 GB, free: 6.227 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.4372/1.574, allocations: 65.09 MB / 0.7006 GB, free: 96.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.574, allocations: 9.062 kB / 0.7006 GB, free: 96.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01058/1.585, allocations: 1.647 MB / 0.7022 GB, free: 96.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/1.588, allocations: 1.493 MB / 0.7037 GB, free: 95.65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007889/1.589, allocations: 0.6273 MB / 0.7043 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006258/1.59, allocations: 116.2 kB / 0.7044 GB, free: 95.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004698/1.595, allocations: 2.094 MB / 0.7065 GB, free: 94.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/1.599, allocations: 2.166 MB / 0.7086 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/1.599, allocations: 0.6562 kB / 0.7086 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/1.599, allocations: 0 / 0.7086 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.66e-05/1.599, allocations: 46.5 kB / 0.7086 GB, free: 93.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/1.619, allocations: 9.584 MB / 0.718 GB, free: 87.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/1.623, allocations: 1.964 MB / 0.7199 GB, free: 86.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/1.625, allocations: 1.386 MB / 0.7213 GB, free: 85.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/1.625, allocations: 41.72 kB / 0.7213 GB, free: 85.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/1.625, allocations: 60.5 kB / 0.7214 GB, free: 85.71 MB / 490.7 MB Notification: Performance of pre-optimization done (n=230): time 3.947e-06/1.625, allocations: 0 / 0.7214 GB, free: 85.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=230): time 0.03713/1.662, allocations: 12.75 MB / 0.7338 GB, free: 72.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/1.663, allocations: 124.8 kB / 0.7339 GB, free: 72.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002364/1.665, allocations: 1.531 MB / 0.7354 GB, free: 71.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006506/1.666, allocations: 25.7 kB / 0.7354 GB, free: 71.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/1.666, allocations: 0.6674 MB / 0.7361 GB, free: 70.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/1.667, allocations: 0.758 MB / 0.7368 GB, free: 69.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/1.667, allocations: 0 / 0.7368 GB, free: 69.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/1.667, allocations: 394.2 kB / 0.7372 GB, free: 69.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/1.669, allocations: 1.133 MB / 0.7383 GB, free: 68.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/1.671, allocations: 1.428 MB / 0.7397 GB, free: 66.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/1.673, allocations: 1.244 MB / 0.7409 GB, free: 65.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/1.673, allocations: 4 kB / 0.7409 GB, free: 65.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.0379/1.711, allocations: 12.92 MB / 0.7536 GB, free: 52.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005496/1.711, allocations: 2.727 MB / 0.7562 GB, free: 49.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/1.711, allocations: 8 kB / 0.7562 GB, free: 49.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01748/1.729, allocations: 5.274 MB / 0.7614 GB, free: 44.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.731, allocations: 323.5 kB / 0.7617 GB, free: 44.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0407/1.772, allocations: 16.84 MB / 0.7781 GB, free: 27.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.776, allocations: 489.8 kB / 0.7786 GB, free: 26.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000427/1.776, allocations: 71.98 kB / 0.7787 GB, free: 26.49 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/1.776, allocations: 9.969 kB / 0.7787 GB, free: 26.48 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03718/1.814, allocations: 12.61 MB / 0.791 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.971e-05/1.814, allocations: 9.953 kB / 0.791 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0175/1.831, allocations: 5.271 MB / 0.7961 GB, free: 8.605 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.833, allocations: 307.5 kB / 0.7964 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04194/1.875, allocations: 16.83 MB / 0.8129 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/1.88, allocations: 462 kB / 0.8133 GB, free: 6.777 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004565/1.88, allocations: 75.98 kB / 0.8134 GB, free: 6.703 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.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 (189): * Single equations (assignments): 187 * 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: 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007795/1.881, allocations: 149.7 kB / 0.8135 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008124/1.882, allocations: 272.6 kB / 0.8138 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04041/1.922, allocations: 13 MB / 0.8265 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.407e-05/1.923, allocations: 24 kB / 0.8265 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-05/1.923, allocations: 16 kB / 0.8265 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-05/1.923, allocations: 19.86 kB / 0.8265 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0472/1.97, allocations: 16.21 MB / 0.8424 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.97, allocations: 4 kB / 0.8424 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/1.972, allocations: 259.8 kB / 0.8426 GB, free: 8.727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01586/1.988, allocations: 4.983 MB / 0.8475 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005925/1.988, allocations: 19.98 kB / 0.8475 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03597/2.024, allocations: 13.7 MB / 0.8609 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/2.024, allocations: 15.92 kB / 0.8609 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04346/2.068, allocations: 14.97 MB / 0.8755 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2567/2.325, allocations: 17.32 MB / 0.8924 GB, free: 192.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/2.326, allocations: 376.2 kB / 0.8928 GB, free: 192.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006599/2.326, allocations: 3.5 kB / 0.8928 GB, free: 192.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/2.329, allocations: 367.1 kB / 0.8932 GB, free: 192.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000821/2.33, allocations: 318.4 kB / 0.8935 GB, free: 192.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/2.331, allocations: 61.5 kB / 0.8935 GB, free: 192.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.001525/2.332, allocations: 1.148 MB / 0.8946 GB, free: 192.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005286/2.337, allocations: 1.563 MB / 0.8962 GB, free: 192.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 (149): * Single equations (assignments): 148 * 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 {(64,8.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004152/2.338, allocations: 153 kB / 0.8963 GB, free: 192.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02716/2.365, allocations: 9.43 MB / 0.9055 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/2.365, allocations: 0 / 0.9055 GB, free: 191.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/2.377, allocations: 3.832 MB / 0.9093 GB, free: 191.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/2.379, allocations: 152 kB / 0.9094 GB, free: 191.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/2.391, allocations: 4.3 MB / 0.9136 GB, free: 190.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/2.393, allocations: 1.891 MB / 0.9155 GB, free: 189.6 MB / 0.5573 GB Notification: Performance of SimCode: time 2.064e-06/2.393, allocations: 7.625 kB / 0.9155 GB, free: 189.6 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)