Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_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.001143/0.001143, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.217/1.217, allocations: 221.4 MB / 234.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008104/0.0008104, allocations: 91.75 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4264/0.4264, allocations: 78.02 MB / 414.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.849e-05, allocations: 4 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2838, allocations: 69.34 MB / 0.548 GB, free: 20.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.3968, allocations: 100.3 MB / 0.6459 GB, free: 144 kB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3971, allocations: 79.95 kB / 0.646 GB, free: 64 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4821/0.8792, allocations: 67.43 MB / 0.7119 GB, free: 68.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.8792, allocations: 0 / 0.7119 GB, free: 68.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001451/0.8794, allocations: 56.88 kB / 0.7119 GB, free: 68.36 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01086/0.8903, allocations: 4.042 MB / 0.7159 GB, free: 66.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.8903, allocations: 16.75 kB / 0.7159 GB, free: 66.22 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006774/0.891, allocations: 298.9 kB / 0.7162 GB, free: 66.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009354/0.9004, allocations: 1.599 MB / 0.7177 GB, free: 64.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/0.9035, allocations: 1.655 MB / 0.7194 GB, free: 63.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.904, allocations: 0.6862 MB / 0.72 GB, free: 62.73 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004122/0.9044, allocations: 218.1 kB / 0.7202 GB, free: 62.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.9084, allocations: 2.574 MB / 0.7227 GB, free: 60.89 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/0.9084, allocations: 0 / 0.7227 GB, free: 60.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002346/0.9087, allocations: 84 kB / 0.7228 GB, free: 60.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.9087, allocations: 48 kB / 0.7229 GB, free: 60.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.9123, allocations: 2.334 MB / 0.7252 GB, free: 59.36 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.01754/0.9299, allocations: 10.07 MB / 0.735 GB, free: 51.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008568/0.9385, allocations: 4.035 MB / 0.7389 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.941, allocations: 1.537 MB / 0.7404 GB, free: 47.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.9413, allocations: 45.23 kB / 0.7405 GB, free: 47.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.9413, allocations: 60.62 kB / 0.7405 GB, free: 47.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=243): time 4.699e-06/0.9414, allocations: 4 kB / 0.7405 GB, free: 47.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=243): time 0.03459/0.976, allocations: 12.3 MB / 0.7525 GB, free: 36.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.9761, allocations: 242.3 kB / 0.7528 GB, free: 36.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.9787, allocations: 1.867 MB / 0.7546 GB, free: 35.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006282/0.9794, allocations: 67.14 kB / 0.7547 GB, free: 34.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006683/0.9801, allocations: 1.217 MB / 0.7559 GB, free: 34.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.9808, allocations: 0.8391 MB / 0.7567 GB, free: 33.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.981, allocations: 49.62 kB / 0.7567 GB, free: 33.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9811, allocations: 391.5 kB / 0.7571 GB, free: 33.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.9831, allocations: 1.229 MB / 0.7583 GB, free: 32.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.985, allocations: 1.553 MB / 0.7598 GB, free: 31.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.9871, allocations: 1.469 MB / 0.7612 GB, free: 30.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.9871, allocations: 4 kB / 0.7612 GB, free: 30.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=298) (initialization): time 0.03113/1.018, allocations: 11.64 MB / 0.7726 GB, free: 18.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004493/1.019, allocations: 2.875 MB / 0.7754 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.019, allocations: 4 kB / 0.7754 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/1.033, allocations: 4.792 MB / 0.7801 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/1.036, allocations: 0.6866 MB / 0.7808 GB, free: 9.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03327/1.069, allocations: 16.64 MB / 0.797 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/1.073, allocations: 0.5289 MB / 0.7975 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004101/1.074, allocations: 87.97 kB / 0.7976 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.074, allocations: 4 kB / 0.7976 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.033/1.107, allocations: 11.38 MB / 0.8087 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/1.107, allocations: 7.984 kB / 0.8088 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01494/1.122, allocations: 4.8 MB / 0.8134 GB, free: 8.125 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/1.126, allocations: 0.675 MB / 0.8141 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03697/1.163, allocations: 16.64 MB / 0.8303 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/1.167, allocations: 0.5018 MB / 0.8308 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/1.167, allocations: 87.91 kB / 0.8309 GB, free: 6.078 MB / 0.5261 GB Warning: Assuming fixed start value for the following 7 variables: Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.e1q:VARIABLE(start = Syn2.e1q0 unit = "1" ) "q-axis 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 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 (219): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {59 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006595/1.168, allocations: 293.5 kB / 0.8312 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005685/1.168, allocations: 296.2 kB / 0.8315 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03634/1.205, allocations: 12.64 MB / 0.8438 GB, free: 8.789 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/1.205, allocations: 24 kB / 0.8439 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/1.205, allocations: 20 kB / 0.8439 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.565e-05/1.205, allocations: 15.89 kB / 0.8439 GB, free: 8.73 MB / 0.5417 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.04302/1.248, allocations: 16.4 MB / 0.8599 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-05/1.248, allocations: 3.984 kB / 0.8599 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.25, allocations: 283.5 kB / 0.8602 GB, free: 7.949 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01494/1.265, allocations: 4.79 MB / 0.8649 GB, free: 3.152 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006538/1.265, allocations: 51.98 kB / 0.8649 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03426/1.3, allocations: 15.39 MB / 0.8799 GB, free: 3.574 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.3, allocations: 0 / 0.8799 GB, free: 3.574 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04113/1.341, allocations: 14.59 MB / 0.8942 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.342, allocations: 416.9 kB / 0.8946 GB, free: 4.473 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008053/1.343, allocations: 51.98 kB / 0.8946 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003384/1.346, allocations: 395.7 kB / 0.895 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001938/1.348, allocations: 0.5602 MB / 0.8956 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.348, allocations: 60 kB / 0.8956 GB, free: 3.418 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002107/1.35, allocations: 1.433 MB / 0.897 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.1e-07/1.35, allocations: 0 / 0.897 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004833/1.355, allocations: 1.735 MB / 0.8987 GB, free: 244 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 (164): * Single equations (assignments): 161 * 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 {(62,8.3%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3227/1.678, allocations: 15.36 MB / 0.9137 GB, free: 181.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02348/1.701, allocations: 9.997 MB / 0.9235 GB, free: 180.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.701, allocations: 1.75 kB / 0.9235 GB, free: 180.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/1.712, allocations: 4.057 MB / 0.9274 GB, free: 179.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/1.714, allocations: 235.8 kB / 0.9277 GB, free: 179.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008658/1.723, allocations: 4.741 MB / 0.9323 GB, free: 178.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.724, allocations: 1.901 MB / 0.9341 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001984/1.726, allocations: 458.7 kB / 0.9346 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.727, allocations: 1.18 MB / 0.9357 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/1.727, allocations: 0 / 0.9357 GB, free: 177.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.842, allocations: 97.97 MB / 1.031 GB, free: 92.94 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/1.842, allocations: 190.9 kB / 1.032 GB, free: 92.71 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.202/7.044, allocations: 4.062 kB / 1.032 GB, free: 92.71 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRI.pipe 2>&1)