Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.0009341/0.0009341, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009807/0.000981, allocations: 100 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4279/0.4279, allocations: 78.91 MB / 415.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.823e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3268, allocations: 69.5 MB / 0.5492 GB, free: 19.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1195/0.4464, allocations: 101 MB / 0.6478 GB, free: 14.63 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4467, allocations: 87.94 kB / 0.6479 GB, free: 14.55 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0785/0.5252, allocations: 28.93 MB / 0.6762 GB, free: 1.414 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5253, allocations: 0 / 0.6762 GB, free: 1.414 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.882e-05/0.5253, allocations: 20 kB / 0.6762 GB, free: 1.395 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.304/0.8294, allocations: 1.863 MB / 0.678 GB, free: 102.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.8295, allocations: 14.72 kB / 0.678 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004966/0.83, allocations: 133.3 kB / 0.6781 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003485/0.8335, allocations: 0.5607 MB / 0.6787 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.8352, allocations: 0.8222 MB / 0.6795 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/0.8354, allocations: 236.1 kB / 0.6797 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.8356, allocations: 83.3 kB / 0.6798 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.8375, allocations: 1.003 MB / 0.6808 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.8375, allocations: 5.5 kB / 0.6808 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-05/0.8376, allocations: 33.25 kB / 0.6808 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.8376, allocations: 21.78 kB / 0.6808 GB, free: 102.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.8394, allocations: 0.8981 MB / 0.6817 GB, free: 102.1 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.006871/0.8463, allocations: 3.803 MB / 0.6854 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.8479, allocations: 1.33 MB / 0.6867 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.8491, allocations: 0.6254 MB / 0.6873 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.8492, allocations: 18.75 kB / 0.6873 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.8493, allocations: 47.19 kB / 0.6874 GB, free: 100.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 3.326e-06/0.8493, allocations: 0 / 0.6874 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01104/0.8603, allocations: 4.189 MB / 0.6915 GB, free: 100.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.8604, allocations: 141.8 kB / 0.6916 GB, free: 100.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.8614, allocations: 0.8419 MB / 0.6924 GB, free: 99.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.8616, allocations: 45.42 kB / 0.6925 GB, free: 99.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.8619, allocations: 0.5132 MB / 0.693 GB, free: 99.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.8621, allocations: 355.5 kB / 0.6933 GB, free: 99.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/0.8622, allocations: 14.69 kB / 0.6933 GB, free: 99.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.8623, allocations: 344.6 kB / 0.6937 GB, free: 98.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.863, allocations: 497 kB / 0.6941 GB, free: 98.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007595/0.8638, allocations: 0.61 MB / 0.6947 GB, free: 98.24 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.8645, allocations: 0.5847 MB / 0.6953 GB, free: 97.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8645, allocations: 0 / 0.6953 GB, free: 97.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01125/0.8758, allocations: 4.398 MB / 0.6996 GB, free: 96.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/0.876, allocations: 0.9361 MB / 0.7005 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.876, allocations: 5.062 kB / 0.7005 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005522/0.8816, allocations: 1.805 MB / 0.7023 GB, free: 95.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/0.8824, allocations: 169.3 kB / 0.7024 GB, free: 95.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.8963, allocations: 8.623 MB / 0.7109 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.8978, allocations: 203.9 kB / 0.7111 GB, free: 90.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.8979, allocations: 34.86 kB / 0.7111 GB, free: 90.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.8979, allocations: 4 kB / 0.7111 GB, free: 90.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01122/0.9092, allocations: 4.271 MB / 0.7153 GB, free: 86.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.9092, allocations: 0 / 0.7153 GB, free: 86.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005363/0.9146, allocations: 1.81 MB / 0.717 GB, free: 85.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/0.9153, allocations: 160 kB / 0.7172 GB, free: 85.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.9292, allocations: 8.592 MB / 0.7256 GB, free: 77.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.9307, allocations: 192 kB / 0.7258 GB, free: 76.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.9309, allocations: 37.7 kB / 0.7258 GB, free: 76.9 MB / 490.7 MB 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.0003349/0.9312, allocations: 182.1 kB / 0.726 GB, free: 76.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004041/0.9316, allocations: 122.5 kB / 0.7261 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.9428, allocations: 4.333 MB / 0.7303 GB, free: 73.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.9429, allocations: 8 kB / 0.7303 GB, free: 73.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.9429, allocations: 0 / 0.7303 GB, free: 73.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.9429, allocations: 14.73 kB / 0.7303 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.9561, allocations: 6.145 MB / 0.7363 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.9561, allocations: 4 kB / 0.7363 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.9568, allocations: 123.8 kB / 0.7365 GB, free: 67.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004635/0.9615, allocations: 1.675 MB / 0.7381 GB, free: 65.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.9616, allocations: 27.98 kB / 0.7381 GB, free: 65.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/0.9728, allocations: 6.332 MB / 0.7443 GB, free: 59.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9729, allocations: 6.703 kB / 0.7443 GB, free: 59.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/0.9857, allocations: 5.116 MB / 0.7493 GB, free: 54.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.9863, allocations: 223.3 kB / 0.7495 GB, free: 54.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005581/0.9868, allocations: 16 kB / 0.7495 GB, free: 54.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/0.9885, allocations: 143.9 kB / 0.7497 GB, free: 53.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007762/0.9893, allocations: 204.6 kB / 0.7499 GB, free: 53.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.9895, allocations: 27.94 kB / 0.7499 GB, free: 53.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.9906, allocations: 0.6533 MB / 0.7505 GB, free: 53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9906, allocations: 0 / 0.7505 GB, free: 53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002909/0.9935, allocations: 0.7154 MB / 0.7512 GB, free: 52.29 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 () * 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.01313/1.007, allocations: 5.78 MB / 0.7569 GB, free: 46.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009932/1.017, allocations: 4.192 MB / 0.761 GB, free: 42.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.017, allocations: 0 / 0.761 GB, free: 42.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/1.021, allocations: 1.588 MB / 0.7625 GB, free: 40.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/1.022, allocations: 101 kB / 0.7626 GB, free: 40.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/1.027, allocations: 2.095 MB / 0.7647 GB, free: 38.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/1.027, allocations: 1.169 MB / 0.7658 GB, free: 37.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008813/1.028, allocations: 185.1 kB / 0.766 GB, free: 37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/1.029, allocations: 447.3 kB / 0.7664 GB, free: 36.56 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/1.029, allocations: 4 kB / 0.7664 GB, free: 36.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06314/1.092, allocations: 40.77 MB / 0.8062 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.092, allocations: 180 kB / 0.8064 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/4.07, allocations: 0 / 0.8064 GB, free: 11.97 MB / 0.4948 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)