Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") [: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.002023/0.002023, allocations: 186.5 kB / 7.455 MB, free: 2.516 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.261/1.261, allocations: 221.4 MB / 229.3 MB, free: 3.047 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.0009015/0.0009016, allocations: 108.8 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.408/0.408, allocations: 78.05 MB / 408.9 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.43e-06/5.44e-06, allocations: 0 / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2387, allocations: 69.35 MB / 0.5407 GB, free: 21.57 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1101/0.3488, allocations: 97.39 MB / 0.6358 GB, free: 7.508 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.349, allocations: 75.97 kB / 0.6359 GB, free: 7.434 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09467/0.4437, allocations: 29.27 MB / 0.6645 GB, free: 9.961 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.4438, allocations: 23.94 kB / 0.6645 GB, free: 9.938 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0077/0.4516, allocations: 1.726 MB / 0.6662 GB, free: 8.152 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.4516, allocations: 8.031 kB / 0.6662 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00711/0.4588, allocations: 0.5797 MB / 0.6667 GB, free: 7.562 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002534/0.4613, allocations: 0.7762 MB / 0.6675 GB, free: 6.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/0.4618, allocations: 214.4 kB / 0.6677 GB, free: 6.492 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.4621, allocations: 44 kB / 0.6678 GB, free: 6.449 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002979/0.4651, allocations: 0.7967 MB / 0.6685 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.468, allocations: 0.8337 MB / 0.6693 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.468, allocations: 0 / 0.6693 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.4682, allocations: 0 / 0.6693 GB, free: 4.805 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.4682, allocations: 20 kB / 0.6694 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.4812, allocations: 3.791 MB / 0.6731 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.4834, allocations: 0.5918 MB / 0.6736 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1408/0.6242, allocations: 0.5058 MB / 0.6741 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6243, allocations: 17.73 kB / 0.6742 GB, free: 142.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.6244, allocations: 44.39 kB / 0.6742 GB, free: 142.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.936e-06/0.6244, allocations: 0 / 0.6742 GB, free: 142.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01242/0.6368, allocations: 4.04 MB / 0.6781 GB, free: 142.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.6369, allocations: 144.2 kB / 0.6783 GB, free: 142.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009844/0.6378, allocations: 0.8112 MB / 0.6791 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-05/0.6379, allocations: 29.64 kB / 0.6791 GB, free: 142.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.6381, allocations: 320.5 kB / 0.6794 GB, free: 142.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.6384, allocations: 319.3 kB / 0.6797 GB, free: 142 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-05/0.6385, allocations: 0 / 0.6797 GB, free: 142 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6386, allocations: 338.5 kB / 0.68 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006681/0.6393, allocations: 430.2 kB / 0.6804 GB, free: 141.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.64, allocations: 0.5452 MB / 0.681 GB, free: 141.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.6408, allocations: 480.9 kB / 0.6814 GB, free: 141.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6408, allocations: 1.875 kB / 0.6814 GB, free: 141.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0125/0.6533, allocations: 4.175 MB / 0.6855 GB, free: 141.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.6535, allocations: 1.149 MB / 0.6866 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6535, allocations: 2.906 kB / 0.6866 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00524/0.6587, allocations: 1.515 MB / 0.6881 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.6596, allocations: 171 kB / 0.6883 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.6724, allocations: 5.817 MB / 0.694 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.674, allocations: 176.9 kB / 0.6941 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.6742, allocations: 32.55 kB / 0.6942 GB, free: 138.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.753e-06/0.6742, allocations: 3.531 kB / 0.6942 GB, free: 138.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01264/0.6868, allocations: 4.025 MB / 0.6981 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6869, allocations: 6.594 kB / 0.6981 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005397/0.6923, allocations: 1.511 MB / 0.6996 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/0.6932, allocations: 166.7 kB / 0.6997 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/0.7063, allocations: 5.809 MB / 0.7054 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.7079, allocations: 166.8 kB / 0.7056 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.708, allocations: 34.97 kB / 0.7056 GB, free: 136.5 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003177/0.7083, allocations: 154.5 kB / 0.7057 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.7086, allocations: 125.3 kB / 0.7059 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/0.7206, allocations: 4.128 MB / 0.7099 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.7207, allocations: 8.719 kB / 0.7099 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.7207, allocations: 9.375 kB / 0.7099 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.621e-05/0.7207, allocations: 10.12 kB / 0.7099 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.7347, allocations: 5.606 MB / 0.7154 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.7347, allocations: 3.094 kB / 0.7154 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007262/0.7354, allocations: 116.9 kB / 0.7155 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004648/0.7401, allocations: 1.462 MB / 0.7169 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.7402, allocations: 10.53 kB / 0.717 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.7513, allocations: 5.207 MB / 0.722 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.7514, allocations: 4 kB / 0.722 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01354/0.7649, allocations: 4.854 MB / 0.7268 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.7653, allocations: 223.8 kB / 0.727 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.7656, allocations: 7.219 kB / 0.727 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/0.7669, allocations: 134.3 kB / 0.7271 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.7672, allocations: 104.6 kB / 0.7272 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-05/0.7673, allocations: 23.75 kB / 0.7273 GB, free: 130.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008215/0.7682, allocations: 0.6232 MB / 0.7279 GB, free: 130.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001745/0.7699, allocations: 0.5949 MB / 0.7284 GB, free: 130 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.7702, allocations: 146 kB / 0.7286 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009024/0.7792, allocations: 3.399 MB / 0.7319 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7792, allocations: 0 / 0.7319 GB, free: 128 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00377/0.783, allocations: 1.37 MB / 0.7332 GB, free: 126.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.7837, allocations: 88.47 kB / 0.7333 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.7878, allocations: 1.733 MB / 0.735 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/0.7885, allocations: 1.193 MB / 0.7362 GB, free: 124.1 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/0.7885, allocations: 0 / 0.7362 GB, free: 124.1 MB / 490.7 MB Notification: Performance of Templates: time 0.03679/0.8253, allocations: 28.6 MB / 0.7641 GB, free: 103 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)