Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.005403/0.005403, allocations: 170.8 kB / 15.11 MB, free: 5.984 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.332/1.332, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009474/0.0009475, allocations: 90.8 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06218/0.06218, allocations: 12.19 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4437/0.4437, allocations: 78.53 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005171, allocations: 18.72 kB / 0.528 GB, free: 35.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.5016, allocations: 101.1 MB / 0.6943 GB, free: 35.63 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.502, allocations: 84.91 kB / 0.6944 GB, free: 35.63 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0851/0.5871, allocations: 31.82 MB / 0.7255 GB, free: 33 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5871, allocations: 0 / 0.7255 GB, free: 33 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001392/0.5873, allocations: 31.38 kB / 0.7255 GB, free: 33 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006431/0.5937, allocations: 2.095 MB / 0.7276 GB, free: 32.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.5938, allocations: 15.39 kB / 0.7276 GB, free: 32.02 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000431/0.5942, allocations: 126.8 kB / 0.7277 GB, free: 31.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.5978, allocations: 0.5752 MB / 0.7283 GB, free: 31.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.5998, allocations: 0.8223 MB / 0.7291 GB, free: 31.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.6001, allocations: 269.8 kB / 0.7293 GB, free: 31.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.6004, allocations: 79.06 kB / 0.7294 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.6028, allocations: 1.159 MB / 0.7305 GB, free: 31.26 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6028, allocations: 0 / 0.7305 GB, free: 31.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.6029, allocations: 32.44 kB / 0.7306 GB, free: 31.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.603, allocations: 15.62 kB / 0.7306 GB, free: 31.26 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.605, allocations: 1.072 MB / 0.7316 GB, free: 31.23 MB / 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.006946/0.612, allocations: 3.89 MB / 0.7354 GB, free: 30.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007307/0.6193, allocations: 2.916 MB / 0.7383 GB, free: 29.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.6195, allocations: 23.44 kB / 0.7383 GB, free: 29.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.6213, allocations: 0.8985 MB / 0.7392 GB, free: 29.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=98): time 3.656e-06/0.6213, allocations: 0 / 0.7392 GB, free: 29.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.02682/0.6482, allocations: 8.146 MB / 0.7471 GB, free: 27.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.6483, allocations: 123.5 kB / 0.7472 GB, free: 27.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/0.6504, allocations: 0.9679 MB / 0.7482 GB, free: 26.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002731/0.6507, allocations: 40.23 kB / 0.7482 GB, free: 26.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.6511, allocations: 0.521 MB / 0.7487 GB, free: 26.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.6516, allocations: 351.4 kB / 0.7491 GB, free: 26.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.6517, allocations: 18.66 kB / 0.7491 GB, free: 26.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.433e-05/0.6518, allocations: 343.1 kB / 0.7494 GB, free: 26.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.6532, allocations: 0.6654 MB / 0.7501 GB, free: 26.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.6547, allocations: 0.7967 MB / 0.7508 GB, free: 25.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6561, allocations: 0.7649 MB / 0.7516 GB, free: 25.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.6561, allocations: 0 / 0.7516 GB, free: 25.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01293/0.669, allocations: 4.791 MB / 0.7563 GB, free: 24.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.971e-05/0.6691, allocations: 63.2 kB / 0.7563 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6692, allocations: 3.906 kB / 0.7563 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006413/0.6756, allocations: 1.995 MB / 0.7583 GB, free: 23.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6767, allocations: 183.5 kB / 0.7584 GB, free: 23.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02011/0.6968, allocations: 10.8 MB / 0.769 GB, free: 19.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.6988, allocations: 211.4 kB / 0.7692 GB, free: 19.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/0.6991, allocations: 42.2 kB / 0.7692 GB, free: 19.09 MB / 474.7 MB 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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" 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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0009851/0.7001, allocations: 282.7 kB / 0.7695 GB, free: 18.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/0.7006, allocations: 132.2 kB / 0.7696 GB, free: 18.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/0.7131, allocations: 4.777 MB / 0.7743 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/0.7132, allocations: 11.44 kB / 0.7743 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.372e-05/0.7133, allocations: 7.719 kB / 0.7743 GB, free: 17.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.88e-05/0.7133, allocations: 3.984 kB / 0.7743 GB, free: 17.44 MB / 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 postOpt removeSimpleEquations (simulation): time 0.01497/0.7283, allocations: 6.367 MB / 0.7805 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.7283, allocations: 7.875 kB / 0.7805 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007432/0.7291, allocations: 107.1 kB / 0.7806 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005157/0.7342, allocations: 1.879 MB / 0.7825 GB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.7345, allocations: 26.25 kB / 0.7825 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.7528, allocations: 10.13 MB / 0.7924 GB, free: 3.258 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7529, allocations: 4 kB / 0.7924 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/0.7677, allocations: 5.727 MB / 0.798 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006799/0.7684, allocations: 231.2 kB / 0.7982 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.7689, allocations: 20 kB / 0.7982 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/0.7705, allocations: 151.8 kB / 0.7984 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007319/0.7713, allocations: 196.6 kB / 0.7986 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.7715, allocations: 31.94 kB / 0.7986 GB, free: 12.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001597/0.7731, allocations: 0.7595 MB / 0.7993 GB, free: 12.11 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7731, allocations: 0 / 0.7993 GB, free: 12.11 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00207/0.7752, allocations: 459.5 kB / 0.7998 GB, free: 11.66 MB / 490.7 MB 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,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01609/0.7913, allocations: 6.39 MB / 0.806 GB, free: 5.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006972/0.7983, allocations: 2.653 MB / 0.8086 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7983, allocations: 0 / 0.8086 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004612/0.803, allocations: 1.83 MB / 0.8104 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.8043, allocations: 108.3 kB / 0.8105 GB, free: 0.543 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008045/0.8123, allocations: 5.337 MB / 0.8157 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009176/0.8133, allocations: 1.159 MB / 0.8168 GB, free: 9.914 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0005629/0.8138, allocations: 98.88 kB / 0.8169 GB, free: 9.812 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007763/0.8146, allocations: 491.3 kB / 0.8174 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of SimCode: time 8.22e-07/0.8146, allocations: 0 / 0.8174 GB, free: 9.332 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06264/0.8773, allocations: 31.63 MB / 0.8483 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.8776, allocations: 224.6 kB / 0.8485 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.966/3.843, allocations: 4 kB / 0.8485 GB, free: 9.629 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)