Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.Tests.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.003327/0.003327, allocations: 182.2 kB / 7.451 MB, free: 1.996 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.28/1.28, allocations: 221.4 MB / 229.3 MB, free: 3.445 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.0009278/0.0009279, allocations: 91.8 kB / 280.1 MB, free: 1.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3998/0.3998, allocations: 78.06 MB / 408.9 MB, free: 15.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.204e-06, allocations: 4 kB / 484.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2383, allocations: 69.34 MB / 0.5407 GB, free: 21.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.3472, allocations: 99.66 MB / 0.638 GB, free: 5.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3475, allocations: 83.95 kB / 0.6381 GB, free: 5.125 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08482/0.4323, allocations: 28.03 MB / 0.6655 GB, free: 8.895 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.116e-05/0.4324, allocations: 20 kB / 0.6655 GB, free: 8.875 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.005535/0.438, allocations: 1.921 MB / 0.6674 GB, free: 6.891 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.438, allocations: 12.03 kB / 0.6674 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/0.4419, allocations: 0.5836 MB / 0.668 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.4437, allocations: 0.8419 MB / 0.6688 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.4439, allocations: 202.5 kB / 0.669 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.4441, allocations: 48 kB / 0.669 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001843/0.446, allocations: 0.8631 MB / 0.6699 GB, free: 4.258 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.4478, allocations: 0.9 MB / 0.6707 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.4479, allocations: 0 / 0.6707 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.448, allocations: 3.938 kB / 0.6707 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.448, allocations: 20 kB / 0.6708 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1433/0.5913, allocations: 3.702 MB / 0.6744 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.5926, allocations: 0.6349 MB / 0.675 GB, free: 141.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008102/0.5934, allocations: 0.5906 MB / 0.6756 GB, free: 141.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.5935, allocations: 24.11 kB / 0.6756 GB, free: 141.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5935, allocations: 44.97 kB / 0.6756 GB, free: 141.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.647e-06/0.5936, allocations: 3.469 kB / 0.6756 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01279/0.6063, allocations: 4.353 MB / 0.6799 GB, free: 141.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.6064, allocations: 150.3 kB / 0.68 GB, free: 141.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.6074, allocations: 0.7837 MB / 0.6808 GB, free: 141 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.6075, allocations: 26.23 kB / 0.6808 GB, free: 141 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.6076, allocations: 325 kB / 0.6811 GB, free: 140.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.6079, allocations: 344.7 kB / 0.6815 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.608, allocations: 1 kB / 0.6815 GB, free: 140.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.6081, allocations: 346.5 kB / 0.6818 GB, free: 140.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007671/0.6088, allocations: 483.3 kB / 0.6823 GB, free: 140.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008578/0.6097, allocations: 0.5881 MB / 0.6828 GB, free: 140.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008379/0.6106, allocations: 0.5272 MB / 0.6834 GB, free: 140.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.6106, allocations: 0 / 0.6834 GB, free: 140.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01363/0.6242, allocations: 4.531 MB / 0.6878 GB, free: 139.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.6243, allocations: 0.881 MB / 0.6886 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6244, allocations: 9.5 kB / 0.6886 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006387/0.6308, allocations: 1.827 MB / 0.6904 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.6316, allocations: 167.8 kB / 0.6906 GB, free: 138.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/0.6468, allocations: 7.676 MB / 0.6981 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.6486, allocations: 192.2 kB / 0.6983 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.6488, allocations: 35.02 kB / 0.6983 GB, free: 136.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.6488, allocations: 4.312 kB / 0.6983 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01423/0.663, allocations: 4.378 MB / 0.7026 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.663, allocations: 2.062 kB / 0.7026 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006678/0.6697, allocations: 1.822 MB / 0.7044 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.6708, allocations: 163.1 kB / 0.7045 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/0.6862, allocations: 7.691 MB / 0.712 GB, free: 133 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.6879, allocations: 173.9 kB / 0.7122 GB, free: 132.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.688, allocations: 36.22 kB / 0.7122 GB, free: 132.9 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.000336/0.6884, allocations: 151 kB / 0.7124 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.6886, allocations: 131.9 kB / 0.7125 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/0.7016, allocations: 4.467 MB / 0.7169 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.7017, allocations: 11.91 kB / 0.7169 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7017, allocations: 7.688 kB / 0.7169 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.7017, allocations: 6.547 kB / 0.7169 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.7163, allocations: 6.09 MB / 0.7228 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.7163, allocations: 6.531 kB / 0.7228 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008324/0.7171, allocations: 123.1 kB / 0.723 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005389/0.7225, allocations: 1.725 MB / 0.7246 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.7227, allocations: 8.75 kB / 0.7247 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01236/0.735, allocations: 5.667 MB / 0.7302 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.735, allocations: 1.625 kB / 0.7302 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01445/0.7495, allocations: 5.275 MB / 0.7353 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/0.7498, allocations: 220.6 kB / 0.7356 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000229/0.7501, allocations: 5.969 kB / 0.7356 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.7514, allocations: 134.3 kB / 0.7357 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/0.7517, allocations: 124.8 kB / 0.7358 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.301e-05/0.7518, allocations: 20 kB / 0.7358 GB, free: 123.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006846/0.7525, allocations: 0.6083 MB / 0.7364 GB, free: 123.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001657/0.7541, allocations: 0.6503 MB / 0.7371 GB, free: 122.7 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.0002476/0.7544, allocations: 139.5 kB / 0.7372 GB, free: 122.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009861/0.7643, allocations: 3.955 MB / 0.741 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7643, allocations: 0 / 0.741 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004194/0.7685, allocations: 1.515 MB / 0.7425 GB, free: 117.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.7692, allocations: 83.08 kB / 0.7426 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.7735, allocations: 1.905 MB / 0.7445 GB, free: 115.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/0.7743, allocations: 1.196 MB / 0.7456 GB, free: 114.8 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7743, allocations: 0 / 0.7456 GB, free: 114.8 MB / 490.7 MB Notification: Performance of Templates: time 0.0379/0.8122, allocations: 31.4 MB / 0.7763 GB, free: 90.08 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)