Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_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.001469/0.001469, allocations: 175 kB / 12.73 MB, free: 2.59 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.232/1.232, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007927/0.0007929, allocations: 93.7 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4318/0.4318, allocations: 78.9 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.406e-05, allocations: 0 / 492.9 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 69.51 MB / 0.5492 GB, free: 19.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.4, allocations: 99.37 MB / 0.6462 GB, free: 228 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.4002, allocations: 75.95 kB / 0.6463 GB, free: 152 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07993/0.4801, allocations: 31.07 MB / 0.6767 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4802, allocations: 0 / 0.6767 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.767e-05/0.4802, allocations: 28 kB / 0.6767 GB, free: 0.8359 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.2607/0.7409, allocations: 1.712 MB / 0.6784 GB, free: 103.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.741, allocations: 13.81 kB / 0.6784 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000318/0.7413, allocations: 124.8 kB / 0.6785 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.745, allocations: 0.5636 MB / 0.679 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.7466, allocations: 0.7961 MB / 0.6798 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.7468, allocations: 237.5 kB / 0.6801 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.747, allocations: 75.52 kB / 0.6801 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.7487, allocations: 0.9429 MB / 0.681 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.7487, allocations: 8.344 kB / 0.6811 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.7488, allocations: 28.62 kB / 0.6811 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.7488, allocations: 21.06 kB / 0.6811 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.7504, allocations: 0.8458 MB / 0.6819 GB, free: 102.5 MB / 490.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.007061/0.7575, allocations: 3.922 MB / 0.6858 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00707/0.7645, allocations: 2.624 MB / 0.6883 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007875/0.7654, allocations: 0.5448 MB / 0.6889 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.7655, allocations: 26.5 kB / 0.6889 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7655, allocations: 42.06 kB / 0.6889 GB, free: 100.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=94): time 3.316e-06/0.7655, allocations: 0 / 0.6889 GB, free: 100.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=94): time 0.01088/0.7764, allocations: 3.91 MB / 0.6927 GB, free: 100.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.7765, allocations: 146.3 kB / 0.6929 GB, free: 100.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.7778, allocations: 0.9088 MB / 0.6938 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.778, allocations: 41.64 kB / 0.6938 GB, free: 100.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.7783, allocations: 0.5164 MB / 0.6943 GB, free: 99.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.7786, allocations: 335.9 kB / 0.6946 GB, free: 99.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.7786, allocations: 21.75 kB / 0.6946 GB, free: 99.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.7787, allocations: 340.9 kB / 0.695 GB, free: 99.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.7794, allocations: 454.2 kB / 0.6954 GB, free: 98.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/0.7801, allocations: 0.5684 MB / 0.696 GB, free: 98.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.7809, allocations: 0.5492 MB / 0.6965 GB, free: 98.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7809, allocations: 4 kB / 0.6965 GB, free: 98.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01076/0.7916, allocations: 4.02 MB / 0.7004 GB, free: 97.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000201/0.7919, allocations: 1.199 MB / 0.7016 GB, free: 96.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7919, allocations: 3.031 kB / 0.7016 GB, free: 96.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004508/0.7964, allocations: 1.451 MB / 0.703 GB, free: 95.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009666/0.7974, allocations: 183.2 kB / 0.7032 GB, free: 95.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.8085, allocations: 6.444 MB / 0.7095 GB, free: 92.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.81, allocations: 192.4 kB / 0.7097 GB, free: 91.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.8101, allocations: 39.55 kB / 0.7097 GB, free: 91.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.8101, allocations: 6.031 kB / 0.7097 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01031/0.8204, allocations: 3.891 MB / 0.7135 GB, free: 88.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.8204, allocations: 7.094 kB / 0.7135 GB, free: 88.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004342/0.8248, allocations: 1.441 MB / 0.7149 GB, free: 87.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008924/0.8257, allocations: 179.4 kB / 0.7151 GB, free: 87.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.8365, allocations: 6.434 MB / 0.7214 GB, free: 81.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.8378, allocations: 183.8 kB / 0.7216 GB, free: 81.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.34e-05/0.8379, allocations: 35.75 kB / 0.7216 GB, free: 81.53 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "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 () * 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.0002599/0.8382, allocations: 194.7 kB / 0.7218 GB, free: 81.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002393/0.8384, allocations: 134.3 kB / 0.7219 GB, free: 81.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01025/0.8487, allocations: 4.028 MB / 0.7258 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.8487, allocations: 16 kB / 0.7259 GB, free: 78.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8487, allocations: 8 kB / 0.7259 GB, free: 78.01 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.8488, allocations: 3.938 kB / 0.7259 GB, free: 78.01 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.0119/0.8607, allocations: 5.668 MB / 0.7314 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8607, allocations: 0 / 0.7314 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.8613, allocations: 119.8 kB / 0.7315 GB, free: 73.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003999/0.8653, allocations: 1.414 MB / 0.7329 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/0.8654, allocations: 23.62 kB / 0.7329 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00968/0.8751, allocations: 5.728 MB / 0.7385 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8752, allocations: 0 / 0.7385 GB, free: 65.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.8864, allocations: 4.767 MB / 0.7432 GB, free: 60.92 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.8869, allocations: 227.3 kB / 0.7434 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.8871, allocations: 16 kB / 0.7434 GB, free: 60.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.8882, allocations: 147.8 kB / 0.7435 GB, free: 60.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004418/0.8887, allocations: 180.4 kB / 0.7437 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.8888, allocations: 24 kB / 0.7437 GB, free: 60.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007703/0.8895, allocations: 0.7095 MB / 0.7444 GB, free: 59.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8895, allocations: 0 / 0.7444 GB, free: 59.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001539/0.8911, allocations: 0.6814 MB / 0.7451 GB, free: 58.93 MB / 490.7 MB 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 () * 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.01152/0.9026, allocations: 5.431 MB / 0.7504 GB, free: 53.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00772/0.9104, allocations: 3.602 MB / 0.7539 GB, free: 49.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.9104, allocations: 0 / 0.7539 GB, free: 49.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/0.9138, allocations: 1.454 MB / 0.7553 GB, free: 48.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.9146, allocations: 109.1 kB / 0.7554 GB, free: 48.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.918, allocations: 2.09 MB / 0.7575 GB, free: 46.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.9184, allocations: 1.162 MB / 0.7586 GB, free: 44.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007535/0.9192, allocations: 208.3 kB / 0.7588 GB, free: 44.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004322/0.9196, allocations: 463.3 kB / 0.7593 GB, free: 44.27 MB / 490.7 MB Notification: Performance of SimCode: time 8.62e-07/0.9196, allocations: 0 / 0.7593 GB, free: 44.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05013/0.9697, allocations: 38.39 MB / 0.7967 GB, free: 6.395 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/0.9699, allocations: 186.9 kB / 0.7969 GB, free: 6.172 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/4.007, allocations: 5.891 kB / 0.7969 GB, free: 6.168 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)