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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test,fileNamePrefix="OpenIPSL_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.0009516/0.0009539, allocations: 174.6 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.241/1.241, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008939/0.0008941, allocations: 86.98 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4718/0.4718, allocations: 78.01 MB / 414.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.906e-05, allocations: 0 / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 69.35 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4418, allocations: 100.4 MB / 0.6461 GB, free: 32 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.442, allocations: 96.02 kB / 0.6462 GB, free: 15.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07584/0.5179, allocations: 28.64 MB / 0.6742 GB, free: 3.094 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5179, allocations: 0 / 0.6742 GB, free: 3.094 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.761e-05/0.518, allocations: 28 kB / 0.6742 GB, free: 3.066 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.004677/0.5227, allocations: 1.867 MB / 0.676 GB, free: 1.141 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.5227, allocations: 11.97 kB / 0.676 GB, free: 1.129 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.5229, allocations: 130.9 kB / 0.6761 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00308/0.526, allocations: 0.5641 MB / 0.6767 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2902/0.8162, allocations: 0.8059 MB / 0.6775 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.8166, allocations: 235.9 kB / 0.6777 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.8168, allocations: 87.98 kB / 0.6778 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.8186, allocations: 1.003 MB / 0.6788 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.8186, allocations: 0 / 0.6788 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.8187, allocations: 34.25 kB / 0.6788 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.8188, allocations: 19.31 kB / 0.6788 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.8204, allocations: 0.9069 MB / 0.6797 GB, free: 103.3 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.006804/0.8272, allocations: 3.8 MB / 0.6834 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.8287, allocations: 1.331 MB / 0.6847 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009037/0.8297, allocations: 0.6249 MB / 0.6853 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.8298, allocations: 21.7 kB / 0.6853 GB, free: 101.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.8298, allocations: 43.47 kB / 0.6854 GB, free: 101.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=99): time 2.655e-06/0.8298, allocations: 0 / 0.6854 GB, free: 101.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=99): time 0.01143/0.8413, allocations: 4.191 MB / 0.6895 GB, free: 101.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.8413, allocations: 143.3 kB / 0.6896 GB, free: 101.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.8424, allocations: 0.8414 MB / 0.6904 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/0.8426, allocations: 48.83 kB / 0.6905 GB, free: 101.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.8429, allocations: 0.505 MB / 0.691 GB, free: 100.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.8432, allocations: 363 kB / 0.6913 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.8433, allocations: 19.62 kB / 0.6913 GB, free: 100.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.934e-05/0.8433, allocations: 340.6 kB / 0.6917 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007505/0.8441, allocations: 495.2 kB / 0.6921 GB, free: 100 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000764/0.8448, allocations: 0.6052 MB / 0.6927 GB, free: 99.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.8456, allocations: 0.582 MB / 0.6933 GB, free: 99.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.8457, allocations: 6.656 kB / 0.6933 GB, free: 99.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01113/0.8568, allocations: 4.401 MB / 0.6976 GB, free: 98.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.857, allocations: 0.9377 MB / 0.6985 GB, free: 97.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.857, allocations: 7.938 kB / 0.6985 GB, free: 97.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005292/0.8623, allocations: 1.795 MB / 0.7003 GB, free: 97.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.8631, allocations: 165.7 kB / 0.7004 GB, free: 97.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.8769, allocations: 8.631 MB / 0.7089 GB, free: 91.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.8787, allocations: 202 kB / 0.7091 GB, free: 91.69 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8788, allocations: 38.84 kB / 0.7091 GB, free: 91.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.8788, allocations: 11.25 kB / 0.7091 GB, free: 91.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01099/0.8898, allocations: 4.267 MB / 0.7133 GB, free: 88.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.8899, allocations: 4 kB / 0.7133 GB, free: 88.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/0.8952, allocations: 1.801 MB / 0.715 GB, free: 87.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.8961, allocations: 163.7 kB / 0.7152 GB, free: 87.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/0.9096, allocations: 8.588 MB / 0.7236 GB, free: 79.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.9111, allocations: 191.2 kB / 0.7238 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.9112, allocations: 35.33 kB / 0.7238 GB, free: 79.1 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.0002978/0.9115, allocations: 190.4 kB / 0.724 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.9118, allocations: 122.5 kB / 0.7241 GB, free: 78.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.9229, allocations: 4.327 MB / 0.7283 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.9229, allocations: 12 kB / 0.7283 GB, free: 75.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.9229, allocations: 0 / 0.7283 GB, free: 75.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.923, allocations: 6.938 kB / 0.7283 GB, free: 75.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.936, allocations: 6.15 MB / 0.7343 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.9361, allocations: 3.984 kB / 0.7343 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.9368, allocations: 123.8 kB / 0.7345 GB, free: 70.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004595/0.9414, allocations: 1.678 MB / 0.7361 GB, free: 68.38 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/0.9415, allocations: 23.98 kB / 0.7361 GB, free: 68.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.9524, allocations: 6.337 MB / 0.7423 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9525, allocations: 4 kB / 0.7423 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01223/0.9647, allocations: 5.123 MB / 0.7473 GB, free: 56.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.9652, allocations: 219.2 kB / 0.7475 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.9653, allocations: 24 kB / 0.7476 GB, free: 56.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.9665, allocations: 147.9 kB / 0.7477 GB, free: 56.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005649/0.967, allocations: 188.7 kB / 0.7479 GB, free: 56.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.9671, allocations: 31.98 kB / 0.7479 GB, free: 56.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007488/0.9679, allocations: 0.6533 MB / 0.7485 GB, free: 55.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.9679, allocations: 0 / 0.7485 GB, free: 55.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001642/0.9695, allocations: 0.7099 MB / 0.7492 GB, free: 54.75 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.01233/0.9819, allocations: 5.793 MB / 0.7549 GB, free: 48.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009445/0.9914, allocations: 4.18 MB / 0.759 GB, free: 44.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.9914, allocations: 0 / 0.759 GB, free: 44.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003876/0.9953, allocations: 1.588 MB / 0.7605 GB, free: 43.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.9962, allocations: 103.2 kB / 0.7606 GB, free: 42.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.9999, allocations: 2.097 MB / 0.7627 GB, free: 40.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/1, allocations: 1.158 MB / 0.7638 GB, free: 39.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007424/1.001, allocations: 193.2 kB / 0.764 GB, free: 39.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/1.002, allocations: 447.3 kB / 0.7644 GB, free: 39.02 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/1.002, allocations: 0 / 0.7644 GB, free: 39.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/1.058, allocations: 40.77 MB / 0.8042 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.058, allocations: 181 kB / 0.8044 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.19/4.248, allocations: 0 / 0.8044 GB, free: 14.46 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_AVR_AVRTypeI_Test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.AVR.AVRTypeI_Test.pipe 2>&1)