Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.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/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00547/0.00547, allocations: 171.4 kB / 15.12 MB, free: 5.973 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.286/1.286, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0007615/0.0007615, allocations: 90.86 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0623/0.0623, allocations: 12.19 MB / 330 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4112/0.4112, allocations: 78.52 MB / 459.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 21.56 kB / 0.528 GB, free: 35.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1244, allocations: 69.25 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5337, allocations: 102 MB / 0.6953 GB, free: 35.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.534, allocations: 86.67 kB / 0.6954 GB, free: 35.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07706/0.6111, allocations: 27.93 MB / 0.7226 GB, free: 33.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6111, allocations: 0 / 0.7226 GB, free: 33.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001135/0.6112, allocations: 23.09 kB / 0.7227 GB, free: 33.38 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.007314/0.6186, allocations: 2.158 MB / 0.7248 GB, free: 32.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6186, allocations: 14.33 kB / 0.7248 GB, free: 32.41 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004685/0.6191, allocations: 134.9 kB / 0.7249 GB, free: 32.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/0.6227, allocations: 0.5668 MB / 0.7255 GB, free: 32.29 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.6249, allocations: 0.8679 MB / 0.7263 GB, free: 31.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.6251, allocations: 228.8 kB / 0.7265 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.6254, allocations: 83.69 kB / 0.7266 GB, free: 31.76 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.6277, allocations: 1.231 MB / 0.7278 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.6277, allocations: 7.938 kB / 0.7278 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/0.6279, allocations: 36.92 kB / 0.7279 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.6279, allocations: 19.53 kB / 0.7279 GB, free: 31.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/0.63, allocations: 1.169 MB / 0.729 GB, free: 31.62 MB / 474.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.006581/0.6366, allocations: 3.776 MB / 0.7327 GB, free: 30.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.6386, allocations: 1.587 MB / 0.7343 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.6387, allocations: 20.59 kB / 0.7343 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.6388, allocations: 53.72 kB / 0.7343 GB, free: 29.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.905e-06/0.6388, allocations: 0 / 0.7343 GB, free: 29.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=99): time 0.02364/0.6624, allocations: 8.151 MB / 0.7423 GB, free: 29.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.6625, allocations: 141.1 kB / 0.7424 GB, free: 29.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.6641, allocations: 0.8755 MB / 0.7433 GB, free: 28.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.6644, allocations: 44.7 kB / 0.7433 GB, free: 28.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.6647, allocations: 0.5115 MB / 0.7438 GB, free: 28.65 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/0.6651, allocations: 354.6 kB / 0.7442 GB, free: 28.39 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.6652, allocations: 25.47 kB / 0.7442 GB, free: 28.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.6653, allocations: 342.1 kB / 0.7445 GB, free: 28.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.6667, allocations: 0.7116 MB / 0.7452 GB, free: 27.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.668, allocations: 0.835 MB / 0.746 GB, free: 27.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.6694, allocations: 0.8084 MB / 0.7468 GB, free: 27.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6694, allocations: 0 / 0.7468 GB, free: 27.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01301/0.6825, allocations: 5.037 MB / 0.7517 GB, free: 26.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.6828, allocations: 0.9384 MB / 0.7526 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6828, allocations: 7.844 kB / 0.7526 GB, free: 25.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006449/0.6892, allocations: 2.172 MB / 0.7548 GB, free: 24.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/0.6902, allocations: 168.4 kB / 0.7549 GB, free: 24.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/0.7105, allocations: 11.33 MB / 0.766 GB, free: 20.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.7124, allocations: 210.5 kB / 0.7662 GB, free: 19.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/0.7127, allocations: 38.31 kB / 0.7662 GB, free: 19.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.7127, allocations: 3.906 kB / 0.7662 GB, free: 19.98 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/0.7258, allocations: 4.887 MB / 0.771 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.7258, allocations: 0 / 0.771 GB, free: 18.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006425/0.7323, allocations: 2.184 MB / 0.7731 GB, free: 17.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000954/0.7332, allocations: 156 kB / 0.7733 GB, free: 17.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/0.754, allocations: 11.31 MB / 0.7843 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/0.7559, allocations: 190.5 kB / 0.7845 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002267/0.7561, allocations: 37.8 kB / 0.7846 GB, free: 10.39 MB / 474.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.0008016/0.7569, allocations: 352.6 kB / 0.7849 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/0.7574, allocations: 129.7 kB / 0.785 GB, free: 9.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/0.77, allocations: 4.969 MB / 0.7899 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.77, allocations: 11.94 kB / 0.7899 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.77, allocations: 0 / 0.7899 GB, free: 5.723 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/0.7701, allocations: 7.922 kB / 0.7899 GB, free: 5.715 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.7857, allocations: 6.784 MB / 0.7965 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.7857, allocations: 0 / 0.7965 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.7866, allocations: 123.8 kB / 0.7966 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006088/0.7927, allocations: 2.062 MB / 0.7986 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/0.793, allocations: 16 kB / 0.7987 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.8122, allocations: 8.661 MB / 0.8071 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8122, allocations: 4 kB / 0.8071 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/0.8284, allocations: 5.976 MB / 0.813 GB, free: 14.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006615/0.8291, allocations: 223.2 kB / 0.8132 GB, free: 13.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005724/0.8297, allocations: 27.98 kB / 0.8132 GB, free: 13.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.8314, allocations: 139.9 kB / 0.8133 GB, free: 13.73 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000733/0.8322, allocations: 200.6 kB / 0.8135 GB, free: 13.54 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.8323, allocations: 24 kB / 0.8135 GB, free: 13.52 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001481/0.8338, allocations: 0.6952 MB / 0.8142 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8338, allocations: 0 / 0.8142 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003138/0.837, allocations: 0.7138 MB / 0.8149 GB, free: 12.1 MB / 0.4949 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.01616/0.8532, allocations: 6.635 MB / 0.8214 GB, free: 5.41 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01239/0.8656, allocations: 4.863 MB / 0.8262 GB, free: 456 kB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8657, allocations: 0 / 0.8262 GB, free: 456 kB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004998/0.8707, allocations: 1.833 MB / 0.8279 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.8722, allocations: 100.4 kB / 0.828 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008107/0.8803, allocations: 4.826 MB / 0.8327 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/0.8813, allocations: 1.167 MB / 0.8339 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000703/0.8821, allocations: 114.4 kB / 0.834 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008157/0.8829, allocations: 451.3 kB / 0.8344 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of SimCode: time 1.934e-06/0.8829, allocations: 0 / 0.8344 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06752/0.9504, allocations: 38.61 MB / 0.8721 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002133/0.9507, allocations: 207.4 kB / 0.8723 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.153/4.104, allocations: 4 kB / 0.8723 GB, free: 1.098 MB / 0.5417 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)