Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001132/0.001132, allocations: 176 kB / 16.12 MB, free: 5.672 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.318/1.318, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0009086/0.0009086, allocations: 77.19 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.2933/0.2933, allocations: 42.28 MB / 361.2 MB, free: 49.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004117, allocations: 19.98 kB / 429.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1141, allocations: 57.56 MB / 487 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3281/0.4422, allocations: 95.47 MB / 0.5688 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4426, allocations: 89.91 kB / 0.5689 GB, free: 12.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07665/0.5192, allocations: 27.79 MB / 0.596 GB, free: 308 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5193, allocations: 0 / 0.596 GB, free: 308 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.5194, allocations: 24 kB / 0.5961 GB, free: 284 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.006777/0.5262, allocations: 2.136 MB / 0.5981 GB, free: 14.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.433e-05/0.5262, allocations: 12.02 kB / 0.5982 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003717/0.53, allocations: 0.5642 MB / 0.5987 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.5324, allocations: 0.9083 MB / 0.5996 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.5327, allocations: 230.5 kB / 0.5998 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.5331, allocations: 88 kB / 0.5999 GB, free: 12.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.536, allocations: 1.236 MB / 0.6011 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.5361, allocations: 0 / 0.6011 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5362, allocations: 36 kB / 0.6011 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5362, allocations: 19.94 kB / 0.6012 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.5389, allocations: 1.167 MB / 0.6023 GB, free: 9.719 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.008469/0.5474, allocations: 3.8 MB / 0.606 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.5501, allocations: 1.575 MB / 0.6075 GB, free: 4.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00177/0.5519, allocations: 0.8533 MB / 0.6084 GB, free: 3.211 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.552, allocations: 24.92 kB / 0.6084 GB, free: 3.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5521, allocations: 51.55 kB / 0.6085 GB, free: 3.129 MB / 426.7 MB Notification: Performance of pre-optimization done (n=99): time 3.947e-06/0.5521, allocations: 0 / 0.6085 GB, free: 3.129 MB / 426.7 MB Notification: Performance of matching and sorting (n=99): time 0.0282/0.5803, allocations: 8.178 MB / 0.6164 GB, free: 10.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.5804, allocations: 145.5 kB / 0.6166 GB, free: 10.74 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.5826, allocations: 0.9954 MB / 0.6175 GB, free: 9.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003316/0.583, allocations: 41.7 kB / 0.6176 GB, free: 9.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.5835, allocations: 0.5089 MB / 0.6181 GB, free: 9.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005874/0.5841, allocations: 350.8 kB / 0.6184 GB, free: 8.816 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.5842, allocations: 20 kB / 0.6184 GB, free: 8.797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.5844, allocations: 345.9 kB / 0.6188 GB, free: 8.453 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.586, allocations: 0.7125 MB / 0.6195 GB, free: 7.742 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.5877, allocations: 0.836 MB / 0.6203 GB, free: 6.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/0.6045, allocations: 5.01 MB / 0.6252 GB, free: 1.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.6046, allocations: 0 / 0.6252 GB, free: 1.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01588/0.6205, allocations: 5.041 MB / 0.6301 GB, free: 12.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.6207, allocations: 213 kB / 0.6303 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.6208, allocations: 3.938 kB / 0.6303 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007251/0.628, allocations: 2.184 MB / 0.6324 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6291, allocations: 163.8 kB / 0.6326 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02422/0.6533, allocations: 10.88 MB / 0.6432 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.6553, allocations: 199.1 kB / 0.6434 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/0.6555, allocations: 32 kB / 0.6434 GB, free: 14.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.6556, allocations: 8 kB / 0.6434 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01484/0.6704, allocations: 4.891 MB / 0.6482 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.6705, allocations: 0 / 0.6482 GB, free: 9.809 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006998/0.6775, allocations: 2.172 MB / 0.6503 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.6786, allocations: 167.8 kB / 0.6505 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02498/0.7036, allocations: 10.86 MB / 0.6611 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.7055, allocations: 187.1 kB / 0.6613 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002877/0.7058, allocations: 35.98 kB / 0.6613 GB, free: 12.11 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.001117/0.7069, allocations: 359.4 kB / 0.6617 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/0.7074, allocations: 122.5 kB / 0.6618 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.7221, allocations: 4.969 MB / 0.6666 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/0.7222, allocations: 15.98 kB / 0.6666 GB, free: 6.613 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.7222, allocations: 4 kB / 0.6667 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-05/0.7222, allocations: 15.91 kB / 0.6667 GB, free: 6.594 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2588/0.981, allocations: 6.77 MB / 0.6733 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.9811, allocations: 3.688 kB / 0.6733 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009422/0.982, allocations: 124.3 kB / 0.6734 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006843/0.9889, allocations: 2.055 MB / 0.6754 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/0.9892, allocations: 23.06 kB / 0.6754 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/1.007, allocations: 8.208 MB / 0.6834 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/1.007, allocations: 3.094 kB / 0.6834 GB, free: 119.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01518/1.022, allocations: 5.965 MB / 0.6893 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/1.022, allocations: 223.4 kB / 0.6895 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.023, allocations: 22.78 kB / 0.6895 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.024, allocations: 140.1 kB / 0.6896 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/1.024, allocations: 205.2 kB / 0.6898 GB, free: 118.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-05/1.024, allocations: 23.16 kB / 0.6899 GB, free: 118.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009737/1.025, allocations: 0.6944 MB / 0.6905 GB, free: 118.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.025, allocations: 0 / 0.6905 GB, free: 118.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001854/1.027, allocations: 0.7137 MB / 0.6912 GB, free: 118.6 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.0002806/1.028, allocations: 162 kB / 0.6914 GB, free: 118.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/1.038, allocations: 4.841 MB / 0.6961 GB, free: 117.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.038, allocations: 0 / 0.6961 GB, free: 117.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004319/1.043, allocations: 1.834 MB / 0.6979 GB, free: 117.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.044, allocations: 124.6 kB / 0.698 GB, free: 117.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/1.048, allocations: 2.801 MB / 0.7008 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005597/1.048, allocations: 1.14 MB / 0.7019 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005166/1.049, allocations: 113.9 kB / 0.702 GB, free: 115.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/1.049, allocations: 61.89 kB / 0.702 GB, free: 115.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.153e-06/1.049, allocations: 0 / 0.702 GB, free: 115.3 MB / 490.7 MB Notification: Performance of Templates: time 0.04547/1.095, allocations: 28.85 MB / 0.7302 GB, free: 113.6 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.sim & ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)