Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_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.005951/0.005951, allocations: 171.7 kB / 15.12 MB, free: 5.969 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.37/1.37, allocations: 223.2 MB / 239 MB, free: 36 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 97.84 kB / 290.2 MB, free: 4.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5215/0.5215, allocations: 78.58 MB / 419.9 MB, free: 36.29 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.000364, allocations: 12 kB / 499.9 MB, free: 7.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1539, allocations: 69.36 MB / 0.5559 GB, free: 1.711 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5923, allocations: 98.16 MB / 0.6517 GB, free: 4.016 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.5925, allocations: 86.69 kB / 0.6518 GB, free: 3.973 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07924/0.6718, allocations: 30.03 MB / 0.6811 GB, free: 6.457 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6718, allocations: 0 / 0.6811 GB, free: 6.457 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.672, allocations: 27.94 kB / 0.6812 GB, free: 6.43 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005814/0.6778, allocations: 1.988 MB / 0.6831 GB, free: 4.375 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.6778, allocations: 10.56 kB / 0.6831 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003462/0.6782, allocations: 122.5 kB / 0.6832 GB, free: 4.238 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003628/0.6818, allocations: 0.5681 MB / 0.6838 GB, free: 3.668 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.6838, allocations: 0.7994 MB / 0.6846 GB, free: 2.816 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002952/0.6841, allocations: 234.5 kB / 0.6848 GB, free: 2.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.6844, allocations: 76 kB / 0.6849 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.6868, allocations: 1.142 MB / 0.686 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.6868, allocations: 0 / 0.686 GB, free: 1.324 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.6869, allocations: 24 kB / 0.686 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.355e-05/0.6869, allocations: 20 kB / 0.686 GB, free: 1.281 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.6892, allocations: 1.074 MB / 0.6871 GB, free: 208 kB / 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.007205/0.6964, allocations: 3.839 MB / 0.6908 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008072/0.7045, allocations: 2.864 MB / 0.6936 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.7046, allocations: 12.98 kB / 0.6936 GB, free: 9.199 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.7046, allocations: 48.94 kB / 0.6937 GB, free: 9.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 2.455e-06/0.7046, allocations: 0 / 0.6937 GB, free: 9.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.02906/0.7337, allocations: 8.026 MB / 0.7015 GB, free: 1.074 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7339, allocations: 141.5 kB / 0.7017 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.7361, allocations: 0.921 MB / 0.7026 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002292/0.7364, allocations: 41.7 kB / 0.7026 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.7369, allocations: 0.5129 MB / 0.7031 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.7375, allocations: 327.2 kB / 0.7034 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7376, allocations: 16 kB / 0.7034 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7378, allocations: 345.9 kB / 0.7038 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.7393, allocations: 0.6422 MB / 0.7044 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.7408, allocations: 0.7643 MB / 0.7051 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.7424, allocations: 0.7392 MB / 0.7058 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.7424, allocations: 5.922 kB / 0.7059 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01438/0.7568, allocations: 4.672 MB / 0.7104 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005477/0.7574, allocations: 1.202 MB / 0.7116 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.7574, allocations: 4 kB / 0.7116 GB, free: 6.527 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006481/0.7639, allocations: 1.847 MB / 0.7134 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009974/0.7649, allocations: 163.8 kB / 0.7136 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/0.7865, allocations: 9.236 MB / 0.7226 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.7884, allocations: 191.2 kB / 0.7228 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002497/0.7887, allocations: 43.92 kB / 0.7228 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.7887, allocations: 4 kB / 0.7228 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01405/0.8028, allocations: 4.504 MB / 0.7272 GB, free: 6.387 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.8029, allocations: 5.953 kB / 0.7272 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006612/0.8095, allocations: 1.852 MB / 0.729 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009926/0.8105, allocations: 159.8 kB / 0.7292 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02226/0.8328, allocations: 9.243 MB / 0.7382 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.8346, allocations: 175.3 kB / 0.7384 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/0.8349, allocations: 35.98 kB / 0.7384 GB, free: 10.79 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3.delta:VARIABLE(start = order3.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 (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0009976/0.8359, allocations: 368.7 kB / 0.7387 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004836/0.8364, allocations: 122.5 kB / 0.7389 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01367/0.8501, allocations: 4.61 MB / 0.7434 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.8501, allocations: 9.688 kB / 0.7434 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.8501, allocations: 8 kB / 0.7434 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.862e-05/0.8502, allocations: 7.984 kB / 0.7434 GB, free: 5.641 MB / 0.5261 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.01696/0.8671, allocations: 6.221 MB / 0.7495 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.8672, allocations: 0 / 0.7495 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008381/0.868, allocations: 115.8 kB / 0.7496 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005703/0.8738, allocations: 1.797 MB / 0.7513 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/0.874, allocations: 27.94 kB / 0.7514 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/0.8926, allocations: 8.007 MB / 0.7592 GB, free: 5.215 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.8927, allocations: 4 kB / 0.7592 GB, free: 5.211 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/0.9084, allocations: 5.532 MB / 0.7646 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/0.909, allocations: 223.4 kB / 0.7648 GB, free: 15.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/0.9094, allocations: 23.95 kB / 0.7648 GB, free: 15.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.9108, allocations: 135.9 kB / 0.7649 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005866/0.9114, allocations: 180.7 kB / 0.7651 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.702e-05/0.9115, allocations: 24 kB / 0.7651 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001424/0.9129, allocations: 0.7237 MB / 0.7658 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9129, allocations: 0 / 0.7658 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002473/0.9154, allocations: 0.6708 MB / 0.7665 GB, free: 13.64 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.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 (66): * Single equations (assignments): 64 * 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.01559/0.931, allocations: 6.202 MB / 0.7726 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.9423, allocations: 4.184 MB / 0.7766 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9423, allocations: 0 / 0.7766 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004673/0.947, allocations: 1.661 MB / 0.7783 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.9484, allocations: 117.8 kB / 0.7784 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007871/0.9563, allocations: 5.047 MB / 0.7833 GB, free: 12.2 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.9572, allocations: 1.151 MB / 0.7844 GB, free: 11.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006507/0.9579, allocations: 123.8 kB / 0.7846 GB, free: 10.89 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007591/0.9587, allocations: 467.3 kB / 0.785 GB, free: 10.44 MB / 0.573 GB Notification: Performance of SimCode: time 1.643e-06/0.9587, allocations: 0 / 0.785 GB, free: 10.44 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3399/1.299, allocations: 35.73 MB / 0.8199 GB, free: 153.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.299, allocations: 221.1 kB / 0.8201 GB, free: 153.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/4.333, allocations: 0 / 0.8201 GB, free: 153.4 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_ThirdOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)