Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_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.008284/0.008284, allocations: 169.6 kB / 15.11 MB, free: 5.988 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.56/1.56, allocations: 223.2 MB / 239 MB, free: 1.777 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.001005/0.001005, allocations: 101 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4782/0.4782, allocations: 78.52 MB / 419.8 MB, free: 44.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 12 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.449, allocations: 69.35 MB / 0.5558 GB, free: 38.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5841, allocations: 98.86 MB / 0.6523 GB, free: 7.402 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5844, allocations: 82.67 kB / 0.6524 GB, free: 7.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08276/0.6672, allocations: 30.92 MB / 0.6826 GB, free: 8.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6673, allocations: 0 / 0.6826 GB, free: 8.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.846e-05/0.6673, allocations: 24 kB / 0.6826 GB, free: 8.227 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.005256/0.6726, allocations: 2.049 MB / 0.6846 GB, free: 6.113 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.6727, allocations: 12.03 kB / 0.6846 GB, free: 6.102 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.6729, allocations: 118.6 kB / 0.6848 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/0.6761, allocations: 0.572 MB / 0.6853 GB, free: 5.402 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.6778, allocations: 0.8231 MB / 0.6861 GB, free: 4.523 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.678, allocations: 234.4 kB / 0.6863 GB, free: 4.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.6782, allocations: 84 kB / 0.6864 GB, free: 4.184 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.6805, allocations: 1.15 MB / 0.6875 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.6805, allocations: 0 / 0.6875 GB, free: 3.016 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.654e-05/0.6806, allocations: 32 kB / 0.6876 GB, free: 2.984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.6806, allocations: 20 kB / 0.6876 GB, free: 2.965 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.6828, allocations: 1.074 MB / 0.6886 GB, free: 1.891 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.007036/0.6899, allocations: 3.916 MB / 0.6925 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00798/0.6979, allocations: 2.891 MB / 0.6953 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.698, allocations: 20.97 kB / 0.6953 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.698, allocations: 43.56 kB / 0.6954 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=94): time 4.118e-06/0.6981, allocations: 0 / 0.6954 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94): time 0.02943/0.7275, allocations: 8.327 MB / 0.7035 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.7277, allocations: 145.4 kB / 0.7036 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.7299, allocations: 0.949 MB / 0.7046 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/0.7302, allocations: 45.7 kB / 0.7046 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.7308, allocations: 0.517 MB / 0.7051 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.7313, allocations: 331.1 kB / 0.7054 GB, free: 328 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.7313, allocations: 16 kB / 0.7054 GB, free: 312 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002364/0.7316, allocations: 341.9 kB / 0.7058 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.7331, allocations: 0.6501 MB / 0.7064 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.7347, allocations: 0.7847 MB / 0.7072 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.7362, allocations: 0.755 MB / 0.7079 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7362, allocations: 4 kB / 0.7079 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01358/0.7498, allocations: 4.625 MB / 0.7124 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006263/0.7505, allocations: 1.205 MB / 0.7136 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7505, allocations: 0 / 0.7136 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006036/0.7566, allocations: 1.832 MB / 0.7154 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.7579, allocations: 183.8 kB / 0.7156 GB, free: 5.762 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/0.7786, allocations: 9.113 MB / 0.7245 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.7804, allocations: 191.2 kB / 0.7246 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.359e-05/0.7805, allocations: 35.92 kB / 0.7247 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.7806, allocations: 5.25 kB / 0.7247 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01322/0.7938, allocations: 4.469 MB / 0.729 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.7939, allocations: 4 kB / 0.729 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005845/0.7997, allocations: 1.828 MB / 0.7308 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.8009, allocations: 183.7 kB / 0.731 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02031/0.8212, allocations: 9.088 MB / 0.7399 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.8231, allocations: 191.2 kB / 0.7401 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.666e-05/0.8232, allocations: 32 kB / 0.7401 GB, free: 12.33 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.0007834/0.824, allocations: 361.5 kB / 0.7404 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.8243, allocations: 134.3 kB / 0.7406 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.8374, allocations: 4.634 MB / 0.7451 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.8375, allocations: 8 kB / 0.7451 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.8375, allocations: 8 kB / 0.7451 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-05/0.8375, allocations: 3.984 kB / 0.7451 GB, free: 7.145 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.0156/0.8531, allocations: 6.296 MB / 0.7513 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.8532, allocations: 0 / 0.7513 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/0.854, allocations: 119.9 kB / 0.7514 GB, free: 0.6289 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005497/0.8595, allocations: 1.797 MB / 0.7531 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.8597, allocations: 19.98 kB / 0.7531 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01734/0.877, allocations: 7.996 MB / 0.761 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8771, allocations: 7.984 kB / 0.761 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01494/0.892, allocations: 5.573 MB / 0.7664 GB, free: 1.055 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000642/0.8927, allocations: 235.2 kB / 0.7666 GB, free: 0.8047 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001912/0.8929, allocations: 16 kB / 0.7666 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.8942, allocations: 135.9 kB / 0.7668 GB, free: 0.6562 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005629/0.8947, allocations: 184.7 kB / 0.767 GB, free: 488 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/0.8948, allocations: 24 kB / 0.767 GB, free: 464 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.3029/1.198, allocations: 0.7457 MB / 0.7677 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.51e-07/1.198, allocations: 0 / 0.7677 GB, free: 145.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002974/1.201, allocations: 0.6708 MB / 0.7684 GB, free: 145.4 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.01626/1.217, allocations: 6.251 MB / 0.7745 GB, free: 144.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009483/1.227, allocations: 4.198 MB / 0.7786 GB, free: 144 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/1.227, allocations: 0 / 0.7786 GB, free: 144 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003935/1.231, allocations: 1.694 MB / 0.7802 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/1.232, allocations: 112.6 kB / 0.7803 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/1.237, allocations: 5.261 MB / 0.7855 GB, free: 140.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/1.237, allocations: 1.162 MB / 0.7866 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005395/1.238, allocations: 124.7 kB / 0.7867 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005531/1.239, allocations: 474.6 kB / 0.7872 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/1.239, allocations: 0 / 0.7872 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06702/1.306, allocations: 36.18 MB / 0.8225 GB, free: 137.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.306, allocations: 221 kB / 0.8227 GB, free: 137.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.224/4.529, allocations: 3.469 kB / 0.8227 GB, free: 137.4 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)