Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test") translateModel(OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001395, allocations: 175.4 kB / 16.12 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.3 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.000824, allocations: 102 kB / 270.6 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3038/0.3038, allocations: 42.28 MB / 361.2 MB, free: 49.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 12 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1159, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3453/0.4613, allocations: 95.49 MB / 0.5688 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.4616, allocations: 90.41 kB / 0.5689 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07979/0.5414, allocations: 27.78 MB / 0.596 GB, free: 268 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5415, allocations: 0 / 0.596 GB, free: 268 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001427/0.5417, allocations: 31.94 kB / 0.5961 GB, free: 236 kB / 410.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.007055/0.5487, allocations: 2.132 MB / 0.5981 GB, free: 14.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5488, allocations: 12.03 kB / 0.5982 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003605/0.5524, allocations: 0.5642 MB / 0.5987 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.555, allocations: 0.9044 MB / 0.5996 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003055/0.5553, allocations: 234.5 kB / 0.5998 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.5557, allocations: 79.98 kB / 0.5999 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.5588, allocations: 1.247 MB / 0.6011 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.5588, allocations: 0 / 0.6011 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.5589, allocations: 28 kB / 0.6011 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.559, allocations: 20 kB / 0.6012 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/0.5617, allocations: 1.167 MB / 0.6023 GB, free: 9.68 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008847/0.5705, allocations: 3.8 MB / 0.606 GB, free: 5.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/0.5733, allocations: 1.579 MB / 0.6075 GB, free: 4.027 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.575, allocations: 0.8564 MB / 0.6084 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.5752, allocations: 13 kB / 0.6084 GB, free: 3.152 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.5752, allocations: 43.55 kB / 0.6084 GB, free: 3.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 4.248e-06/0.5753, allocations: 4 kB / 0.6084 GB, free: 3.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.02828/0.6035, allocations: 8.185 MB / 0.6164 GB, free: 10.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.6037, allocations: 145.5 kB / 0.6166 GB, free: 10.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002124/0.6058, allocations: 0.9992 MB / 0.6176 GB, free: 9.684 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003312/0.6062, allocations: 45.7 kB / 0.6176 GB, free: 9.633 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005029/0.6067, allocations: 0.5011 MB / 0.6181 GB, free: 9.125 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.6074, allocations: 358.8 kB / 0.6184 GB, free: 8.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.6076, allocations: 16 kB / 0.6184 GB, free: 8.754 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.6078, allocations: 345.9 kB / 0.6188 GB, free: 8.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6096, allocations: 0.7086 MB / 0.6195 GB, free: 7.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.6115, allocations: 0.8321 MB / 0.6203 GB, free: 6.832 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01693/0.6284, allocations: 5.006 MB / 0.6252 GB, free: 1.754 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.6285, allocations: 0 / 0.6252 GB, free: 1.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01525/0.6438, allocations: 5.041 MB / 0.6301 GB, free: 12.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002006/0.644, allocations: 216.9 kB / 0.6303 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.644, allocations: 7.984 kB / 0.6303 GB, free: 12.42 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007535/0.6516, allocations: 2.184 MB / 0.6324 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.6527, allocations: 167.8 kB / 0.6326 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0244/0.6771, allocations: 10.88 MB / 0.6432 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.679, allocations: 199.1 kB / 0.6434 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/0.6793, allocations: 35.98 kB / 0.6434 GB, free: 14.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.6793, allocations: 4 kB / 0.6434 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01477/0.6941, allocations: 4.883 MB / 0.6482 GB, free: 9.773 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/0.6942, allocations: 4 kB / 0.6482 GB, free: 9.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007204/0.7014, allocations: 2.18 MB / 0.6503 GB, free: 7.582 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009408/0.7024, allocations: 159.8 kB / 0.6505 GB, free: 7.426 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.7264, allocations: 10.87 MB / 0.6611 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001622/0.728, allocations: 191.1 kB / 0.6613 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.7283, allocations: 32 kB / 0.6613 GB, free: 12.07 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order6Type2_Inputs_Outputs.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6Type2_Inputs_Outputs.e2d:VARIABLE(start = order6Type2_Inputs_Outputs.e2d0 unit = "1" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * 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: 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.0008354/0.7291, allocations: 357 kB / 0.6617 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.7295, allocations: 126.5 kB / 0.6618 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/0.744, allocations: 4.969 MB / 0.6666 GB, free: 6.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.744, allocations: 12 kB / 0.6666 GB, free: 6.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.7441, allocations: 3.984 kB / 0.6667 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/0.7441, allocations: 7.922 kB / 0.6667 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2382/0.9823, allocations: 6.774 MB / 0.6733 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.9824, allocations: 0 / 0.6733 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.9836, allocations: 127 kB / 0.6734 GB, free: 120.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007065/0.9907, allocations: 2.055 MB / 0.6754 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003052/0.991, allocations: 22.98 kB / 0.6754 GB, free: 120.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01837/1.009, allocations: 8.216 MB / 0.6834 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.009, allocations: 1.688 kB / 0.6835 GB, free: 119.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/1.025, allocations: 5.966 MB / 0.6893 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/1.026, allocations: 217.3 kB / 0.6895 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005023/1.027, allocations: 25.27 kB / 0.6895 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.028, allocations: 141.8 kB / 0.6896 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000761/1.029, allocations: 203.6 kB / 0.6898 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/1.029, allocations: 26.25 kB / 0.6899 GB, free: 118.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001334/1.03, allocations: 0.6952 MB / 0.6905 GB, free: 118.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.03, allocations: 0 / 0.6905 GB, free: 118.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002875/1.033, allocations: 0.7169 MB / 0.6912 GB, free: 118.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 () * Number of clocked 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.0003977/1.034, allocations: 149 kB / 0.6914 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01179/1.046, allocations: 4.848 MB / 0.6961 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.046, allocations: 0 / 0.6961 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004721/1.05, allocations: 1.835 MB / 0.6979 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001628/1.052, allocations: 124.9 kB / 0.698 GB, free: 117.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/1.057, allocations: 2.799 MB / 0.7008 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/1.058, allocations: 1.142 MB / 0.7019 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006411/1.058, allocations: 113.6 kB / 0.702 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/1.059, allocations: 63.3 kB / 0.702 GB, free: 115.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/1.059, allocations: 0 / 0.702 GB, free: 115.4 MB / 490.7 MB Notification: Performance of Templates: time 0.05403/1.113, allocations: 28.84 MB / 0.7302 GB, free: 113.7 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)