Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_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.005871/0.00587, 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.422/1.422, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008832/0.0008833, allocations: 95.95 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4657/0.4657, allocations: 78.58 MB / 419.9 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003779, allocations: 8 kB / 499.9 MB, free: 2.875 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3914, allocations: 69.35 MB / 0.5559 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1327/0.5241, allocations: 101.8 MB / 0.6553 GB, free: 4.727 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5244, allocations: 79.95 kB / 0.6553 GB, free: 4.648 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2586/0.783, allocations: 99.01 MB / 0.752 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.406e-06/0.783, allocations: 0 / 0.752 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005199/0.7836, allocations: 87.94 kB / 0.7521 GB, free: 0.9219 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.02499/0.8086, allocations: 6.546 MB / 0.7585 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.052e-05/0.8087, allocations: 8.031 kB / 0.7585 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00327/0.812, allocations: 484.8 kB / 0.759 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01895/0.8309, allocations: 2.803 MB / 0.7617 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008381/0.8394, allocations: 2.309 MB / 0.764 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001186/0.8406, allocations: 0.9634 MB / 0.7649 GB, free: 3.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001692/0.8423, allocations: 339.9 kB / 0.7652 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3083/1.151, allocations: 4.939 MB / 0.7701 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-05/1.151, allocations: 0.9688 kB / 0.7701 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006263/1.151, allocations: 138.7 kB / 0.7702 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.589e-05/1.151, allocations: 83.5 kB / 0.7703 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/1.162, allocations: 4.511 MB / 0.7747 GB, free: 89.86 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.03141/1.193, allocations: 18.63 MB / 0.7929 GB, free: 83.43 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/1.205, allocations: 5.653 MB / 0.7984 GB, free: 82.98 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004604/1.205, allocations: 67.61 kB / 0.7984 GB, free: 82.98 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/1.206, allocations: 77.17 kB / 0.7985 GB, free: 82.94 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.53e-06/1.206, allocations: 0 / 0.7985 GB, free: 82.94 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.3031/1.509, allocations: 78.61 MB / 0.8753 GB, free: 78.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/1.509, allocations: 170.6 kB / 0.8755 GB, free: 78.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003943/1.513, allocations: 2.702 MB / 0.8781 GB, free: 77.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008608/1.514, allocations: 84.39 kB / 0.8782 GB, free: 77.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/1.515, allocations: 1.985 MB / 0.8801 GB, free: 77.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.516, allocations: 1.296 MB / 0.8814 GB, free: 76.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003965/1.517, allocations: 71.81 kB / 0.8814 GB, free: 76.27 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.517, allocations: 437.5 kB / 0.8819 GB, free: 75.94 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007348/1.524, allocations: 2.654 MB / 0.8845 GB, free: 74.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007217/1.531, allocations: 3.235 MB / 0.8876 GB, free: 71.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/1.539, allocations: 2.908 MB / 0.8905 GB, free: 68.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/1.54, allocations: 4 kB / 0.8905 GB, free: 68.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05738/1.597, allocations: 20.11 MB / 0.9101 GB, free: 48.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001598/1.599, allocations: 6.674 MB / 0.9166 GB, free: 41.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/1.599, allocations: 12 kB / 0.9166 GB, free: 41.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02655/1.625, allocations: 8.494 MB / 0.9249 GB, free: 33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003194/1.628, allocations: 0.5432 MB / 0.9255 GB, free: 32.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0836/1.712, allocations: 36.84 MB / 0.9614 GB, free: 11.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006108/1.718, allocations: 0.6957 MB / 0.9621 GB, free: 10.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008106/1.719, allocations: 133.9 kB / 0.9622 GB, free: 10.73 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/1.719, allocations: 8.625 kB / 0.9622 GB, free: 10.72 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0574/1.776, allocations: 19.67 MB / 0.9814 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.968e-05/1.777, allocations: 19.95 kB / 0.9815 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3257/2.102, allocations: 8.484 MB / 0.9897 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003229/2.106, allocations: 0.5389 MB / 0.9903 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08988/2.195, allocations: 36.84 MB / 1.026 GB, free: 95.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006743/2.202, allocations: 0.6558 MB / 1.027 GB, free: 95.67 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001089/2.203, allocations: 132.4 kB / 1.027 GB, free: 95.67 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.003067/2.206, allocations: 0.7274 MB / 1.028 GB, free: 95.45 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002012/2.208, allocations: 453.5 kB / 1.028 GB, free: 95.22 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06147/2.27, allocations: 20.43 MB / 1.048 GB, free: 94.89 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/2.27, allocations: 40.2 kB / 1.048 GB, free: 94.88 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-05/2.27, allocations: 30.19 kB / 1.048 GB, free: 94.88 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/2.27, allocations: 20.94 kB / 1.048 GB, free: 94.88 MB / 0.5886 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.06497/2.335, allocations: 25.67 MB / 1.073 GB, free: 90.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/2.335, allocations: 3.828 kB / 1.073 GB, free: 90.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00254/2.338, allocations: 409.2 kB / 1.074 GB, free: 89.99 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02532/2.363, allocations: 8.548 MB / 1.082 GB, free: 88.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008966/2.364, allocations: 72.03 kB / 1.082 GB, free: 88.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07071/2.435, allocations: 32.23 MB / 1.114 GB, free: 74.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/2.435, allocations: 7.953 kB / 1.114 GB, free: 74.3 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06389/2.499, allocations: 24.08 MB / 1.137 GB, free: 54.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/2.501, allocations: 0.5475 MB / 1.138 GB, free: 54.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/2.503, allocations: 64 kB / 1.138 GB, free: 54.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0049/2.508, allocations: 488.8 kB / 1.138 GB, free: 53.99 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003438/2.511, allocations: 0.7714 MB / 1.139 GB, free: 53.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005254/2.512, allocations: 91.66 kB / 1.139 GB, free: 53.49 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003558/2.515, allocations: 2.065 MB / 1.141 GB, free: 51.76 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/2.515, allocations: 0 / 1.141 GB, free: 51.76 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01028/2.526, allocations: 2.869 MB / 1.144 GB, free: 49.02 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (250): * Single equations (assignments): 248 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0629/2.589, allocations: 24.81 MB / 1.168 GB, free: 28.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04542/2.634, allocations: 16.92 MB / 1.185 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/2.634, allocations: 4.062 kB / 1.185 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01993/2.654, allocations: 6.92 MB / 1.191 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003665/2.658, allocations: 310.5 kB / 1.192 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02724/2.685, allocations: 21.1 MB / 1.212 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/2.688, allocations: 2.582 MB / 1.215 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002372/2.69, allocations: 361.9 kB / 1.215 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2987/2.989, allocations: 2.018 MB / 1.217 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.773e-06/2.989, allocations: 0 / 1.217 GB, free: 120.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2172/3.206, allocations: 139.4 MB / 1.353 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001196/3.206, allocations: 222.4 kB / 1.353 GB, free: 78.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.361/10.57, allocations: 0 / 1.353 GB, free: 78.85 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)