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.004289/0.004289, allocations: 170.1 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.158/1.158, allocations: 223.2 MB / 239 MB, free: 1.812 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.0008051/0.0008051, allocations: 91.31 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3945/0.3945, allocations: 78.51 MB / 419.8 MB, free: 44 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003284, allocations: 12 kB / 499.7 MB, free: 2.789 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.308, allocations: 69.35 MB / 0.5557 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1059/0.4139, allocations: 100.5 MB / 0.6538 GB, free: 5.961 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4141, allocations: 95.94 kB / 0.6539 GB, free: 5.867 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07426/0.4884, allocations: 28.72 MB / 0.682 GB, free: 9.008 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4885, allocations: 0 / 0.682 GB, free: 9.008 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001226/0.4886, allocations: 24 kB / 0.682 GB, free: 8.984 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.006284/0.4949, allocations: 2.146 MB / 0.6841 GB, free: 6.773 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.495, allocations: 16.03 kB / 0.6841 GB, free: 6.758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.4983, allocations: 0.5603 MB / 0.6846 GB, free: 6.195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.5005, allocations: 0.8536 MB / 0.6855 GB, free: 5.285 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.5008, allocations: 242.4 kB / 0.6857 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.5011, allocations: 76 kB / 0.6858 GB, free: 4.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.5037, allocations: 1.236 MB / 0.687 GB, free: 3.691 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.5037, allocations: 8 kB / 0.687 GB, free: 3.684 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5038, allocations: 28 kB / 0.687 GB, free: 3.656 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.5039, allocations: 20 kB / 0.687 GB, free: 3.637 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.5062, allocations: 1.167 MB / 0.6882 GB, free: 2.469 MB / 490.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.007235/0.5135, allocations: 3.793 MB / 0.6919 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.5158, allocations: 1.578 MB / 0.6934 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.5159, allocations: 24.97 kB / 0.6935 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.516, allocations: 39.56 kB / 0.6935 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=99): time 4.208e-06/0.516, allocations: 7.938 kB / 0.6935 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=99): time 0.02621/0.5422, allocations: 8.148 MB / 0.7015 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.5423, allocations: 137.5 kB / 0.7016 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00158/0.5439, allocations: 0.8804 MB / 0.7024 GB, free: 3.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.5441, allocations: 41.7 kB / 0.7025 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.5445, allocations: 0.5128 MB / 0.703 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004169/0.5449, allocations: 346.8 kB / 0.7033 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.545, allocations: 24 kB / 0.7033 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5451, allocations: 345.9 kB / 0.7037 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.5466, allocations: 0.7086 MB / 0.7044 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.5481, allocations: 0.8321 MB / 0.7052 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.5496, allocations: 0.8078 MB / 0.706 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.5496, allocations: 0 / 0.706 GB, free: 15.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01407/0.5637, allocations: 5.047 MB / 0.7109 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/0.564, allocations: 0.9372 MB / 0.7118 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.564, allocations: 0 / 0.7118 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006753/0.5708, allocations: 2.182 MB / 0.7139 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008431/0.5717, allocations: 163.7 kB / 0.7141 GB, free: 7.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.594, allocations: 11.35 MB / 0.7252 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.5957, allocations: 199.1 kB / 0.7254 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.5959, allocations: 32 kB / 0.7254 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.5959, allocations: 7.938 kB / 0.7254 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/0.6095, allocations: 4.883 MB / 0.7302 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.6095, allocations: 4 kB / 0.7302 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006582/0.6161, allocations: 2.18 MB / 0.7323 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.6169, allocations: 155.8 kB / 0.7325 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/0.6385, allocations: 11.32 MB / 0.7435 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.6402, allocations: 191.1 kB / 0.7437 GB, free: 8.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.6404, allocations: 32 kB / 0.7437 GB, free: 8.484 MB / 0.5417 GB 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.0008204/0.6412, allocations: 350.6 kB / 0.7441 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.6416, allocations: 134.4 kB / 0.7442 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.655, allocations: 4.961 MB / 0.749 GB, free: 3.012 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.655, allocations: 8 kB / 0.749 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.655, allocations: 0 / 0.749 GB, free: 3.004 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/0.6551, allocations: 11.94 kB / 0.7491 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.6709, allocations: 6.78 MB / 0.7557 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.671, allocations: 0 / 0.7557 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008772/0.6719, allocations: 123.9 kB / 0.7558 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006098/0.678, allocations: 2.061 MB / 0.7578 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.6783, allocations: 23.94 kB / 0.7578 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.6968, allocations: 8.659 MB / 0.7663 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/0.6968, allocations: 11.92 kB / 0.7663 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2234/0.9202, allocations: 5.964 MB / 0.7721 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.9207, allocations: 217 kB / 0.7723 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.921, allocations: 29.7 kB / 0.7724 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.9223, allocations: 143.3 kB / 0.7725 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005808/0.9229, allocations: 199.2 kB / 0.7727 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.146e-05/0.923, allocations: 27.78 kB / 0.7727 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001067/0.9241, allocations: 0.6884 MB / 0.7734 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9241, allocations: 0 / 0.7734 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001923/0.926, allocations: 0.7228 MB / 0.7741 GB, free: 144.4 MB / 0.5573 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 () * 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.0002593/0.9263, allocations: 158.7 kB / 0.7742 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01074/0.937, allocations: 4.847 MB / 0.779 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.937, allocations: 3.938 kB / 0.779 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004307/0.9413, allocations: 1.831 MB / 0.7808 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.942, allocations: 99.83 kB / 0.7809 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.9454, allocations: 2.829 MB / 0.7836 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.9459, allocations: 1.164 MB / 0.7848 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004766/0.9464, allocations: 109.1 kB / 0.7849 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.9466, allocations: 65.34 kB / 0.7849 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/0.9466, allocations: 0 / 0.7849 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.03854/0.9852, allocations: 28.79 MB / 0.813 GB, free: 139.5 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)