Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001809/0.001809, allocations: 184.1 kB / 7.461 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.033/1.033, allocations: 221.4 MB / 229.3 MB, free: 3.062 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.0008844/0.0008844, allocations: 98.2 kB / 280.1 MB, free: 1.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3549/0.3549, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.45e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 69.35 MB / 0.5408 GB, free: 21.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09492/0.3128, allocations: 97.37 MB / 0.6358 GB, free: 7.523 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.3131, allocations: 75.95 kB / 0.6359 GB, free: 7.449 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.0735/0.3866, allocations: 29.27 MB / 0.6645 GB, free: 9.973 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.03e-05/0.3867, allocations: 27.88 kB / 0.6645 GB, free: 9.945 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.003862/0.3905, allocations: 1.726 MB / 0.6662 GB, free: 8.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.3906, allocations: 12.03 kB / 0.6662 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.3938, allocations: 0.5797 MB / 0.6668 GB, free: 7.566 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.395, allocations: 0.7723 MB / 0.6675 GB, free: 6.738 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/0.3953, allocations: 218.4 kB / 0.6677 GB, free: 6.496 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.3954, allocations: 44 kB / 0.6678 GB, free: 6.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001355/0.3968, allocations: 0.8006 MB / 0.6686 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3981, allocations: 0.8298 MB / 0.6694 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.3981, allocations: 0 / 0.6694 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-05/0.3982, allocations: 0 / 0.6694 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3982, allocations: 20 kB / 0.6694 GB, free: 4.789 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006129/0.4044, allocations: 3.787 MB / 0.6731 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.4054, allocations: 0.5957 MB / 0.6737 GB, free: 232 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1232/0.5286, allocations: 0.5022 MB / 0.6742 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.5288, allocations: 21.52 kB / 0.6742 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.5288, allocations: 40.91 kB / 0.6742 GB, free: 142.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 3.396e-06/0.5288, allocations: 3.531 kB / 0.6742 GB, free: 142.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01089/0.5397, allocations: 4.031 MB / 0.6782 GB, free: 142.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.5397, allocations: 147.8 kB / 0.6783 GB, free: 142.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.5406, allocations: 0.8127 MB / 0.6791 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.693e-05/0.5406, allocations: 26.8 kB / 0.6791 GB, free: 142 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5408, allocations: 321.4 kB / 0.6794 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.541, allocations: 317.3 kB / 0.6797 GB, free: 141.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.419e-05/0.5411, allocations: 0.6562 kB / 0.6797 GB, free: 141.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.5411, allocations: 341.4 kB / 0.6801 GB, free: 141.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/0.5417, allocations: 425.9 kB / 0.6805 GB, free: 141.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006296/0.5424, allocations: 0.5459 MB / 0.681 GB, free: 141.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/0.543, allocations: 477.2 kB / 0.6815 GB, free: 141.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.543, allocations: 4.188 kB / 0.6815 GB, free: 141.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01091/0.5539, allocations: 4.186 MB / 0.6856 GB, free: 140.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.5541, allocations: 1.139 MB / 0.6867 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5541, allocations: 3.844 kB / 0.6867 GB, free: 139.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/0.5588, allocations: 1.532 MB / 0.6882 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007619/0.5595, allocations: 158.8 kB / 0.6883 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.5705, allocations: 5.811 MB / 0.694 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.5717, allocations: 178.3 kB / 0.6942 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.5718, allocations: 39.95 kB / 0.6942 GB, free: 138.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.5718, allocations: 3.938 kB / 0.6942 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01119/0.583, allocations: 4.018 MB / 0.6981 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.583, allocations: 6.375 kB / 0.6981 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004851/0.5879, allocations: 1.522 MB / 0.6996 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.5886, allocations: 155 kB / 0.6998 GB, free: 137.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.6003, allocations: 5.806 MB / 0.7054 GB, free: 136.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.6016, allocations: 174.7 kB / 0.7056 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.6017, allocations: 34.08 kB / 0.7056 GB, free: 136.2 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.0002661/0.602, allocations: 154.7 kB / 0.7058 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002038/0.6022, allocations: 129 kB / 0.7059 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.6129, allocations: 4.121 MB / 0.7099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.613, allocations: 11.75 kB / 0.7099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.613, allocations: 6.031 kB / 0.7099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.613, allocations: 11.12 kB / 0.71 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.625, allocations: 5.608 MB / 0.7154 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.625, allocations: 0 / 0.7154 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.6256, allocations: 113.3 kB / 0.7155 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004181/0.6298, allocations: 1.468 MB / 0.717 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.6299, allocations: 9.859 kB / 0.717 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00963/0.6395, allocations: 5.21 MB / 0.7221 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6395, allocations: 0 / 0.7221 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01181/0.6514, allocations: 4.864 MB / 0.7268 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.6516, allocations: 222.5 kB / 0.727 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.6518, allocations: 9.688 kB / 0.727 GB, free: 130.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.6529, allocations: 132.3 kB / 0.7272 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002706/0.6532, allocations: 103.5 kB / 0.7273 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.6533, allocations: 22.09 kB / 0.7273 GB, free: 130.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007223/0.654, allocations: 0.6214 MB / 0.7279 GB, free: 129.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00151/0.6556, allocations: 0.5999 MB / 0.7285 GB, free: 129.8 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.0002254/0.6558, allocations: 140.2 kB / 0.7286 GB, free: 129.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007914/0.6637, allocations: 3.399 MB / 0.7319 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6637, allocations: 0 / 0.7319 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003222/0.667, allocations: 1.367 MB / 0.7333 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.6675, allocations: 88.84 kB / 0.7334 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.6709, allocations: 1.736 MB / 0.7351 GB, free: 125 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.6715, allocations: 1.192 MB / 0.7362 GB, free: 124 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6715, allocations: 0 / 0.7362 GB, free: 124 MB / 490.7 MB Notification: Performance of Templates: time 0.03072/0.7022, allocations: 28.6 MB / 0.7641 GB, free: 102.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)