Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.006973/0.006973, 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.374/1.374, allocations: 223.2 MB / 239 MB, free: 1.805 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.001143/0.001142, allocations: 95.5 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.461/0.461, allocations: 78.59 MB / 419.9 MB, free: 44.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003947, allocations: 12 kB / 499.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4041, allocations: 69.35 MB / 0.5559 GB, free: 39.12 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5326, allocations: 98.85 MB / 0.6524 GB, free: 7.68 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.533, allocations: 83.94 kB / 0.6525 GB, free: 7.598 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.109/0.642, allocations: 30.91 MB / 0.6827 GB, free: 8.523 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.642, allocations: 4 kB / 0.6827 GB, free: 8.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.062e-05/0.6421, allocations: 24 kB / 0.6827 GB, free: 8.496 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.007274/0.6494, allocations: 2.049 MB / 0.6847 GB, free: 6.383 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.6494, allocations: 8.031 kB / 0.6847 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002954/0.6498, allocations: 134.5 kB / 0.6848 GB, free: 6.234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005481/0.6552, allocations: 0.5603 MB / 0.6854 GB, free: 5.672 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/0.6575, allocations: 0.827 MB / 0.6862 GB, free: 4.789 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.6579, allocations: 242.4 kB / 0.6864 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.6581, allocations: 76 kB / 0.6865 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003409/0.6616, allocations: 1.158 MB / 0.6876 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/0.6616, allocations: 0 / 0.6876 GB, free: 3.273 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.6618, allocations: 27.98 kB / 0.6876 GB, free: 3.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.6618, allocations: 20 kB / 0.6877 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/0.6654, allocations: 1.085 MB / 0.6887 GB, free: 2.141 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.01113/0.6765, allocations: 3.9 MB / 0.6925 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.6891, allocations: 2.889 MB / 0.6953 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.6894, allocations: 24.97 kB / 0.6954 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.6895, allocations: 43.56 kB / 0.6954 GB, free: 11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 4.198e-06/0.6895, allocations: 0 / 0.6954 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.04348/0.733, allocations: 8.323 MB / 0.7035 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.7331, allocations: 145.5 kB / 0.7037 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002452/0.7356, allocations: 0.949 MB / 0.7046 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.7359, allocations: 37.7 kB / 0.7046 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006437/0.7365, allocations: 0.517 MB / 0.7051 GB, free: 0.9258 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.7371, allocations: 335.1 kB / 0.7055 GB, free: 0.5938 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7372, allocations: 20 kB / 0.7055 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7374, allocations: 345.9 kB / 0.7058 GB, free: 236 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.7397, allocations: 0.65 MB / 0.7064 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/0.7421, allocations: 0.7808 MB / 0.7072 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002322/0.7445, allocations: 0.755 MB / 0.7079 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-06/0.7445, allocations: 4 kB / 0.708 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.02192/0.7664, allocations: 4.625 MB / 0.7125 GB, free: 9.336 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005775/0.767, allocations: 1.2 MB / 0.7136 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.7671, allocations: 8 kB / 0.7136 GB, free: 8.039 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.7771, allocations: 1.82 MB / 0.7154 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.779, allocations: 191.7 kB / 0.7156 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03313/0.8122, allocations: 9.118 MB / 0.7245 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.8148, allocations: 187.2 kB / 0.7247 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.815, allocations: 39.98 kB / 0.7247 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.815, allocations: 4 kB / 0.7247 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01982/0.8348, allocations: 4.461 MB / 0.7291 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.743e-05/0.8349, allocations: 8 kB / 0.7291 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009193/0.8441, allocations: 1.828 MB / 0.7309 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.8459, allocations: 175.8 kB / 0.731 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02484/0.8708, allocations: 9.098 MB / 0.7399 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.8726, allocations: 187.2 kB / 0.7401 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.8728, allocations: 39.98 kB / 0.7401 GB, free: 12.6 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" fixed = true ) "q-axis 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008009/0.8736, allocations: 353.4 kB / 0.7405 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.874, allocations: 126.4 kB / 0.7406 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.8875, allocations: 4.642 MB / 0.7451 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.8876, allocations: 12 kB / 0.7452 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.8876, allocations: 4 kB / 0.7452 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/0.8877, allocations: 11.97 kB / 0.7452 GB, free: 7.414 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.01638/0.904, allocations: 6.296 MB / 0.7513 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/0.9041, allocations: 4 kB / 0.7513 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.9049, allocations: 115.9 kB / 0.7514 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005439/0.9103, allocations: 1.789 MB / 0.7532 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000151/0.9105, allocations: 27.98 kB / 0.7532 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01754/0.928, allocations: 7.997 MB / 0.761 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.9281, allocations: 0 / 0.761 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.9436, allocations: 5.575 MB / 0.7665 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007467/0.9444, allocations: 231.2 kB / 0.7667 GB, free: 1.082 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006114/0.9451, allocations: 24 kB / 0.7667 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001779/0.9469, allocations: 139.9 kB / 0.7668 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007304/0.9476, allocations: 176.7 kB / 0.767 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.9478, allocations: 24 kB / 0.767 GB, free: 0.7266 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.3178/1.266, allocations: 0.7406 MB / 0.7677 GB, free: 146 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/1.266, allocations: 0 / 0.7677 GB, free: 146 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003222/1.269, allocations: 0.6775 MB / 0.7684 GB, free: 146 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (68): * Single equations (assignments): 66 * 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.01693/1.286, allocations: 6.249 MB / 0.7745 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.296, allocations: 4.205 MB / 0.7786 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.296, allocations: 0 / 0.7786 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004365/1.3, allocations: 1.685 MB / 0.7803 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/1.301, allocations: 116.1 kB / 0.7804 GB, free: 144.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/1.306, allocations: 5.265 MB / 0.7855 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/1.307, allocations: 1.161 MB / 0.7866 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005236/1.308, allocations: 124.1 kB / 0.7868 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/1.308, allocations: 472.5 kB / 0.7872 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/1.308, allocations: 0 / 0.7872 GB, free: 140.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06504/1.373, allocations: 36.2 MB / 0.8226 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/1.373, allocations: 220.3 kB / 0.8228 GB, free: 138 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.154/4.527, allocations: 4 kB / 0.8228 GB, free: 138 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)