Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_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.009592/0.009592, allocations: 172 kB / 15.11 MB, free: 5.98 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.332/1.332, allocations: 223.2 MB / 239 MB, free: 72 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.0009573/0.0009572, allocations: 96.72 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4818/0.4818, allocations: 79.44 MB / 420.7 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 8 kB / 0.4891 GB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.148, allocations: 69.51 MB / 0.557 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.5398, allocations: 99.66 MB / 0.6543 GB, free: 1.516 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.54, allocations: 83.95 kB / 0.6544 GB, free: 1.434 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08756/0.6276, allocations: 31.57 MB / 0.6852 GB, free: 1.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6276, allocations: 3.984 kB / 0.6852 GB, free: 1.906 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001111/0.6277, allocations: 20 kB / 0.6853 GB, free: 1.887 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.006328/0.6341, allocations: 2.078 MB / 0.6873 GB, free: 15.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6341, allocations: 12.03 kB / 0.6873 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003822/0.6345, allocations: 126.6 kB / 0.6874 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00364/0.6382, allocations: 0.568 MB / 0.688 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.6406, allocations: 0.835 MB / 0.6888 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003342/0.6409, allocations: 238.4 kB / 0.689 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003387/0.6413, allocations: 80 kB / 0.6891 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.644, allocations: 1.169 MB / 0.6902 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.6441, allocations: 0 / 0.6902 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6442, allocations: 32 kB / 0.6903 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.6442, allocations: 16 kB / 0.6903 GB, free: 12.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.6466, allocations: 1.081 MB / 0.6913 GB, free: 11.48 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.008956/0.6556, allocations: 3.959 MB / 0.6952 GB, free: 7.332 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008347/0.6639, allocations: 2.902 MB / 0.698 GB, free: 4.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.6641, allocations: 16.98 kB / 0.6981 GB, free: 4.324 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.6642, allocations: 47.5 kB / 0.6981 GB, free: 4.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=95): time 3.055e-06/0.6642, allocations: 0 / 0.6981 GB, free: 4.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=95): time 0.02904/0.6932, allocations: 8.155 MB / 0.7061 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.277e-05/0.6933, allocations: 141.5 kB / 0.7062 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.6951, allocations: 0.9536 MB / 0.7071 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.6953, allocations: 41.7 kB / 0.7072 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.6958, allocations: 0.5209 MB / 0.7077 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.6962, allocations: 343 kB / 0.708 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.6963, allocations: 16 kB / 0.708 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6964, allocations: 341.9 kB / 0.7084 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.6978, allocations: 0.6579 MB / 0.709 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.6992, allocations: 0.7963 MB / 0.7098 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.7007, allocations: 0.7619 MB / 0.7105 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.7007, allocations: 0 / 0.7105 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01449/0.7153, allocations: 4.77 MB / 0.7152 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005512/0.7158, allocations: 1.214 MB / 0.7164 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.7159, allocations: 0 / 0.7164 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006743/0.7226, allocations: 1.942 MB / 0.7183 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00095/0.7236, allocations: 155.8 kB / 0.7184 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/0.7459, allocations: 10.61 MB / 0.7288 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.7477, allocations: 199.2 kB / 0.729 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.7478, allocations: 32 kB / 0.729 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7478, allocations: 8.922 kB / 0.729 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01397/0.7618, allocations: 4.61 MB / 0.7335 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.7619, allocations: 4 kB / 0.7335 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006577/0.7685, allocations: 1.934 MB / 0.7354 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/0.7694, allocations: 151.8 kB / 0.7355 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/0.7918, allocations: 10.61 MB / 0.7459 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.7938, allocations: 187.2 kB / 0.7461 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7939, allocations: 36 kB / 0.7461 GB, free: 2.258 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.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 (90): * Single equations (assignments): 86 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.000839/0.7947, allocations: 361.4 kB / 0.7465 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.795, allocations: 134.4 kB / 0.7466 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01323/0.8083, allocations: 4.65 MB / 0.7511 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.8083, allocations: 16 kB / 0.7511 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.8083, allocations: 8 kB / 0.7512 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.8084, allocations: 11.97 kB / 0.7512 GB, free: 13.05 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.01633/0.8247, allocations: 6.319 MB / 0.7573 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.8248, allocations: 0 / 0.7573 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008903/0.8257, allocations: 123.8 kB / 0.7575 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005639/0.8313, allocations: 1.79 MB / 0.7592 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/0.8316, allocations: 27.98 kB / 0.7592 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/0.8495, allocations: 8 MB / 0.767 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8495, allocations: 4.781 kB / 0.767 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01581/0.8654, allocations: 5.602 MB / 0.7725 GB, free: 6.906 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.866, allocations: 231.3 kB / 0.7727 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.8662, allocations: 16 kB / 0.7728 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.8675, allocations: 139.9 kB / 0.7729 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005597/0.868, allocations: 188.7 kB / 0.7731 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.8681, allocations: 24 kB / 0.7731 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001236/0.8694, allocations: 0.7632 MB / 0.7738 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8694, allocations: 0 / 0.7738 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002034/0.8714, allocations: 0.6944 MB / 0.7745 GB, free: 4.836 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (69): * Single equations (assignments): 67 * 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.01602/0.8874, allocations: 6.274 MB / 0.7806 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01187/0.8994, allocations: 4.518 MB / 0.7851 GB, free: 9.898 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.8994, allocations: 0 / 0.7851 GB, free: 9.898 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004602/0.904, allocations: 1.688 MB / 0.7867 GB, free: 8.184 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.905, allocations: 114.5 kB / 0.7868 GB, free: 8.074 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006347/0.9114, allocations: 5.377 MB / 0.7921 GB, free: 2.594 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/0.9122, allocations: 1.171 MB / 0.7932 GB, free: 1.391 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005901/0.9128, allocations: 122.6 kB / 0.7933 GB, free: 1.266 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006449/0.9135, allocations: 471.3 kB / 0.7938 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of SimCode: time 9.51e-07/0.9135, allocations: 1.406 kB / 0.7938 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3414/1.255, allocations: 37.2 MB / 0.8301 GB, free: 151.4 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/1.255, allocations: 215.7 kB / 0.8303 GB, free: 151.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/4.789, allocations: 11.81 kB / 0.8303 GB, free: 151.2 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)