Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.001924/0.001924, allocations: 174.1 kB / 7.458 MB, free: 2.488 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.242/1.242, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0009004/0.0009005, allocations: 93.34 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.4133/0.4133, allocations: 78.93 MB / 409.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.841e-06, allocations: 0 / 485.4 MB, free: 3.637 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2919, allocations: 69.51 MB / 0.5419 GB, free: 20.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.4044, allocations: 98.63 MB / 0.6382 GB, free: 5.312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.4046, allocations: 79.95 kB / 0.6383 GB, free: 5.234 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08325/0.4879, allocations: 30.39 MB / 0.6679 GB, free: 6.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.424e-05/0.488, allocations: 20 kB / 0.668 GB, free: 6.613 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.004275/0.4923, allocations: 1.762 MB / 0.6697 GB, free: 4.789 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4924, allocations: 19.97 kB / 0.6697 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003666/0.496, allocations: 0.5797 MB / 0.6703 GB, free: 4.188 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.4977, allocations: 0.7959 MB / 0.671 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.498, allocations: 214.5 kB / 0.6712 GB, free: 3.098 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.4981, allocations: 47.91 kB / 0.6713 GB, free: 3.051 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/0.4996, allocations: 0.8084 MB / 0.6721 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5011, allocations: 0.8415 MB / 0.6729 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.5011, allocations: 3.938 kB / 0.6729 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.5012, allocations: 0 / 0.6729 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5012, allocations: 20 kB / 0.6729 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1672/0.6684, allocations: 3.876 MB / 0.6767 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/0.6694, allocations: 0.6018 MB / 0.6773 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00067/0.6701, allocations: 0.5211 MB / 0.6778 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.6702, allocations: 24.66 kB / 0.6778 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.6703, allocations: 47.97 kB / 0.6779 GB, free: 140.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 2.325e-06/0.6703, allocations: 0 / 0.6779 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01174/0.682, allocations: 4.065 MB / 0.6818 GB, free: 140.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.6821, allocations: 138 kB / 0.682 GB, free: 140 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.6833, allocations: 0.8418 MB / 0.6828 GB, free: 139.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.6835, allocations: 26.45 kB / 0.6828 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.6836, allocations: 324.9 kB / 0.6831 GB, free: 139.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.684, allocations: 326.6 kB / 0.6834 GB, free: 139.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.413e-05/0.684, allocations: 0.5312 kB / 0.6834 GB, free: 139.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.537e-05/0.6841, allocations: 340.7 kB / 0.6838 GB, free: 139.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006937/0.6848, allocations: 439.1 kB / 0.6842 GB, free: 139.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007544/0.6856, allocations: 0.5564 MB / 0.6847 GB, free: 139.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.6864, allocations: 0.4885 MB / 0.6852 GB, free: 139.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6864, allocations: 4.312 kB / 0.6852 GB, free: 139.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01173/0.6981, allocations: 4.142 MB / 0.6893 GB, free: 138.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.6983, allocations: 1.142 MB / 0.6904 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6983, allocations: 6.5 kB / 0.6904 GB, free: 137.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004897/0.7032, allocations: 1.489 MB / 0.6918 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.7043, allocations: 193.3 kB / 0.692 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.7165, allocations: 5.715 MB / 0.6976 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.7181, allocations: 188.5 kB / 0.6978 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.7182, allocations: 37.16 kB / 0.6978 GB, free: 135.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.7183, allocations: 3.781 kB / 0.6978 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01224/0.7305, allocations: 3.971 MB / 0.7017 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.7305, allocations: 2.844 kB / 0.7017 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005147/0.7357, allocations: 1.493 MB / 0.7032 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.7369, allocations: 183.2 kB / 0.7033 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.7494, allocations: 5.695 MB / 0.7089 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.751, allocations: 170 kB / 0.7091 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.7511, allocations: 38.22 kB / 0.7091 GB, free: 134 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" 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 (92): * Single equations (assignments): 89 * 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 {19 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003832/0.7515, allocations: 167.7 kB / 0.7093 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.7519, allocations: 130.1 kB / 0.7094 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.7635, allocations: 4.16 MB / 0.7134 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.7636, allocations: 8.938 kB / 0.7134 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.7636, allocations: 5.906 kB / 0.7135 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/0.7636, allocations: 6.812 kB / 0.7135 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.7772, allocations: 5.661 MB / 0.719 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.7772, allocations: 2.781 kB / 0.719 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.778, allocations: 116.1 kB / 0.7191 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004545/0.7825, allocations: 1.444 MB / 0.7205 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.7827, allocations: 14.86 kB / 0.7205 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.7935, allocations: 5.253 MB / 0.7257 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7935, allocations: 0.75 kB / 0.7257 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0134/0.8069, allocations: 4.917 MB / 0.7305 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.8074, allocations: 221.3 kB / 0.7307 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.8077, allocations: 4.203 kB / 0.7307 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.8092, allocations: 136.2 kB / 0.7308 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.8095, allocations: 100.6 kB / 0.7309 GB, free: 127.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.8096, allocations: 29.12 kB / 0.7309 GB, free: 127.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009099/0.8105, allocations: 0.6469 MB / 0.7316 GB, free: 126.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001835/0.8123, allocations: 0.6139 MB / 0.7322 GB, free: 126.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002543/0.8126, allocations: 135.4 kB / 0.7323 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008505/0.8211, allocations: 3.401 MB / 0.7356 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8211, allocations: 0 / 0.7356 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/0.8246, allocations: 1.369 MB / 0.7369 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.8252, allocations: 92.62 kB / 0.737 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.8297, allocations: 1.897 MB / 0.7389 GB, free: 121 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/0.8305, allocations: 1.207 MB / 0.7401 GB, free: 119.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.8305, allocations: 0 / 0.7401 GB, free: 119.9 MB / 490.7 MB Notification: Performance of Templates: time 0.03821/0.8687, allocations: 29.39 MB / 0.7688 GB, free: 97.79 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)