Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_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.006303/0.006303, allocations: 170.9 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.537/1.537, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009289/0.0009289, allocations: 111.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4886/0.4886, allocations: 78.6 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 12 kB / 499.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3477, allocations: 69.34 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4696, allocations: 100.5 MB / 0.654 GB, free: 5.953 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4698, allocations: 83.95 kB / 0.6541 GB, free: 5.871 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.6519, allocations: 68.07 MB / 0.7206 GB, free: 1.426 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6519, allocations: 4 kB / 0.7206 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003996/0.6524, allocations: 59.94 kB / 0.7206 GB, free: 1.363 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.02266/0.675, allocations: 4.684 MB / 0.7252 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6751, allocations: 8.031 kB / 0.7252 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001269/0.6764, allocations: 299.1 kB / 0.7255 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.6921, allocations: 1.615 MB / 0.7271 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.698, allocations: 1.729 MB / 0.7288 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/0.6991, allocations: 0.6906 MB / 0.7295 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001065/0.7002, allocations: 215.8 kB / 0.7297 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.7125, allocations: 3.24 MB / 0.7328 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-05/0.7126, allocations: 0 / 0.7328 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006288/0.7132, allocations: 80 kB / 0.7329 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/0.7133, allocations: 52 kB / 0.7329 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.7236, allocations: 3.034 MB / 0.7359 GB, free: 1.355 MB / 0.5261 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.02898/0.7527, allocations: 10.11 MB / 0.7458 GB, free: 6.805 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.771, allocations: 4.783 MB / 0.7505 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.7715, allocations: 42.03 kB / 0.7505 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/0.7715, allocations: 68.5 kB / 0.7506 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 6.432e-06/0.7715, allocations: 0 / 0.7506 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.4567/1.228, allocations: 33.01 MB / 0.7828 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.228, allocations: 235.8 kB / 0.783 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003482/1.232, allocations: 1.95 MB / 0.7849 GB, free: 118 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007775/1.233, allocations: 70.3 kB / 0.785 GB, free: 118 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/1.234, allocations: 1.222 MB / 0.7862 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.235, allocations: 0.8387 MB / 0.787 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.235, allocations: 42.41 kB / 0.787 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.235, allocations: 397.5 kB / 0.7874 GB, free: 117 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003729/1.239, allocations: 1.882 MB / 0.7893 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/1.243, allocations: 2.204 MB / 0.7914 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/1.247, allocations: 2.123 MB / 0.7935 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.247, allocations: 0 / 0.7935 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.04725/1.294, allocations: 14.43 MB / 0.8076 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001008/1.296, allocations: 2.877 MB / 0.8104 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/1.296, allocations: 6.875 kB / 0.8104 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02078/1.316, allocations: 6.388 MB / 0.8166 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/1.319, allocations: 374.2 kB / 0.817 GB, free: 112 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05975/1.378, allocations: 27.43 MB / 0.8438 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.383, allocations: 0.5141 MB / 0.8443 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004212/1.383, allocations: 81.52 kB / 0.8444 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.383, allocations: 3.844 kB / 0.8444 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03854/1.422, allocations: 14.11 MB / 0.8581 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/1.422, allocations: 7.938 kB / 0.8581 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.018/1.44, allocations: 6.389 MB / 0.8644 GB, free: 95.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.442, allocations: 357.1 kB / 0.8647 GB, free: 94.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.059/1.501, allocations: 27.42 MB / 0.8915 GB, free: 71.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/1.505, allocations: 0.4944 MB / 0.892 GB, free: 70.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/1.506, allocations: 83.8 kB / 0.8921 GB, free: 70.84 MB / 0.5573 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 205 * 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: 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 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.00151/1.507, allocations: 0.5849 MB / 0.8926 GB, free: 70.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/1.508, allocations: 296.3 kB / 0.8929 GB, free: 69.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03945/1.548, allocations: 14.56 MB / 0.9071 GB, free: 58.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/1.548, allocations: 24 kB / 0.9072 GB, free: 58.68 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.577e-05/1.548, allocations: 22.69 kB / 0.9072 GB, free: 58.66 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-05/1.548, allocations: 15.89 kB / 0.9072 GB, free: 58.65 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 postOpt removeSimpleEquations (simulation): time 0.04393/1.592, allocations: 18.33 MB / 0.9251 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/1.592, allocations: 0 / 0.9251 GB, free: 40.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.594, allocations: 283.6 kB / 0.9254 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/1.61, allocations: 6.019 MB / 0.9312 GB, free: 34.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007234/1.611, allocations: 51.98 kB / 0.9313 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04779/1.659, allocations: 22.68 MB / 0.9534 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.659, allocations: 0 / 0.9534 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0449/1.704, allocations: 17.15 MB / 0.9702 GB, free: 10.65 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/1.705, allocations: 416.7 kB / 0.9706 GB, free: 10.22 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007152/1.706, allocations: 48.12 kB / 0.9706 GB, free: 10.18 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003175/1.709, allocations: 399.6 kB / 0.971 GB, free: 9.785 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00195/1.711, allocations: 0.5598 MB / 0.9716 GB, free: 9.223 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/1.711, allocations: 67.77 kB / 0.9716 GB, free: 9.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002454/1.713, allocations: 1.519 MB / 0.9731 GB, free: 7.637 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.713, allocations: 0 / 0.9731 GB, free: 7.637 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005017/1.718, allocations: 1.783 MB / 0.9749 GB, free: 5.855 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 162 * 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 {(63,8.1%) 25} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04803/1.766, allocations: 17.93 MB / 0.9924 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.2857/2.052, allocations: 12.24 MB / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/2.052, allocations: 0 / 1.004 GB, free: 142.3 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01328/2.066, allocations: 4.778 MB / 1.009 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/2.068, allocations: 228.7 kB / 1.009 GB, free: 141.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/2.08, allocations: 12.23 MB / 1.021 GB, free: 133.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/2.081, allocations: 1.902 MB / 1.023 GB, free: 133 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001387/2.083, allocations: 275.8 kB / 1.023 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/2.084, allocations: 1.206 MB / 1.024 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/2.084, allocations: 0 / 1.024 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/2.224, allocations: 95.96 MB / 1.118 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/2.224, allocations: 220 kB / 1.118 GB, free: 98.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.202/7.427, allocations: 0 / 1.118 GB, free: 98.84 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)