Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") [: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.00222/0.00222, allocations: 176.7 kB / 7.452 MB, free: 2.004 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.146/1.146, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0008927/0.0008927, allocations: 89.23 kB / 280.1 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3969/0.3969, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.412e-06/6.512e-06, allocations: 4 kB / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2563, allocations: 69.5 MB / 0.5419 GB, free: 20.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4052, allocations: 100.7 MB / 0.6402 GB, free: 3.016 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001909/0.4054, allocations: 75.95 kB / 0.6403 GB, free: 2.941 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.4045/0.8099, allocations: 70.18 MB / 0.7088 GB, free: 95.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.8102, allocations: 63.56 kB / 0.7089 GB, free: 95.48 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01321/0.8234, allocations: 4.247 MB / 0.713 GB, free: 92.87 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.8234, allocations: 9.938 kB / 0.7131 GB, free: 92.87 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.8341, allocations: 1.674 MB / 0.7147 GB, free: 92.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003807/0.8379, allocations: 1.675 MB / 0.7163 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007052/0.8387, allocations: 0.687 MB / 0.717 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007907/0.8395, allocations: 123.8 kB / 0.7171 GB, free: 90.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004802/0.8443, allocations: 2.236 MB / 0.7193 GB, free: 88.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/0.8484, allocations: 2.294 MB / 0.7215 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.8485, allocations: 0 / 0.7215 GB, free: 85.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.8487, allocations: 8 kB / 0.7215 GB, free: 85.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.8488, allocations: 55.84 kB / 0.7216 GB, free: 85.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.8675, allocations: 9.882 MB / 0.7312 GB, free: 75.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.8711, allocations: 2.062 MB / 0.7333 GB, free: 73.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002164/0.8733, allocations: 1.466 MB / 0.7347 GB, free: 71.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003311/0.8737, allocations: 45.56 kB / 0.7347 GB, free: 71.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002768/0.8764, allocations: 1.713 MB / 0.7364 GB, free: 70.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 5.61e-06/0.8765, allocations: 0 / 0.7364 GB, free: 70.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.04009/0.9166, allocations: 13.17 MB / 0.7493 GB, free: 57.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.9167, allocations: 192.1 kB / 0.7495 GB, free: 56.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.92, allocations: 1.737 MB / 0.7511 GB, free: 55.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006464/0.9206, allocations: 33.62 kB / 0.7512 GB, free: 55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003836/0.921, allocations: 0.7114 MB / 0.7519 GB, free: 54.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001668/0.9227, allocations: 0.8274 MB / 0.7527 GB, free: 53.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.9231, allocations: 0 / 0.7527 GB, free: 53.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.9232, allocations: 403.1 kB / 0.7531 GB, free: 53.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.9254, allocations: 1.231 MB / 0.7543 GB, free: 51.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.9277, allocations: 1.531 MB / 0.7558 GB, free: 50.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002225/0.9299, allocations: 1.346 MB / 0.7571 GB, free: 48.81 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.9299, allocations: 0 / 0.7571 GB, free: 48.81 MB / 490.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.0388/0.9687, allocations: 13.2 MB / 0.77 GB, free: 35.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9688, allocations: 12 kB / 0.77 GB, free: 35.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.9688, allocations: 4 kB / 0.77 GB, free: 35.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01734/0.9862, allocations: 5.294 MB / 0.7752 GB, free: 30.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.9886, allocations: 411.4 kB / 0.7755 GB, free: 29.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03999/1.029, allocations: 16.82 MB / 0.792 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00487/1.034, allocations: 0.5211 MB / 0.7925 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008151/1.034, allocations: 91.97 kB / 0.7926 GB, free: 12.19 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" 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 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 4 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001216/1.036, allocations: 213.4 kB / 0.7928 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/1.037, allocations: 300.2 kB / 0.7931 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04078/1.078, allocations: 13.44 MB / 0.8062 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-05/1.078, allocations: 35.98 kB / 0.8062 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.583e-05/1.078, allocations: 16 kB / 0.8062 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-05/1.078, allocations: 19.86 kB / 0.8063 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05224/1.13, allocations: 16.77 MB / 0.8226 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/1.13, allocations: 4 kB / 0.8226 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002098/1.132, allocations: 255.6 kB / 0.8229 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02043/1.153, allocations: 5.162 MB / 0.8279 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007889/1.154, allocations: 15.98 kB / 0.8279 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04379/1.197, allocations: 17.51 MB / 0.845 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.197, allocations: 0 / 0.845 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04855/1.246, allocations: 15.5 MB / 0.8602 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/1.247, allocations: 420.7 kB / 0.8606 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.249, allocations: 7.984 kB / 0.8606 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004337/1.253, allocations: 403.7 kB / 0.861 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00132/1.254, allocations: 341.4 kB / 0.8613 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005662/1.255, allocations: 63.98 kB / 0.8614 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.002383/1.257, allocations: 1.304 MB / 0.8626 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003951/1.261, allocations: 1.002 MB / 0.8636 GB, free: 2.844 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (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.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * 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: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005911/1.262, allocations: 156.2 kB / 0.8638 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01607/1.278, allocations: 5.653 MB / 0.8693 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.278, allocations: 0 / 0.8693 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01313/1.291, allocations: 4.217 MB / 0.8734 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/1.294, allocations: 197.5 kB / 0.8736 GB, free: 8.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.308, allocations: 4.253 MB / 0.8777 GB, free: 4.188 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/1.31, allocations: 1.962 MB / 0.8797 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of SimCode: time 1.032e-06/1.31, allocations: 0 / 0.8797 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of Templates: time 0.2764/1.587, allocations: 51.6 MB / 0.93 GB, free: 210.8 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)