Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.00088/0.0008802, allocations: 186.5 kB / 7.464 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.037/1.037, allocations: 221.4 MB / 229.3 MB, free: 8.461 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009199, allocations: 102 kB / 280.1 MB, free: 7.82 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3416/0.3416, allocations: 78.09 MB / 409 MB, free: 5.457 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.441e-06, allocations: 0 / 484.4 MB, free: 10.38 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.213, allocations: 69.34 MB / 0.5407 GB, free: 15.64 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3208, allocations: 101.4 MB / 0.6398 GB, free: 10.19 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001911/0.3211, allocations: 79.95 kB / 0.6398 GB, free: 10.11 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.3795/0.7005, allocations: 98.16 MB / 0.7357 GB, free: 56.31 MB / 482.8 MB Notification: Performance of Transformations before backend: time 0.000266/0.7008, allocations: 87.94 kB / 0.7358 GB, free: 56.23 MB / 482.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.01585/0.7167, allocations: 5.985 MB / 0.7416 GB, free: 50.16 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.7168, allocations: 12.03 kB / 0.7416 GB, free: 50.15 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/0.7336, allocations: 2.924 MB / 0.7445 GB, free: 47.21 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/0.7382, allocations: 2.294 MB / 0.7467 GB, free: 44.84 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/0.7389, allocations: 0.8579 MB / 0.7476 GB, free: 43.86 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005168/0.7394, allocations: 203.9 kB / 0.7478 GB, free: 43.66 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005252/0.7446, allocations: 3.447 MB / 0.7511 GB, free: 40.21 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005155/0.7498, allocations: 3.595 MB / 0.7546 GB, free: 36.58 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/0.7499, allocations: 0 / 0.7546 GB, free: 36.58 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/0.7502, allocations: 0 / 0.7546 GB, free: 36.58 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/0.7503, allocations: 88 kB / 0.7547 GB, free: 36.5 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/0.7767, allocations: 18.66 MB / 0.7729 GB, free: 16.79 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.7795, allocations: 2.259 MB / 0.7752 GB, free: 14.51 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.782, allocations: 2.124 MB / 0.7772 GB, free: 12.38 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.7823, allocations: 70.91 kB / 0.7773 GB, free: 12.31 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.7824, allocations: 73.48 kB / 0.7774 GB, free: 12.23 MB / 482.8 MB Notification: Performance of pre-optimization done (n=381): time 5.6e-06/0.7824, allocations: 0 / 0.7774 GB, free: 12.23 MB / 482.8 MB Notification: Performance of matching and sorting (n=381): time 0.04972/0.8321, allocations: 18.26 MB / 0.7952 GB, free: 9.914 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.8322, allocations: 171.5 kB / 0.7954 GB, free: 9.715 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.8357, allocations: 2.469 MB / 0.7978 GB, free: 7.234 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005726/0.8363, allocations: 25.7 kB / 0.7978 GB, free: 7.203 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.837, allocations: 1.178 MB / 0.7989 GB, free: 6.008 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002036/0.839, allocations: 1.251 MB / 0.8002 GB, free: 4.738 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8393, allocations: 0 / 0.8002 GB, free: 4.738 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.8395, allocations: 445.6 kB / 0.8006 GB, free: 4.297 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002844/0.8423, allocations: 1.761 MB / 0.8023 GB, free: 2.535 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.8454, allocations: 2.334 MB / 0.8046 GB, free: 16 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/0.8485, allocations: 1.96 MB / 0.8065 GB, free: 14.03 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.8485, allocations: 4 kB / 0.8065 GB, free: 14.03 MB / 0.5027 GB Notification: Performance of matching and sorting (n=461) (initialization): time 0.05262/0.9011, allocations: 18.36 MB / 0.8244 GB, free: 11.62 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 0.001791/0.9029, allocations: 6.612 MB / 0.8309 GB, free: 4.496 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/0.903, allocations: 12 kB / 0.8309 GB, free: 4.484 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02294/0.9259, allocations: 7.109 MB / 0.8378 GB, free: 13.37 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/0.929, allocations: 0.5656 MB / 0.8384 GB, free: 12.8 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05218/0.9811, allocations: 21.96 MB / 0.8598 GB, free: 6.684 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005235/0.9864, allocations: 0.6684 MB / 0.8605 GB, free: 6.012 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/0.9868, allocations: 136 kB / 0.8606 GB, free: 5.879 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 7.544e-06/0.9868, allocations: 4 kB / 0.8606 GB, free: 5.875 MB / 0.5496 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05183/1.039, allocations: 17.86 MB / 0.8781 GB, free: 3.977 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/1.039, allocations: 16 kB / 0.8781 GB, free: 3.961 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.161/1.2, allocations: 7.106 MB / 0.885 GB, free: 153.7 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.203, allocations: 0.5535 MB / 0.8856 GB, free: 153.7 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0489/1.252, allocations: 21.96 MB / 0.907 GB, free: 152.2 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005165/1.257, allocations: 0.6358 MB / 0.9076 GB, free: 152.2 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/1.257, allocations: 132.5 kB / 0.9078 GB, free: 152.2 MB / 0.5652 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (327): * Single equations (assignments): 324 * 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 {92 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008408/1.258, allocations: 207.8 kB / 0.908 GB, free: 152 MB / 0.5652 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007429/1.259, allocations: 455.4 kB / 0.9084 GB, free: 151.8 MB / 0.5652 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04868/1.308, allocations: 18.69 MB / 0.9266 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/1.308, allocations: 36.44 kB / 0.9267 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/1.308, allocations: 34.88 kB / 0.9267 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.485e-05/1.308, allocations: 19.08 kB / 0.9267 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05563/1.363, allocations: 23.6 MB / 0.9498 GB, free: 150.7 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.363, allocations: 3.531 kB / 0.9498 GB, free: 150.7 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.366, allocations: 409.5 kB / 0.9502 GB, free: 150.7 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0218/1.388, allocations: 7.157 MB / 0.9572 GB, free: 150.2 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000492/1.388, allocations: 19.59 kB / 0.9572 GB, free: 150.2 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04449/1.433, allocations: 20.14 MB / 0.9769 GB, free: 141.4 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.433, allocations: 0 / 0.9769 GB, free: 141.4 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05369/1.486, allocations: 21.61 MB / 0.998 GB, free: 126.9 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/1.488, allocations: 0.5636 MB / 0.9985 GB, free: 126.4 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008449/1.489, allocations: 4 kB / 0.9985 GB, free: 126.4 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/1.493, allocations: 477.9 kB / 0.999 GB, free: 126 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001077/1.494, allocations: 450.4 kB / 0.9994 GB, free: 125.8 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/1.494, allocations: 91.84 kB / 0.9995 GB, free: 125.7 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.002108/1.496, allocations: 1.829 MB / 1.001 GB, free: 124 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.005474/1.502, allocations: 2.577 MB / 1.004 GB, free: 121.6 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (251): * Single equations (assignments): 249 * 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 {(96,5.5%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004689/1.502, allocations: 168.1 kB / 1.004 GB, free: 121.4 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.03325/1.535, allocations: 13.89 MB / 1.018 GB, free: 108.9 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.535, allocations: 0 / 1.018 GB, free: 108.9 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.01536/1.551, allocations: 5.77 MB / 1.023 GB, free: 103.8 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.553, allocations: 253.9 kB / 1.023 GB, free: 103.6 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/1.567, allocations: 6.327 MB / 1.03 GB, free: 97.86 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002038/1.569, allocations: 2.667 MB / 1.032 GB, free: 95.82 MB / 0.5652 GB Notification: Performance of SimCode: time 5.41e-07/1.569, allocations: 0 / 1.032 GB, free: 95.82 MB / 0.5652 GB Notification: Performance of Templates: time 0.2639/1.833, allocations: 113.8 MB / 1.143 GB, free: 168.1 MB / 0.5652 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)