Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.003632/0.003632, allocations: 179.9 kB / 7.449 MB, free: 2.32 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.068/1.068, allocations: 205.2 MB / 213.1 MB, free: 13.93 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.0008439/0.0008439, allocations: 92.36 kB / 261.1 MB, free: 13.55 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.05959/0.05959, allocations: 12.59 MB / 321.6 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2801/0.2801, allocations: 78.05 MB / 450.4 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.11e-06/5.13e-06, allocations: 0 / 0.5141 GB, free: 30 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09685, allocations: 69.32 MB / 0.5818 GB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.273/0.3699, allocations: 100.1 MB / 0.6795 GB, free: 8.168 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.3701, allocations: 76.98 kB / 0.6796 GB, free: 8.129 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.154/0.5241, allocations: 59.3 MB / 0.7375 GB, free: 7.438 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001757/0.5243, allocations: 56.88 kB / 0.7376 GB, free: 7.383 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01238/0.5367, allocations: 3.953 MB / 0.7414 GB, free: 3.688 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5368, allocations: 11.97 kB / 0.7415 GB, free: 3.676 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.5472, allocations: 1.649 MB / 0.7431 GB, free: 2.152 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003082/0.5503, allocations: 1.499 MB / 0.7445 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/0.5509, allocations: 0.6201 MB / 0.7451 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/0.5515, allocations: 119.9 kB / 0.7452 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004329/0.5558, allocations: 2.093 MB / 0.7473 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004198/0.56, allocations: 2.158 MB / 0.7494 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.56, allocations: 0 / 0.7494 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.5603, allocations: 15.78 kB / 0.7494 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/0.5603, allocations: 48 kB / 0.7495 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/0.5791, allocations: 9.569 MB / 0.7588 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.5829, allocations: 1.975 MB / 0.7607 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.5851, allocations: 1.378 MB / 0.7621 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/0.5854, allocations: 45.94 kB / 0.7621 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.5854, allocations: 60.47 kB / 0.7622 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=230): time 3.898e-06/0.5854, allocations: 0 / 0.7622 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=230): time 0.04029/0.6257, allocations: 12.75 MB / 0.7746 GB, free: 1.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.6258, allocations: 128.8 kB / 0.7748 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/0.6286, allocations: 1.531 MB / 0.7762 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004931/0.6291, allocations: 25.7 kB / 0.7763 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.6295, allocations: 0.6673 MB / 0.7769 GB, free: 14.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001371/0.6309, allocations: 0.7619 MB / 0.7777 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002748/0.6312, allocations: 3.938 kB / 0.7777 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6314, allocations: 390.3 kB / 0.778 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/0.6335, allocations: 1.133 MB / 0.7792 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.6358, allocations: 1.436 MB / 0.7806 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.638, allocations: 1.24 MB / 0.7818 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.6381, allocations: 4 kB / 0.7818 GB, free: 9.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.04103/0.6791, allocations: 12.92 MB / 0.7944 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009693/0.6801, allocations: 2.731 MB / 0.7971 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.6801, allocations: 8 kB / 0.7971 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01857/0.6987, allocations: 5.267 MB / 0.8022 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.7006, allocations: 319.5 kB / 0.8025 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04318/0.7438, allocations: 16.84 MB / 0.819 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/0.7479, allocations: 481.9 kB / 0.8194 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005611/0.7484, allocations: 83.88 kB / 0.8195 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.7485, allocations: 4 kB / 0.8195 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0414/0.7899, allocations: 12.61 MB / 0.8318 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.921e-05/0.7899, allocations: 8 kB / 0.8318 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01896/0.8089, allocations: 5.282 MB / 0.837 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.8109, allocations: 303.6 kB / 0.8373 GB, free: 352 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1997/1.011, allocations: 16.83 MB / 0.8537 GB, free: 214.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/1.014, allocations: 456.3 kB / 0.8541 GB, free: 214.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003329/1.015, allocations: 86.2 kB / 0.8542 GB, free: 214.7 MB / 0.573 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.0006347/1.015, allocations: 142.9 kB / 0.8544 GB, free: 214.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005206/1.016, allocations: 272.5 kB / 0.8546 GB, free: 214.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03643/1.052, allocations: 12.99 MB / 0.8673 GB, free: 214.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/1.052, allocations: 31.66 kB / 0.8673 GB, free: 214.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/1.052, allocations: 19.25 kB / 0.8674 GB, free: 214.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-05/1.052, allocations: 15.23 kB / 0.8674 GB, free: 214.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04133/1.094, allocations: 16.21 MB / 0.8832 GB, free: 213.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.094, allocations: 5.406 kB / 0.8832 GB, free: 213.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/1.096, allocations: 252.2 kB / 0.8835 GB, free: 213.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01473/1.11, allocations: 4.99 MB / 0.8883 GB, free: 213.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004491/1.111, allocations: 12.73 kB / 0.8883 GB, free: 213.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03186/1.143, allocations: 13.71 MB / 0.9017 GB, free: 211.8 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.143, allocations: 1.062 kB / 0.9017 GB, free: 211.8 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04041/1.183, allocations: 14.97 MB / 0.9163 GB, free: 202.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/1.184, allocations: 376.6 kB / 0.9167 GB, free: 202.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005/1.185, allocations: 7.906 kB / 0.9167 GB, free: 202.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.187, allocations: 364.1 kB / 0.9171 GB, free: 202.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008055/1.188, allocations: 316.6 kB / 0.9174 GB, free: 202 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.188, allocations: 62.81 kB / 0.9174 GB, free: 201.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001443/1.19, allocations: 1.147 MB / 0.9185 GB, free: 200.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003635/1.194, allocations: 1.557 MB / 0.9201 GB, free: 199.4 MB / 0.573 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.0003846/1.194, allocations: 145.3 kB / 0.9202 GB, free: 199.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02405/1.218, allocations: 9.434 MB / 0.9294 GB, free: 190.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.218, allocations: 4.188 kB / 0.9294 GB, free: 190.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0109/1.229, allocations: 3.832 MB / 0.9332 GB, free: 187.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.231, allocations: 155.8 kB / 0.9333 GB, free: 187.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.241, allocations: 4.276 MB / 0.9375 GB, free: 183.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/1.242, allocations: 1.846 MB / 0.9393 GB, free: 182 MB / 0.573 GB Notification: Performance of SimCode: time 5.51e-07/1.242, allocations: 0 / 0.9393 GB, free: 182 MB / 0.573 GB Notification: Performance of Templates: time 0.09/1.332, allocations: 74.88 MB / 1.012 GB, free: 116.5 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)