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.001434/0.001434, allocations: 173.9 kB / 7.648 MB, free: 1.422 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.371/1.371, allocations: 221.5 MB / 229.6 MB, free: 3.133 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.0008387/0.0008387, allocations: 98.75 kB / 280.5 MB, free: 1.133 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.475/0.475, allocations: 78.12 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.605e-05, allocations: 0 / 485 MB, free: 4.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3312, allocations: 69.35 MB / 0.5414 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.4509, allocations: 99.8 MB / 0.6389 GB, free: 4.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4512, allocations: 75.95 kB / 0.6389 GB, free: 4.801 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4203/0.8715, allocations: 67.01 MB / 0.7044 GB, free: 98.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.8715, allocations: 0 / 0.7044 GB, free: 98.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002373/0.8718, allocations: 56.97 kB / 0.7044 GB, free: 98.27 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01197/0.8837, allocations: 4.057 MB / 0.7084 GB, free: 95.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.8838, allocations: 10.47 kB / 0.7084 GB, free: 95.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.8939, allocations: 1.602 MB / 0.71 GB, free: 95.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.8977, allocations: 1.66 MB / 0.7116 GB, free: 94.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005231/0.8983, allocations: 0.6161 MB / 0.7122 GB, free: 93.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.8988, allocations: 121.3 kB / 0.7123 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003663/0.9025, allocations: 2.241 MB / 0.7145 GB, free: 92.46 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.9063, allocations: 2.3 MB / 0.7167 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.737e-05/0.9064, allocations: 0 / 0.7167 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.9066, allocations: 0 / 0.7167 GB, free: 91.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.9067, allocations: 47.44 kB / 0.7168 GB, free: 91.16 MB / 490.7 MB 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.01752/0.9242, allocations: 9.78 MB / 0.7263 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008377/0.9326, allocations: 3.98 MB / 0.7302 GB, free: 77.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002344/0.935, allocations: 1.489 MB / 0.7317 GB, free: 75.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003936/0.9354, allocations: 36.47 kB / 0.7317 GB, free: 75.78 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.9355, allocations: 68.56 kB / 0.7318 GB, free: 75.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 4.789e-06/0.9355, allocations: 0 / 0.7318 GB, free: 75.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=244): time 0.03525/0.9707, allocations: 12.09 MB / 0.7436 GB, free: 63.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.9708, allocations: 231.6 kB / 0.7438 GB, free: 63.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.9732, allocations: 1.733 MB / 0.7455 GB, free: 61.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005238/0.9738, allocations: 29.64 kB / 0.7455 GB, free: 61.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005903/0.9744, allocations: 1.211 MB / 0.7467 GB, free: 60.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007398/0.9751, allocations: 0.8158 MB / 0.7475 GB, free: 59.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.9754, allocations: 0 / 0.7475 GB, free: 59.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.9755, allocations: 394.7 kB / 0.7479 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.9772, allocations: 1.196 MB / 0.7491 GB, free: 57.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.979, allocations: 1.488 MB / 0.7505 GB, free: 56.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.9809, allocations: 1.324 MB / 0.7518 GB, free: 54.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.9809, allocations: 0 / 0.7518 GB, free: 54.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03446/1.015, allocations: 12.21 MB / 0.7637 GB, free: 42.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005088/1.016, allocations: 2.875 MB / 0.7665 GB, free: 39.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.016, allocations: 4 kB / 0.7665 GB, free: 39.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/1.031, allocations: 4.94 MB / 0.7714 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/1.033, allocations: 371.5 kB / 0.7717 GB, free: 34.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03606/1.069, allocations: 18.52 MB / 0.7898 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004104/1.073, allocations: 477.8 kB / 0.7903 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003621/1.074, allocations: 79.98 kB / 0.7903 GB, free: 14.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/1.074, allocations: 4 kB / 0.7903 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03307/1.107, allocations: 11.89 MB / 0.8019 GB, free: 3.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.256e-05/1.107, allocations: 8 kB / 0.802 GB, free: 3.012 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01589/1.123, allocations: 4.941 MB / 0.8068 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/1.125, allocations: 351.5 kB / 0.8071 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04001/1.165, allocations: 18.52 MB / 0.8252 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004024/1.169, allocations: 457.9 kB / 0.8256 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000413/1.17, allocations: 83.97 kB / 0.8257 GB, free: 10.43 MB / 0.5105 GB Warning: Assuming fixed start value for the following 6 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Syn2.delta:VARIABLE(start = Syn2.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 (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.0007051/1.17, allocations: 205.2 kB / 0.8259 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03792/1.208, allocations: 12.1 MB / 0.8377 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.21, allocations: 292.3 kB / 0.838 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03783/1.247, allocations: 12.39 MB / 0.8501 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-05/1.248, allocations: 24 kB / 0.8501 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.094e-05/1.248, allocations: 23.95 kB / 0.8502 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.015e-05/1.248, allocations: 11.95 kB / 0.8502 GB, free: 1.324 MB / 0.5261 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.04389/1.292, allocations: 15.94 MB / 0.8657 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/1.292, allocations: 0 / 0.8657 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/1.294, allocations: 283.7 kB / 0.866 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01519/1.309, allocations: 4.771 MB / 0.8707 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007128/1.31, allocations: 19.92 kB / 0.8707 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0342/1.344, allocations: 15.19 MB / 0.8855 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.344, allocations: 0 / 0.8855 GB, free: 12.94 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3506/1.694, allocations: 14.35 MB / 0.8995 GB, free: 166.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001047/1.695, allocations: 413.6 kB / 0.8999 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009364/1.696, allocations: 7.344 kB / 0.8999 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003696/1.7, allocations: 357.6 kB / 0.9003 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002078/1.702, allocations: 0.5524 MB / 0.9008 GB, free: 166.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003031/1.703, allocations: 65.61 kB / 0.9009 GB, free: 166.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00223/1.705, allocations: 1.297 MB / 0.9021 GB, free: 166 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.705, allocations: 0 / 0.9021 GB, free: 166 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.006064/1.711, allocations: 1.624 MB / 0.9037 GB, free: 166 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 () * 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.04069/1.752, allocations: 15.09 MB / 0.9185 GB, free: 164.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02469/1.776, allocations: 10.03 MB / 0.9283 GB, free: 163.5 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.776, allocations: 0 / 0.9283 GB, free: 163.5 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01083/1.787, allocations: 3.98 MB / 0.9321 GB, free: 162.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.789, allocations: 198.5 kB / 0.9323 GB, free: 162.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008982/1.798, allocations: 4.634 MB / 0.9369 GB, free: 160.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/1.799, allocations: 1.913 MB / 0.9387 GB, free: 160.1 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001822/1.801, allocations: 448.9 kB / 0.9392 GB, free: 160.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.802, allocations: 1.183 MB / 0.9403 GB, free: 159.1 MB / 0.573 GB Notification: Performance of SimCode: time 6.81e-07/1.802, allocations: 0 / 0.9403 GB, free: 159.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/1.939, allocations: 94.71 MB / 1.033 GB, free: 82.04 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/1.939, allocations: 149.5 kB / 1.033 GB, free: 81.85 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.713/7.652, allocations: 0 / 1.033 GB, free: 81.85 MB / 0.573 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)