Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",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.008335/0.008335, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.38/1.38, allocations: 223.2 MB / 239 MB, free: 1.809 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.0009072/0.0009069, allocations: 106.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5042/0.5042, allocations: 78.59 MB / 419.9 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 12 kB / 499.9 MB, free: 2.844 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 69.35 MB / 0.5559 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5129, allocations: 99.07 MB / 0.6526 GB, free: 7.406 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5133, allocations: 85.98 kB / 0.6527 GB, free: 7.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08518/0.5985, allocations: 31.35 MB / 0.6833 GB, free: 7.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5985, allocations: 0 / 0.6833 GB, free: 7.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.91e-05/0.5986, allocations: 20 kB / 0.6833 GB, free: 7.801 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.005788/0.6044, allocations: 2.076 MB / 0.6854 GB, free: 5.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6045, allocations: 12.03 kB / 0.6854 GB, free: 5.648 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/0.6048, allocations: 130.6 kB / 0.6855 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.6084, allocations: 0.568 MB / 0.686 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.6104, allocations: 0.8351 MB / 0.6869 GB, free: 4.051 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002558/0.6107, allocations: 238.4 kB / 0.6871 GB, free: 3.789 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.6109, allocations: 79.98 kB / 0.6872 GB, free: 3.711 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002398/0.6133, allocations: 1.173 MB / 0.6883 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.6134, allocations: 0 / 0.6883 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.6135, allocations: 31.98 kB / 0.6883 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.6135, allocations: 16 kB / 0.6884 GB, free: 2.473 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.6157, allocations: 1.081 MB / 0.6894 GB, free: 1.391 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.00761/0.6233, allocations: 3.955 MB / 0.6933 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007903/0.6312, allocations: 2.91 MB / 0.6961 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.6314, allocations: 16.97 kB / 0.6961 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6315, allocations: 43.56 kB / 0.6962 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=95): time 4.018e-06/0.6315, allocations: 0 / 0.6962 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=95): time 0.02939/0.6609, allocations: 8.159 MB / 0.7041 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.661, allocations: 137.5 kB / 0.7043 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00217/0.6632, allocations: 0.9536 MB / 0.7052 GB, free: 0.8477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002959/0.6635, allocations: 41.7 kB / 0.7052 GB, free: 0.8008 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000405/0.6639, allocations: 0.517 MB / 0.7057 GB, free: 284 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005373/0.6645, allocations: 343.2 kB / 0.7061 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.6646, allocations: 16 kB / 0.7061 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6647, allocations: 345.9 kB / 0.7064 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.6662, allocations: 0.6579 MB / 0.7071 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001554/0.6678, allocations: 0.7929 MB / 0.7078 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.6697, allocations: 0.758 MB / 0.7086 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/0.6697, allocations: 8 kB / 0.7086 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01453/0.6842, allocations: 4.774 MB / 0.7132 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005364/0.6848, allocations: 1.208 MB / 0.7144 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.6848, allocations: 4 kB / 0.7144 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007013/0.6919, allocations: 1.938 MB / 0.7163 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6929, allocations: 159.8 kB / 0.7165 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02276/0.7157, allocations: 10.61 MB / 0.7268 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.7177, allocations: 199.2 kB / 0.727 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.718, allocations: 31.98 kB / 0.7271 GB, free: 10 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.718, allocations: 5.562 kB / 0.7271 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01403/0.732, allocations: 4.614 MB / 0.7316 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.7321, allocations: 0 / 0.7316 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006786/0.7389, allocations: 1.942 MB / 0.7335 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/0.7399, allocations: 151.8 kB / 0.7336 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02347/0.7634, allocations: 10.62 MB / 0.744 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.7654, allocations: 175.3 kB / 0.7441 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.7656, allocations: 39.92 kB / 0.7442 GB, free: 8.156 MB / 0.5417 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (90): * Single equations (assignments): 86 * 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 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.000914/0.7665, allocations: 363.5 kB / 0.7445 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004933/0.767, allocations: 130.4 kB / 0.7447 GB, free: 7.656 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01364/0.7807, allocations: 4.658 MB / 0.7492 GB, free: 2.973 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/0.7808, allocations: 8 kB / 0.7492 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.841e-05/0.7809, allocations: 11.94 kB / 0.7492 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-05/0.7809, allocations: 3.984 kB / 0.7492 GB, free: 2.949 MB / 0.5417 GB 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 postOpt removeSimpleEquations (simulation): time 0.01831/0.7992, allocations: 6.319 MB / 0.7554 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.7993, allocations: 8.031 kB / 0.7554 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009641/0.8003, allocations: 123.8 kB / 0.7555 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005582/0.8059, allocations: 1.79 MB / 0.7573 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002738/0.8062, allocations: 16 kB / 0.7573 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/0.8245, allocations: 8.012 MB / 0.7651 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.8246, allocations: 4 kB / 0.7651 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2936/1.118, allocations: 5.594 MB / 0.7706 GB, free: 144.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006535/1.119, allocations: 223 kB / 0.7708 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/1.119, allocations: 22.17 kB / 0.7708 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.121, allocations: 143.4 kB / 0.7709 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006449/1.121, allocations: 184.4 kB / 0.7711 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-05/1.121, allocations: 32 kB / 0.7712 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001378/1.123, allocations: 0.7536 MB / 0.7719 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.41e-07/1.123, allocations: 0 / 0.7719 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002511/1.125, allocations: 0.6971 MB / 0.7726 GB, free: 144.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.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 (69): * Single equations (assignments): 67 * 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: 1 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01557/1.141, allocations: 6.281 MB / 0.7787 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.152, allocations: 4.513 MB / 0.7831 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.152, allocations: 0 / 0.7831 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004643/1.157, allocations: 1.69 MB / 0.7848 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/1.158, allocations: 115.8 kB / 0.7849 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/1.164, allocations: 5.384 MB / 0.7901 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/1.164, allocations: 1.166 MB / 0.7913 GB, free: 138 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005912/1.165, allocations: 126.9 kB / 0.7914 GB, free: 138 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005913/1.166, allocations: 471.3 kB / 0.7918 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of SimCode: time 6.672e-06/1.166, allocations: 0 / 0.7918 GB, free: 137.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0667/1.232, allocations: 37.21 MB / 0.8282 GB, free: 136 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.233, allocations: 221.2 kB / 0.8284 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/4.415, allocations: 0 / 0.8284 GB, free: 135.8 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)