Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.003034/0.003034, allocations: 180 kB / 7.459 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.179/1.179, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0009551/0.0009551, allocations: 104.3 kB / 280.1 MB, free: 1.199 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4948/0.4948, allocations: 78.91 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.017e-06, allocations: 4 kB / 485.4 MB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 69.49 MB / 0.5419 GB, free: 20.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4249, allocations: 98.36 MB / 0.6379 GB, free: 5.559 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4252, allocations: 79.89 kB / 0.638 GB, free: 5.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.09493/0.5201, allocations: 34.97 MB / 0.6721 GB, free: 2.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.457e-05/0.5202, allocations: 24 kB / 0.6722 GB, free: 2.227 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004072/0.5243, allocations: 1.73 MB / 0.6738 GB, free: 448 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.5243, allocations: 12.03 kB / 0.6739 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1683/0.6927, allocations: 0.5803 MB / 0.6744 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.6944, allocations: 0.7844 MB / 0.6752 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.6946, allocations: 208.5 kB / 0.6754 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.6948, allocations: 44.78 kB / 0.6754 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001347/0.6961, allocations: 0.8007 MB / 0.6762 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.6974, allocations: 0.8305 MB / 0.677 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.6974, allocations: 0 / 0.677 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.6975, allocations: 7.719 kB / 0.677 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.6976, allocations: 15.69 kB / 0.677 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00618/0.7037, allocations: 3.838 MB / 0.6808 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.7047, allocations: 0.5941 MB / 0.6814 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006655/0.7053, allocations: 0.5073 MB / 0.6819 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.7055, allocations: 23.62 kB / 0.6819 GB, free: 140.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.7055, allocations: 41.06 kB / 0.6819 GB, free: 140.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.736e-06/0.7055, allocations: 7.359 kB / 0.6819 GB, free: 140.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.0125/0.718, allocations: 4.041 MB / 0.6859 GB, free: 140.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.7181, allocations: 139 kB / 0.686 GB, free: 140 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.7191, allocations: 0.8027 MB / 0.6868 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.7192, allocations: 25.7 kB / 0.6868 GB, free: 139.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.7194, allocations: 321.8 kB / 0.6871 GB, free: 139.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.7197, allocations: 327.1 kB / 0.6874 GB, free: 139.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.7197, allocations: 4 kB / 0.6874 GB, free: 139.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.7198, allocations: 338.2 kB / 0.6878 GB, free: 139.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/0.7205, allocations: 430 kB / 0.6882 GB, free: 139.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/0.7212, allocations: 0.5553 MB / 0.6887 GB, free: 139 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007187/0.7219, allocations: 488 kB / 0.6892 GB, free: 139 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7219, allocations: 0 / 0.6892 GB, free: 139 MB / 490.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0122/0.7341, allocations: 4.165 MB / 0.6933 GB, free: 138.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001971/0.7343, allocations: 1.15 MB / 0.6944 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.7343, allocations: 0 / 0.6944 GB, free: 137.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/0.7394, allocations: 1.503 MB / 0.6958 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.7402, allocations: 173.6 kB / 0.696 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.7527, allocations: 5.82 MB / 0.7017 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.7542, allocations: 187.4 kB / 0.7019 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.7543, allocations: 35.41 kB / 0.7019 GB, free: 135.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.7543, allocations: 3.969 kB / 0.7019 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/0.7663, allocations: 4.013 MB / 0.7058 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7663, allocations: 6.75 kB / 0.7058 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/0.7716, allocations: 1.498 MB / 0.7073 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009129/0.7725, allocations: 161.5 kB / 0.7075 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.7846, allocations: 5.836 MB / 0.7132 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7861, allocations: 176.7 kB / 0.7133 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.203e-05/0.7862, allocations: 41.91 kB / 0.7134 GB, free: 133.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.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 (88): * Single equations (assignments): 85 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003229/0.7865, allocations: 150.3 kB / 0.7135 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.7868, allocations: 124 kB / 0.7136 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/0.7982, allocations: 4.125 MB / 0.7177 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.7982, allocations: 8 kB / 0.7177 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7982, allocations: 8.094 kB / 0.7177 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.7983, allocations: 10.09 kB / 0.7177 GB, free: 132.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/0.8116, allocations: 5.621 MB / 0.7232 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.8116, allocations: 2.75 kB / 0.7232 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000682/0.8123, allocations: 113.4 kB / 0.7233 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004616/0.8169, allocations: 1.448 MB / 0.7247 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.817, allocations: 10.91 kB / 0.7247 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.8279, allocations: 5.224 MB / 0.7298 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8279, allocations: 4 kB / 0.7298 GB, free: 127.3 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01327/0.8412, allocations: 4.859 MB / 0.7346 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.8416, allocations: 219.7 kB / 0.7348 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.8419, allocations: 7.906 kB / 0.7348 GB, free: 125.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8431, allocations: 133.6 kB / 0.7349 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.8433, allocations: 107.8 kB / 0.735 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/0.8434, allocations: 24 kB / 0.735 GB, free: 125.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007081/0.8441, allocations: 0.6146 MB / 0.7356 GB, free: 124.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0016/0.8458, allocations: 0.6022 MB / 0.7362 GB, free: 124 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * 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 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.846, allocations: 143.5 kB / 0.7363 GB, free: 123.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007743/0.8537, allocations: 3.35 MB / 0.7396 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.8537, allocations: 0 / 0.7396 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.8571, allocations: 1.367 MB / 0.741 GB, free: 119.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006497/0.8578, allocations: 92.78 kB / 0.741 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.8616, allocations: 1.79 MB / 0.7428 GB, free: 117.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006597/0.8623, allocations: 1.196 MB / 0.744 GB, free: 116.9 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.8623, allocations: 0 / 0.744 GB, free: 116.9 MB / 490.7 MB Notification: Performance of Templates: time 0.03406/0.8964, allocations: 28.76 MB / 0.772 GB, free: 94.61 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)