Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.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.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.00147/0.001471, allocations: 185.7 kB / 7.46 MB, free: 1.543 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.26/1.26, allocations: 221.4 MB / 229.3 MB, free: 8.414 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.0009449/0.0009452, allocations: 105.6 kB / 280.1 MB, free: 7.836 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4353/0.4353, allocations: 78.05 MB / 408.9 MB, free: 5.355 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 5.199e-06/5.219e-06, allocations: 0 / 484.3 MB, free: 10.26 MB / 370.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2231, allocations: 69.35 MB / 0.5407 GB, free: 15.63 MB / 370.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1124/0.3355, allocations: 101 MB / 0.6393 GB, free: 10.47 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3358, allocations: 75.95 kB / 0.6394 GB, free: 10.4 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.4212/0.7569, allocations: 97.25 MB / 0.7344 GB, free: 57.32 MB / 482.8 MB Notification: Performance of Transformations before backend: time 0.0002108/0.7572, allocations: 91.88 kB / 0.7345 GB, free: 57.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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01594/0.7731, allocations: 5.953 MB / 0.7403 GB, free: 51.2 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.031e-05/0.7732, allocations: 12.02 kB / 0.7403 GB, free: 51.18 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/0.7918, allocations: 2.92 MB / 0.7431 GB, free: 48.25 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/0.7966, allocations: 2.286 MB / 0.7454 GB, free: 45.89 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006693/0.7973, allocations: 0.8502 MB / 0.7462 GB, free: 44.91 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007234/0.798, allocations: 196 kB / 0.7464 GB, free: 44.72 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005976/0.804, allocations: 3.439 MB / 0.7498 GB, free: 41.28 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005931/0.81, allocations: 3.587 MB / 0.7533 GB, free: 37.66 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.047e-05/0.81, allocations: 0 / 0.7533 GB, free: 37.66 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003749/0.8104, allocations: 0 / 0.7533 GB, free: 37.66 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.047e-05/0.8105, allocations: 91.91 kB / 0.7533 GB, free: 37.57 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03203/0.8425, allocations: 18.57 MB / 0.7715 GB, free: 17.96 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003329/0.8459, allocations: 2.244 MB / 0.7737 GB, free: 15.7 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.8488, allocations: 2.117 MB / 0.7757 GB, free: 13.58 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004082/0.8492, allocations: 66.91 kB / 0.7758 GB, free: 13.51 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.8492, allocations: 73.55 kB / 0.7759 GB, free: 13.43 MB / 482.8 MB Notification: Performance of pre-optimization done (n=380): time 5.6e-06/0.8492, allocations: 4 kB / 0.7759 GB, free: 13.43 MB / 482.8 MB Notification: Performance of matching and sorting (n=380): time 0.05519/0.9044, allocations: 18.24 MB / 0.7937 GB, free: 11.13 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/0.9046, allocations: 171.4 kB / 0.7939 GB, free: 10.93 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.9086, allocations: 2.428 MB / 0.7962 GB, free: 8.492 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007755/0.9094, allocations: 29.7 kB / 0.7963 GB, free: 8.457 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/0.9101, allocations: 1.174 MB / 0.7974 GB, free: 7.266 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002443/0.9126, allocations: 1.251 MB / 0.7986 GB, free: 5.996 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003029/0.9129, allocations: 0 / 0.7986 GB, free: 5.996 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.9131, allocations: 438.5 kB / 0.799 GB, free: 5.562 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/0.9165, allocations: 1.757 MB / 0.8008 GB, free: 3.805 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003703/0.9202, allocations: 2.314 MB / 0.803 GB, free: 1.289 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/0.9237, allocations: 1.963 MB / 0.8049 GB, free: 15.31 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.9237, allocations: 4 kB / 0.8049 GB, free: 15.31 MB / 0.5027 GB Notification: Performance of matching and sorting (n=459) (initialization): time 0.06/0.9837, allocations: 18.33 MB / 0.8228 GB, free: 12.93 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 0.002506/0.9863, allocations: 6.6 MB / 0.8293 GB, free: 5.809 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-05/0.9864, allocations: 12 kB / 0.8293 GB, free: 5.797 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02704/1.013, allocations: 7.129 MB / 0.8363 GB, free: 14.66 MB / 0.5339 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003237/1.017, allocations: 0.546 MB / 0.8368 GB, free: 14.11 MB / 0.5339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06307/1.08, allocations: 22.07 MB / 0.8584 GB, free: 7.891 MB / 0.5496 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.086, allocations: 0.6606 MB / 0.859 GB, free: 7.227 MB / 0.5496 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006353/1.087, allocations: 144 kB / 0.8591 GB, free: 7.086 MB / 0.5496 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.087, allocations: 4 kB / 0.8591 GB, free: 7.082 MB / 0.5496 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05898/1.146, allocations: 17.85 MB / 0.8766 GB, free: 5.195 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/1.146, allocations: 16 kB / 0.8766 GB, free: 5.18 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1843/1.33, allocations: 7.128 MB / 0.8835 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/1.333, allocations: 0.5345 MB / 0.8841 GB, free: 153.6 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05792/1.391, allocations: 22.06 MB / 0.9056 GB, free: 152.2 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00605/1.397, allocations: 0.6364 MB / 0.9062 GB, free: 152.2 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000665/1.398, allocations: 128.9 kB / 0.9064 GB, free: 152.2 MB / 0.5652 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.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: 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 (323): * Single equations (assignments): 320 * 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 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009432/1.399, allocations: 211 kB / 0.9066 GB, free: 152 MB / 0.5652 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001049/1.4, allocations: 453.4 kB / 0.907 GB, free: 151.8 MB / 0.5652 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05558/1.456, allocations: 18.65 MB / 0.9252 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/1.456, allocations: 36.28 kB / 0.9252 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-05/1.456, allocations: 26.94 kB / 0.9253 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.019e-05/1.456, allocations: 22.92 kB / 0.9253 GB, free: 151.5 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06349/1.519, allocations: 23.55 MB / 0.9483 GB, free: 150.7 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.519, allocations: 7.875 kB / 0.9483 GB, free: 150.7 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002712/1.522, allocations: 403 kB / 0.9487 GB, free: 150.7 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02496/1.547, allocations: 7.169 MB / 0.9557 GB, free: 150.4 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007185/1.548, allocations: 23.59 kB / 0.9557 GB, free: 150.4 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05131/1.599, allocations: 20.09 MB / 0.9753 GB, free: 141.7 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.599, allocations: 0 / 0.9753 GB, free: 141.7 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06081/1.66, allocations: 21.58 MB / 0.9964 GB, free: 127.7 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.661, allocations: 0.5501 MB / 0.9969 GB, free: 127.2 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009549/1.662, allocations: 0 / 0.9969 GB, free: 127.2 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00454/1.667, allocations: 477.2 kB / 0.9974 GB, free: 126.8 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/1.668, allocations: 452.6 kB / 0.9978 GB, free: 126.6 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003825/1.668, allocations: 97.53 kB / 0.9979 GB, free: 126.5 MB / 0.5652 GB Notification: Performance of sort global known variables: time 0.002253/1.671, allocations: 1.8 MB / 0.9997 GB, free: 124.9 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.005701/1.676, allocations: 2.569 MB / 1.002 GB, free: 122.4 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(98,5.5%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004917/1.677, allocations: 155.5 kB / 1.002 GB, free: 122.3 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.0384/1.715, allocations: 13.88 MB / 1.016 GB, free: 109.8 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.715, allocations: 0 / 1.016 GB, free: 109.8 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.01766/1.733, allocations: 5.791 MB / 1.022 GB, free: 104.7 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.735, allocations: 248.3 kB / 1.022 GB, free: 104.5 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.751, allocations: 6.235 MB / 1.028 GB, free: 98.81 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002366/1.753, allocations: 2.652 MB / 1.03 GB, free: 96.78 MB / 0.5652 GB Notification: Performance of SimCode: time 6.21e-07/1.753, allocations: 0 / 1.03 GB, free: 96.78 MB / 0.5652 GB Notification: Performance of Templates: time 0.3075/2.061, allocations: 113 MB / 1.141 GB, free: 166.6 MB / 0.5652 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)