Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.001781/0.001781, allocations: 180.2 kB / 7.651 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0008751/0.0008749, allocations: 93.42 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4543/0.4543, allocations: 78.08 MB / 409.3 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.784e-05, allocations: 7.938 kB / 485 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 69.36 MB / 0.5414 GB, free: 6.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4936, allocations: 98.44 MB / 0.6375 GB, free: 1.016 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4938, allocations: 80.84 kB / 0.6376 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1709/0.6647, allocations: 65.66 MB / 0.7017 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6647, allocations: 0.75 kB / 0.7017 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000174/0.6649, allocations: 55.94 kB / 0.7018 GB, free: 15.09 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01203/0.677, allocations: 3.999 MB / 0.7057 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.677, allocations: 12.03 kB / 0.7057 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.6871, allocations: 1.592 MB / 0.7072 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.6907, allocations: 1.619 MB / 0.7088 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006188/0.6913, allocations: 0.6163 MB / 0.7094 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/0.6918, allocations: 128 kB / 0.7095 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004011/0.6958, allocations: 2.219 MB / 0.7117 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004072/0.6999, allocations: 2.268 MB / 0.7139 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/0.7, allocations: 0 / 0.7139 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.7002, allocations: 4 kB / 0.7139 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.7002, allocations: 48 kB / 0.714 GB, free: 2.25 MB / 0.5105 GB 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.01889/0.7191, allocations: 9.656 MB / 0.7234 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009498/0.7287, allocations: 3.943 MB / 0.7272 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002588/0.7313, allocations: 1.464 MB / 0.7287 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/0.7317, allocations: 41.98 kB / 0.7287 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.295e-05/0.7318, allocations: 60.56 kB / 0.7288 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=241): time 5.66e-06/0.7318, allocations: 0 / 0.7288 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=241): time 0.03894/0.7708, allocations: 12.06 MB / 0.7405 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.7709, allocations: 239.6 kB / 0.7408 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003538/0.7745, allocations: 1.692 MB / 0.7424 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006357/0.7752, allocations: 31.3 kB / 0.7425 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/0.7762, allocations: 1.196 MB / 0.7436 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001236/0.7774, allocations: 0.8081 MB / 0.7444 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.7777, allocations: 0 / 0.7444 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.7779, allocations: 390.6 kB / 0.7448 GB, free: 1.992 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.7799, allocations: 1.176 MB / 0.7459 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.7821, allocations: 1.468 MB / 0.7474 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002187/0.7843, allocations: 1.3 MB / 0.7486 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.7843, allocations: 4 kB / 0.7486 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.03723/0.8215, allocations: 12.1 MB / 0.7605 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2812/1.103, allocations: 2.871 MB / 0.7633 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/1.103, allocations: 5.844 kB / 0.7633 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01654/1.119, allocations: 4.859 MB / 0.768 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/1.122, allocations: 376.4 kB / 0.7684 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03848/1.16, allocations: 17.18 MB / 0.7852 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/1.164, allocations: 479.5 kB / 0.7856 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005472/1.165, allocations: 85.95 kB / 0.7857 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.165, allocations: 6.125 kB / 0.7857 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03657/1.202, allocations: 11.78 MB / 0.7972 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.393e-05/1.202, allocations: 6.031 kB / 0.7972 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01733/1.219, allocations: 4.853 MB / 0.8019 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/1.221, allocations: 367.5 kB / 0.8023 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04063/1.262, allocations: 17.19 MB / 0.8191 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004211/1.266, allocations: 452.8 kB / 0.8195 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006913/1.267, allocations: 83.88 kB / 0.8196 GB, free: 104.5 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 4 * 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001432/1.268, allocations: 213.3 kB / 0.8198 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03805/1.306, allocations: 12.07 MB / 0.8316 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/1.308, allocations: 291.9 kB / 0.8319 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03583/1.344, allocations: 12.34 MB / 0.8439 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.344, allocations: 23.5 kB / 0.8439 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/1.344, allocations: 19.38 kB / 0.844 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-05/1.344, allocations: 13.78 kB / 0.844 GB, free: 99.5 MB / 0.5573 GB 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.04238/1.386, allocations: 15.85 MB / 0.8595 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.962e-05/1.386, allocations: 1.375 kB / 0.8595 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/1.388, allocations: 270 kB / 0.8597 GB, free: 93.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01454/1.403, allocations: 4.82 MB / 0.8644 GB, free: 89.66 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008325/1.404, allocations: 15.66 kB / 0.8644 GB, free: 89.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03388/1.437, allocations: 15.16 MB / 0.8792 GB, free: 76.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.437, allocations: 8.688 kB / 0.8792 GB, free: 76.18 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03922/1.477, allocations: 14.27 MB / 0.8932 GB, free: 64.52 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/1.478, allocations: 410 kB / 0.8936 GB, free: 64.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001067/1.479, allocations: 8.688 kB / 0.8936 GB, free: 64.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003788/1.483, allocations: 354.4 kB / 0.8939 GB, free: 63.89 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002091/1.485, allocations: 0.5502 MB / 0.8945 GB, free: 63.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006191/1.486, allocations: 67.89 kB / 0.8945 GB, free: 63.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002237/1.488, allocations: 1.268 MB / 0.8958 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.488, allocations: 0 / 0.8958 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00598/1.494, allocations: 1.597 MB / 0.8973 GB, free: 60.85 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,Exc1.firstOrder.y,Exc1.firstOrder2.y,Exc1.transferFunction.x_scaled[1],Exc1.transferFunction.x_scaled[2],Exc2.firstOrder.y,Exc2.firstOrder2.y,Exc2.transferFunction.x_scaled[1],Exc2.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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: 1 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03797/1.532, allocations: 15.01 MB / 0.912 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02602/1.558, allocations: 9.697 MB / 0.9215 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.558, allocations: 320 / 0.9215 GB, free: 39.64 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/1.569, allocations: 3.986 MB / 0.9253 GB, free: 36.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.572, allocations: 193.7 kB / 0.9255 GB, free: 35.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.582, allocations: 4.368 MB / 0.9298 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/1.584, allocations: 1.898 MB / 0.9317 GB, free: 30.58 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002536/1.587, allocations: 447.4 kB / 0.9321 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/1.588, allocations: 1.169 MB / 0.9332 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.423e-06/1.588, allocations: 0 / 0.9332 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4705/2.058, allocations: 93.27 MB / 1.024 GB, free: 127.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/2.059, allocations: 146.4 kB / 1.024 GB, free: 127.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.552/7.611, allocations: 0 / 1.024 GB, free: 127.3 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)