Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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 4.0.0+maint.om/package.mo): time 0.001557/0.001558, allocations: 188.1 kB / 7.463 MB, free: 488 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 221.4 MB / 229.3 MB, free: 7.703 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 105.7 kB / 280.1 MB, free: 5.105 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4263/0.4263, allocations: 78.05 MB / 408.9 MB, free: 19.35 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 7.474e-06/7.525e-06, allocations: 4 kB / 484.3 MB, free: 8.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2515, allocations: 69.34 MB / 0.5407 GB, free: 23.89 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.3833, allocations: 97.13 MB / 0.6356 GB, free: 11.58 MB / 462.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.3836, allocations: 79.95 kB / 0.6356 GB, free: 11.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.343/0.7266, allocations: 59.71 MB / 0.6939 GB, free: 96.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001697/0.7268, allocations: 55.61 kB / 0.694 GB, free: 96.17 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01237/0.7392, allocations: 3.889 MB / 0.6978 GB, free: 94.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7393, allocations: 11.91 kB / 0.6978 GB, free: 94.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.7503, allocations: 1.639 MB / 0.6994 GB, free: 94.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.7536, allocations: 1.46 MB / 0.7008 GB, free: 94.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000547/0.7542, allocations: 0.6262 MB / 0.7014 GB, free: 93.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006306/0.7548, allocations: 112.7 kB / 0.7016 GB, free: 93.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00411/0.759, allocations: 2.083 MB / 0.7036 GB, free: 93.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.763, allocations: 2.134 MB / 0.7057 GB, free: 93.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.7631, allocations: 0 / 0.7057 GB, free: 93.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.7633, allocations: 3.844 kB / 0.7057 GB, free: 93.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.7634, allocations: 45.94 kB / 0.7057 GB, free: 93.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.7817, allocations: 9.475 MB / 0.715 GB, free: 89.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.786, allocations: 1.929 MB / 0.7169 GB, free: 88.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002359/0.7884, allocations: 1.361 MB / 0.7182 GB, free: 87.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000316/0.7887, allocations: 44.09 kB / 0.7182 GB, free: 87.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.7887, allocations: 64.09 kB / 0.7183 GB, free: 87.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=227): time 3.767e-06/0.7887, allocations: 0 / 0.7183 GB, free: 87.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=227): time 0.04207/0.8308, allocations: 12.71 MB / 0.7307 GB, free: 82.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.8309, allocations: 128.8 kB / 0.7308 GB, free: 82.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.8336, allocations: 1.487 MB / 0.7323 GB, free: 80.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005201/0.8342, allocations: 25.7 kB / 0.7323 GB, free: 80.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.8345, allocations: 0.6671 MB / 0.7329 GB, free: 80.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001354/0.8359, allocations: 0.7504 MB / 0.7337 GB, free: 79.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/0.8363, allocations: 0 / 0.7337 GB, free: 79.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8364, allocations: 382.2 kB / 0.734 GB, free: 78.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.8384, allocations: 1.117 MB / 0.7351 GB, free: 77.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002019/0.8404, allocations: 1.407 MB / 0.7365 GB, free: 76.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/0.8425, allocations: 1.223 MB / 0.7377 GB, free: 75.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.8425, allocations: 0 / 0.7377 GB, free: 75.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=274) (initialization): time 0.04032/0.8828, allocations: 12.82 MB / 0.7502 GB, free: 62.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004485/0.8833, allocations: 2.726 MB / 0.7529 GB, free: 59.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.8833, allocations: 8 kB / 0.7529 GB, free: 59.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/0.9012, allocations: 5.176 MB / 0.7579 GB, free: 54.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.9031, allocations: 323.5 kB / 0.7583 GB, free: 53.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04156/0.9447, allocations: 15.54 MB / 0.7734 GB, free: 38.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004545/0.9492, allocations: 485.9 kB / 0.7739 GB, free: 37.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/0.9498, allocations: 75.98 kB / 0.774 GB, free: 37.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.9498, allocations: 7.938 kB / 0.774 GB, free: 37.7 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03821/0.988, allocations: 12.51 MB / 0.7862 GB, free: 25.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/0.9881, allocations: 8 kB / 0.7862 GB, free: 25.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01719/1.005, allocations: 5.172 MB / 0.7912 GB, free: 20.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/1.007, allocations: 311.5 kB / 0.7915 GB, free: 19.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03955/1.047, allocations: 15.56 MB / 0.8067 GB, free: 4.168 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/1.051, allocations: 458 kB / 0.8072 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000532/1.051, allocations: 79.97 kB / 0.8073 GB, free: 3.641 MB / 494.1 MB 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_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 (184): * Single equations (assignments): 183 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.0008524/1.052, allocations: 144.5 kB / 0.8074 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009186/1.053, allocations: 272.6 kB / 0.8077 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04161/1.095, allocations: 12.95 MB / 0.8203 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/1.095, allocations: 20 kB / 0.8203 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.782e-05/1.095, allocations: 27.91 kB / 0.8203 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.659e-05/1.095, allocations: 11.95 kB / 0.8204 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05143/1.146, allocations: 16.13 MB / 0.8361 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.146, allocations: 4 kB / 0.8361 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.148, allocations: 247.7 kB / 0.8363 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01767/1.166, allocations: 5.015 MB / 0.8412 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006004/1.167, allocations: 19.92 kB / 0.8413 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03986/1.206, allocations: 13.69 MB / 0.8546 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.207, allocations: 0 / 0.8546 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04725/1.254, allocations: 14.9 MB / 0.8692 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009922/1.255, allocations: 377.1 kB / 0.8695 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001194/1.256, allocations: 4 kB / 0.8695 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003928/1.26, allocations: 359.7 kB / 0.8699 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/1.261, allocations: 313.4 kB / 0.8702 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004357/1.262, allocations: 59.98 kB / 0.8702 GB, free: 2.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 0.002202/1.264, allocations: 1.11 MB / 0.8713 GB, free: 1.809 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005502/1.269, allocations: 1.528 MB / 0.8728 GB, free: 284 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (146): * Single equations (assignments): 145 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005839/1.27, allocations: 158.6 kB / 0.873 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03002/1.3, allocations: 9.088 MB / 0.8818 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.3, allocations: 0 / 0.8818 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01337/1.314, allocations: 3.821 MB / 0.8856 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.315, allocations: 145.9 kB / 0.8857 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1668/1.482, allocations: 4.008 MB / 0.8896 GB, free: 200.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/1.484, allocations: 1.823 MB / 0.8914 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/1.484, allocations: 3.844 kB / 0.8914 GB, free: 199.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.1014/1.585, allocations: 73.36 MB / 0.9631 GB, free: 183.4 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)