Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.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.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test") [: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.002674/0.002675, allocations: 173.9 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.044/1.044, allocations: 221.4 MB / 229.3 MB, free: 3.016 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.0008809/0.0008809, allocations: 100.7 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3563/0.3563, allocations: 78.1 MB / 409 MB, free: 15.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.445e-06, allocations: 4 kB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 69.33 MB / 0.5407 GB, free: 21.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0995/0.3275, allocations: 99.66 MB / 0.6381 GB, free: 5.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3278, allocations: 83.95 kB / 0.6381 GB, free: 5.215 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06997/0.3978, allocations: 28.02 MB / 0.6655 GB, free: 8.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.988e-05/0.3978, allocations: 28 kB / 0.6655 GB, free: 8.969 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004479/0.4023, allocations: 1.921 MB / 0.6674 GB, free: 6.984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.4024, allocations: 8.031 kB / 0.6674 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/0.4056, allocations: 0.5875 MB / 0.668 GB, free: 6.387 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.407, allocations: 0.838 MB / 0.6688 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.4072, allocations: 202.5 kB / 0.669 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.4073, allocations: 51.98 kB / 0.6691 GB, free: 5.215 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/0.4088, allocations: 0.8708 MB / 0.6699 GB, free: 4.344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.4102, allocations: 0.9001 MB / 0.6708 GB, free: 3.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.4103, allocations: 4 kB / 0.6708 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.4103, allocations: 0 / 0.6708 GB, free: 3.426 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.4104, allocations: 20 kB / 0.6708 GB, free: 3.406 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/0.5455, allocations: 3.704 MB / 0.6744 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009891/0.5465, allocations: 0.6314 MB / 0.675 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.5473, allocations: 0.5957 MB / 0.6756 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.5474, allocations: 19.62 kB / 0.6756 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.5474, allocations: 50.94 kB / 0.6757 GB, free: 141.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 2.996e-06/0.5474, allocations: 0 / 0.6757 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01126/0.5587, allocations: 4.353 MB / 0.6799 GB, free: 141.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.5587, allocations: 144.7 kB / 0.6801 GB, free: 141.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.5595, allocations: 0.7797 MB / 0.6808 GB, free: 141.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.452e-05/0.5596, allocations: 29.11 kB / 0.6809 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5597, allocations: 323.2 kB / 0.6812 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.5599, allocations: 344.1 kB / 0.6815 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.56, allocations: 0 / 0.6815 GB, free: 140.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.369e-05/0.5601, allocations: 339.5 kB / 0.6818 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006711/0.5607, allocations: 495.1 kB / 0.6823 GB, free: 140.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.5615, allocations: 0.5923 MB / 0.6829 GB, free: 140.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.5622, allocations: 0.5246 MB / 0.6834 GB, free: 140.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5622, allocations: 2.344 kB / 0.6834 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01175/0.5739, allocations: 4.541 MB / 0.6878 GB, free: 139.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.5741, allocations: 0.8744 MB / 0.6887 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.5741, allocations: 3.312 kB / 0.6887 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005552/0.5796, allocations: 1.828 MB / 0.6905 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.5804, allocations: 178.5 kB / 0.6906 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.5936, allocations: 7.674 MB / 0.6981 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.595, allocations: 194 kB / 0.6983 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5951, allocations: 35.89 kB / 0.6984 GB, free: 136.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.652e-06/0.5952, allocations: 2.969 kB / 0.6984 GB, free: 136.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01237/0.6075, allocations: 4.37 MB / 0.7026 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.6076, allocations: 9.125 kB / 0.7026 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005845/0.6134, allocations: 1.826 MB / 0.7044 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.6143, allocations: 163 kB / 0.7046 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.6279, allocations: 7.68 MB / 0.7121 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.6294, allocations: 182 kB / 0.7122 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.6295, allocations: 37.83 kB / 0.7123 GB, free: 133 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {24 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003148/0.6299, allocations: 147.9 kB / 0.7124 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.6301, allocations: 126.1 kB / 0.7125 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.6415, allocations: 4.462 MB / 0.7169 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.6415, allocations: 11.81 kB / 0.7169 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6416, allocations: 3.656 kB / 0.7169 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.6416, allocations: 7.5 kB / 0.7169 GB, free: 132 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.6544, allocations: 6.102 MB / 0.7229 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.6544, allocations: 0 / 0.7229 GB, free: 130.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/0.6551, allocations: 125.1 kB / 0.723 GB, free: 130 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004771/0.6599, allocations: 1.726 MB / 0.7247 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/0.66, allocations: 8.125 kB / 0.7247 GB, free: 129.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.6712, allocations: 5.672 MB / 0.7302 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6712, allocations: 0 / 0.7302 GB, free: 126.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01336/0.6846, allocations: 5.274 MB / 0.7354 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.685, allocations: 217.9 kB / 0.7356 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.6852, allocations: 4 kB / 0.7356 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.6864, allocations: 142.4 kB / 0.7357 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.6867, allocations: 113.3 kB / 0.7358 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/0.6868, allocations: 21.78 kB / 0.7359 GB, free: 124 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006465/0.6875, allocations: 0.6021 MB / 0.7364 GB, free: 123.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001599/0.6891, allocations: 0.6481 MB / 0.7371 GB, free: 122.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order6Type2_Inputs_Outputs.delta,order6Type2_Inputs_Outputs.w,order6Type2_Inputs_Outputs.e1q,order6Type2_Inputs_Outputs.e1d,order6Type2_Inputs_Outputs.e2q,order6Type2_Inputs_Outputs.e2d,aVRI.firstOrder.y,aVRI.firstOrder2.y,aVRI.transferFunction.x_scaled[1],aVRI.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: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002298/0.6893, allocations: 144.7 kB / 0.7372 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008853/0.6982, allocations: 3.952 MB / 0.7411 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6982, allocations: 0 / 0.7411 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003723/0.7019, allocations: 1.515 MB / 0.7426 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006162/0.7026, allocations: 86.17 kB / 0.7426 GB, free: 117.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.7065, allocations: 1.903 MB / 0.7445 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.7072, allocations: 1.198 MB / 0.7457 GB, free: 114.9 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7072, allocations: 0 / 0.7457 GB, free: 114.9 MB / 490.7 MB Notification: Performance of Templates: time 0.03413/0.7413, allocations: 31.41 MB / 0.7763 GB, free: 90.14 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)