Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.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.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSSE.GENSAL,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL",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.001056/0.001056, 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 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.2 MB / 218.5 MB, free: 9.145 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.001005/0.001005, allocations: 86.58 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06283/0.06283, allocations: 12.19 MB / 326.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2804/0.2804, allocations: 78.03 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.345e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5493, allocations: 106.6 MB / 0.6931 GB, free: 9.695 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.5495, allocations: 82.08 kB / 0.6932 GB, free: 9.652 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09136/0.6409, allocations: 35.51 MB / 0.7278 GB, free: 11.95 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6409, allocations: 4 kB / 0.7278 GB, free: 11.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.233e-05/0.641, allocations: 23.94 kB / 0.7279 GB, free: 11.93 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.004706/0.6457, allocations: 1.792 MB / 0.7296 GB, free: 10.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.6458, allocations: 11.98 kB / 0.7296 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002237/0.646, allocations: 136.4 kB / 0.7298 GB, free: 10.11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002811/0.6488, allocations: 0.512 MB / 0.7303 GB, free: 9.633 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.6502, allocations: 0.7794 MB / 0.731 GB, free: 8.977 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/0.6506, allocations: 368.5 kB / 0.7314 GB, free: 8.594 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.6508, allocations: 87.08 kB / 0.7315 GB, free: 8.535 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.6525, allocations: 1.011 MB / 0.7324 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.6525, allocations: 0 / 0.7324 GB, free: 7.875 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.6526, allocations: 35.5 kB / 0.7325 GB, free: 7.867 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.6527, allocations: 20 kB / 0.7325 GB, free: 7.848 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6544, allocations: 0.9554 MB / 0.7334 GB, free: 7.25 MB / 474.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.007195/0.6616, allocations: 4.006 MB / 0.7373 GB, free: 4.082 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007031/0.6686, allocations: 2.887 MB / 0.7402 GB, free: 1.449 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009418/0.6696, allocations: 0.6398 MB / 0.7408 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.6697, allocations: 20.73 kB / 0.7408 GB, free: 1.086 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6698, allocations: 51.25 kB / 0.7409 GB, free: 1.035 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 6.422e-06/0.6698, allocations: 0 / 0.7409 GB, free: 1.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.01394/0.6837, allocations: 4.718 MB / 0.7455 GB, free: 12.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.6838, allocations: 90.11 kB / 0.7455 GB, free: 12.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.6854, allocations: 0.8916 MB / 0.7464 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002253/0.6856, allocations: 46.08 kB / 0.7465 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000351/0.686, allocations: 0.5165 MB / 0.747 GB, free: 11.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.6864, allocations: 375.8 kB / 0.7473 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.6865, allocations: 17.75 kB / 0.7473 GB, free: 11.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6866, allocations: 351.6 kB / 0.7477 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007988/0.6874, allocations: 488.8 kB / 0.7481 GB, free: 10.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008522/0.6883, allocations: 0.618 MB / 0.7487 GB, free: 10.49 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.6892, allocations: 0.537 MB / 0.7493 GB, free: 10.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.6892, allocations: 4 kB / 0.7493 GB, free: 10.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00319/0.6924, allocations: 1.762 MB / 0.751 GB, free: 8.527 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6924, allocations: 7.953 kB / 0.751 GB, free: 8.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6924, allocations: 7.984 kB / 0.751 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007201/0.6997, allocations: 2.241 MB / 0.7532 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006284/0.7003, allocations: 135.8 kB / 0.7533 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.7045, allocations: 2.162 MB / 0.7554 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.7062, allocations: 203 kB / 0.7556 GB, free: 3.746 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.7063, allocations: 39.98 kB / 0.7557 GB, free: 3.707 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * 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 {28 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.7066, allocations: 157.2 kB / 0.7558 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/0.7069, allocations: 130.4 kB / 0.7559 GB, free: 3.418 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.7212, allocations: 4.915 MB / 0.7607 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/0.7213, allocations: 12 kB / 0.7608 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.7213, allocations: 0 / 0.7608 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/0.7214, allocations: 3.984 kB / 0.7608 GB, free: 14.48 MB / 0.4948 GB 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 postOpt removeSimpleEquations (simulation): time 0.01751/0.7389, allocations: 6.663 MB / 0.7673 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.739, allocations: 0 / 0.7673 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/0.7397, allocations: 103.9 kB / 0.7674 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006521/0.7462, allocations: 2.002 MB / 0.7693 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002195/0.7465, allocations: 23.98 kB / 0.7693 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/0.7636, allocations: 7.849 MB / 0.777 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7636, allocations: 0 / 0.777 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/0.7793, allocations: 5.803 MB / 0.7827 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006811/0.78, allocations: 231.2 kB / 0.7829 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.7802, allocations: 20 kB / 0.7829 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.7815, allocations: 147.9 kB / 0.7831 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007675/0.7823, allocations: 237 kB / 0.7833 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-05/0.7824, allocations: 31.98 kB / 0.7833 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00104/0.7834, allocations: 0.7028 MB / 0.784 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7835, allocations: 0 / 0.784 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0013/0.7848, allocations: 439.5 kB / 0.7844 GB, free: 5.898 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01604/0.8008, allocations: 6.486 MB / 0.7908 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005963/0.8068, allocations: 2.052 MB / 0.7928 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.8069, allocations: 0 / 0.7928 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005344/0.8122, allocations: 1.762 MB / 0.7945 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.8134, allocations: 93.14 kB / 0.7946 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.8176, allocations: 2.153 MB / 0.7967 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.8183, allocations: 1.14 MB / 0.7978 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003758/0.8187, allocations: 90.77 kB / 0.7979 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005815/0.8192, allocations: 479.3 kB / 0.7983 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/0.8192, allocations: 0 / 0.7983 GB, free: 7.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05633/0.8756, allocations: 32.09 MB / 0.8297 GB, free: 7.523 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.8759, allocations: 166.9 kB / 0.8298 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/3.874, allocations: 0 / 0.8298 GB, free: 7.297 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSSE_GENSAL.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSSE.GENSAL.pipe 2>&1)