Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.0116/0.0116, 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.505/1.505, allocations: 223.2 MB / 239 MB, free: 76 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.0009169/0.0009167, allocations: 99.42 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5468/0.5468, allocations: 79.44 MB / 420.7 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004289, allocations: 16 kB / 0.4891 GB, free: 6.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1526, allocations: 69.51 MB / 0.557 GB, free: 0.707 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.6352, allocations: 99.16 MB / 0.6538 GB, free: 2.031 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.6355, allocations: 80.75 kB / 0.6539 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/0.7359, allocations: 35.81 MB / 0.6889 GB, free: 14.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.7359, allocations: 0 / 0.6889 GB, free: 14.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001503/0.7361, allocations: 27.94 kB / 0.6889 GB, free: 14.11 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00641/0.7425, allocations: 1.985 MB / 0.6909 GB, free: 12.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.7426, allocations: 12.03 kB / 0.6909 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000477/0.7431, allocations: 118.6 kB / 0.691 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.7469, allocations: 0.5681 MB / 0.6915 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.7494, allocations: 0.8071 MB / 0.6923 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.7497, allocations: 242.4 kB / 0.6926 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.7501, allocations: 80 kB / 0.6926 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002737/0.7528, allocations: 1.138 MB / 0.6937 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.7529, allocations: 0 / 0.6937 GB, free: 8.996 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.753, allocations: 32 kB / 0.6938 GB, free: 8.965 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.753, allocations: 16 kB / 0.6938 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/0.7554, allocations: 1.074 MB / 0.6948 GB, free: 7.871 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.009349/0.7648, allocations: 3.863 MB / 0.6986 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008611/0.7734, allocations: 2.882 MB / 0.7014 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.7738, allocations: 12.98 kB / 0.7014 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.54e-05/0.7739, allocations: 43.56 kB / 0.7015 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 6.062e-06/0.7739, allocations: 8 kB / 0.7015 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.03028/0.8042, allocations: 8.001 MB / 0.7093 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.8044, allocations: 153.4 kB / 0.7094 GB, free: 8.547 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.8066, allocations: 0.909 MB / 0.7103 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003045/0.807, allocations: 41.7 kB / 0.7104 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004884/0.8075, allocations: 0.5051 MB / 0.7109 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000583/0.8081, allocations: 331.1 kB / 0.7112 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.8082, allocations: 16 kB / 0.7112 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8084, allocations: 341.9 kB / 0.7115 GB, free: 6.383 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.8099, allocations: 0.6383 MB / 0.7121 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.8114, allocations: 0.7721 MB / 0.7129 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.813, allocations: 0.7472 MB / 0.7136 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.813, allocations: 0 / 0.7136 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01389/0.8269, allocations: 4.66 MB / 0.7182 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005708/0.8276, allocations: 1.21 MB / 0.7194 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.8276, allocations: 4 kB / 0.7194 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006513/0.8341, allocations: 1.863 MB / 0.7212 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.8352, allocations: 165.3 kB / 0.7213 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.8566, allocations: 9.181 MB / 0.7303 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.8586, allocations: 191 kB / 0.7305 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002546/0.8589, allocations: 36.55 kB / 0.7305 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.8589, allocations: 4 kB / 0.7305 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01356/0.8725, allocations: 4.504 MB / 0.7349 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.8726, allocations: 4 kB / 0.7349 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/0.8787, allocations: 1.868 MB / 0.7368 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009924/0.8798, allocations: 155.8 kB / 0.7369 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/0.9022, allocations: 9.191 MB / 0.7459 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.9043, allocations: 175.2 kB / 0.746 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.9046, allocations: 35.92 kB / 0.7461 GB, free: 2.52 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.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 (87): * Single equations (assignments): 84 * 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 {20 12} Notification: Performance of prepare postOptimizeDAE: time 0.001154/0.9057, allocations: 366.2 kB / 0.7464 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005647/0.9063, allocations: 130.4 kB / 0.7466 GB, free: 2.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.92, allocations: 4.611 MB / 0.7511 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.9201, allocations: 8 kB / 0.7511 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/0.9201, allocations: 8 kB / 0.7511 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.9202, allocations: 3.984 kB / 0.7511 GB, free: 13.37 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.01805/0.9382, allocations: 6.229 MB / 0.7572 GB, free: 7.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-05/0.9383, allocations: 4 kB / 0.7572 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.9392, allocations: 119.8 kB / 0.7573 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/0.9449, allocations: 1.778 MB / 0.759 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.9452, allocations: 23.98 kB / 0.759 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.964, allocations: 8.012 MB / 0.7669 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9641, allocations: 4 kB / 0.7669 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.9802, allocations: 5.532 MB / 0.7723 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000714/0.981, allocations: 225.3 kB / 0.7725 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/0.9816, allocations: 16 kB / 0.7725 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/0.9832, allocations: 139.9 kB / 0.7726 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008048/0.9841, allocations: 184.7 kB / 0.7728 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/0.9843, allocations: 24 kB / 0.7728 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001849/0.9861, allocations: 0.7116 MB / 0.7735 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9862, allocations: 0 / 0.7735 GB, free: 6.062 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003219/0.9894, allocations: 0.667 MB / 0.7742 GB, free: 5.395 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeIchange1_1.firstOrder.y,aVRTypeIchange1_1.firstOrder2.y,aVRTypeIchange1_1.transferFunction.x_scaled[1],aVRTypeIchange1_1.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 (67): * Single equations (assignments): 65 * 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 {(18,25.9%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/1.006, allocations: 6.212 MB / 0.7802 GB, free: 15.14 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01193/1.018, allocations: 4.23 MB / 0.7844 GB, free: 10.84 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/1.018, allocations: 4.25 kB / 0.7844 GB, free: 10.84 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00458/1.023, allocations: 1.65 MB / 0.786 GB, free: 9.168 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.024, allocations: 108.4 kB / 0.7861 GB, free: 9.059 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/1.031, allocations: 5.143 MB / 0.7911 GB, free: 3.809 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/1.032, allocations: 1.155 MB / 0.7922 GB, free: 2.621 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006679/1.033, allocations: 118.6 kB / 0.7924 GB, free: 2.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007415/1.034, allocations: 467.3 kB / 0.7928 GB, free: 2.047 MB / 0.573 GB Notification: Performance of SimCode: time 9.22e-07/1.034, allocations: 0 / 0.7928 GB, free: 2.047 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3311/1.365, allocations: 35.6 MB / 0.8276 GB, free: 152.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/1.365, allocations: 215.4 kB / 0.8278 GB, free: 152.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/4.525, allocations: 2.75 kB / 0.8278 GB, free: 152.2 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)