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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.452/1.452, allocations: 221.5 MB / 229.6 MB, free: 7.531 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.001064/0.001064, allocations: 90.92 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4817/0.4817, allocations: 78.07 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.314e-05, allocations: 0 / 484.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1486, allocations: 69.37 MB / 0.5413 GB, free: 6.867 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.6032, allocations: 99.72 MB / 0.6387 GB, free: 15.87 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6035, allocations: 89.72 kB / 0.6388 GB, free: 15.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07766/0.6812, allocations: 28.3 MB / 0.6664 GB, free: 3.555 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6812, allocations: 0 / 0.6664 GB, free: 3.555 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000127/0.6814, allocations: 24 kB / 0.6664 GB, free: 3.531 MB / 474.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.006245/0.6876, allocations: 1.86 MB / 0.6682 GB, free: 1.613 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6877, allocations: 12.03 kB / 0.6683 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003985/0.6917, allocations: 0.5641 MB / 0.6688 GB, free: 1.035 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.6943, allocations: 0.8186 MB / 0.6696 GB, free: 168 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/0.6946, allocations: 198.5 kB / 0.6698 GB, free: 15.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/0.695, allocations: 59.86 kB / 0.6698 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002103/0.6971, allocations: 0.8592 MB / 0.6707 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.6992, allocations: 0.904 MB / 0.6716 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.6992, allocations: 4 kB / 0.6716 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.6994, allocations: 0 / 0.6716 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.6994, allocations: 20.84 kB / 0.6716 GB, free: 14.08 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.008289/0.7077, allocations: 3.652 MB / 0.6752 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.7095, allocations: 1.298 MB / 0.6764 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009132/0.7104, allocations: 0.5983 MB / 0.677 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.7105, allocations: 16.77 kB / 0.677 GB, free: 8.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.7106, allocations: 55.27 kB / 0.6771 GB, free: 8.184 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.487e-06/0.7106, allocations: 3.938 kB / 0.6771 GB, free: 8.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01269/0.7233, allocations: 4.093 MB / 0.6811 GB, free: 4.074 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.7234, allocations: 137.3 kB / 0.6812 GB, free: 3.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.7252, allocations: 0.7872 MB / 0.682 GB, free: 3.109 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000318/0.7255, allocations: 25.7 kB / 0.682 GB, free: 3.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.7261, allocations: 0.5126 MB / 0.6825 GB, free: 2.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006144/0.7267, allocations: 346.8 kB / 0.6828 GB, free: 2.215 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.7268, allocations: 0 / 0.6828 GB, free: 2.215 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.727, allocations: 341.9 kB / 0.6832 GB, free: 1.875 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009197/0.7279, allocations: 474.6 kB / 0.6836 GB, free: 1.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009811/0.7289, allocations: 0.5832 MB / 0.6842 GB, free: 0.793 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/0.7299, allocations: 0.5191 MB / 0.6847 GB, free: 284 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.7299, allocations: 0 / 0.6847 GB, free: 284 kB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01332/0.7432, allocations: 4.259 MB / 0.6889 GB, free: 12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007399/0.7441, allocations: 0.9357 MB / 0.6898 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/0.7441, allocations: 4 kB / 0.6898 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/0.7508, allocations: 1.767 MB / 0.6915 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.752, allocations: 163.8 kB / 0.6917 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.7697, allocations: 8.351 MB / 0.6998 GB, free: 472 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/0.7717, allocations: 187 kB / 0.7 GB, free: 284 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/0.772, allocations: 32 kB / 0.7 GB, free: 252 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.772, allocations: 0 / 0.7 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01314/0.7852, allocations: 4.118 MB / 0.704 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/0.7853, allocations: 4 kB / 0.704 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006168/0.7914, allocations: 1.758 MB / 0.7058 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.7925, allocations: 155.8 kB / 0.7059 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/0.8096, allocations: 8.364 MB / 0.7141 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.8116, allocations: 159.2 kB / 0.7142 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/0.8119, allocations: 43.97 kB / 0.7143 GB, free: 1.395 MB / 0.5105 GB 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 (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.0006095/0.8126, allocations: 152.8 kB / 0.7144 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005937/0.8132, allocations: 122.5 kB / 0.7145 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/0.8263, allocations: 4.219 MB / 0.7187 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.8264, allocations: 8 kB / 0.7187 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8264, allocations: 4 kB / 0.7187 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.8264, allocations: 7.984 kB / 0.7187 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.8421, allocations: 5.946 MB / 0.7245 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.8422, allocations: 0 / 0.7245 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/0.843, allocations: 123.8 kB / 0.7246 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005134/0.8482, allocations: 1.666 MB / 0.7262 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/0.8484, allocations: 9.312 kB / 0.7262 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01274/0.8611, allocations: 6.212 MB / 0.7323 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.8612, allocations: 4 kB / 0.7323 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.876, allocations: 5.002 MB / 0.7372 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007052/0.8768, allocations: 219.4 kB / 0.7374 GB, free: 9.398 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006468/0.8775, allocations: 7.938 kB / 0.7374 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.8791, allocations: 135.8 kB / 0.7375 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007208/0.8799, allocations: 197 kB / 0.7377 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/0.88, allocations: 24 kB / 0.7377 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001147/0.8812, allocations: 0.6053 MB / 0.7383 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8812, allocations: 0 / 0.7383 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002898/0.8841, allocations: 0.6474 MB / 0.739 GB, free: 7.781 MB / 0.5417 GB 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.0004728/0.8846, allocations: 139.1 kB / 0.7391 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.8961, allocations: 4.056 MB / 0.7431 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.8962, allocations: 0 / 0.7431 GB, free: 3.492 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.9007, allocations: 1.545 MB / 0.7446 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.9019, allocations: 92.73 kB / 0.7447 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.9062, allocations: 1.822 MB / 0.7464 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/0.907, allocations: 1.17 MB / 0.7476 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009338/0.9079, allocations: 188.6 kB / 0.7478 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.9082, allocations: 51.44 kB / 0.7478 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/0.9082, allocations: 0 / 0.7478 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of Templates: time 0.3352/1.243, allocations: 28.38 MB / 0.7755 GB, free: 142.9 MB / 0.5573 GB 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)