Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.3 MB / 213.4 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009215/0.0009215, allocations: 84.16 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09365/0.09365, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3191/0.3191, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.183e-05, allocations: 0 / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5607, allocations: 101.3 MB / 0.6808 GB, free: 7.488 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.561, allocations: 82.59 kB / 0.6809 GB, free: 7.445 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1741/0.7351, allocations: 65.19 MB / 0.7446 GB, free: 1.109 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7352, allocations: 0 / 0.7446 GB, free: 1.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002291/0.7354, allocations: 63.88 kB / 0.7446 GB, free: 1.047 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.01537/0.7508, allocations: 4.057 MB / 0.7486 GB, free: 12.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/0.7509, allocations: 8.031 kB / 0.7486 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.7627, allocations: 1.6 MB / 0.7501 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.7681, allocations: 1.674 MB / 0.7518 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008872/0.769, allocations: 0.6164 MB / 0.7524 GB, free: 8.836 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.7701, allocations: 128 kB / 0.7525 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005516/0.7756, allocations: 2.226 MB / 0.7547 GB, free: 6.477 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005286/0.7809, allocations: 2.299 MB / 0.7569 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/0.781, allocations: 0 / 0.7569 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.7813, allocations: 0 / 0.7569 GB, free: 4.102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/0.7813, allocations: 52 kB / 0.757 GB, free: 4.051 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.02372/0.805, allocations: 9.793 MB / 0.7665 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.8153, allocations: 3.982 MB / 0.7704 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.8184, allocations: 1.469 MB / 0.7719 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000422/0.8189, allocations: 46.03 kB / 0.7719 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.819, allocations: 56.56 kB / 0.772 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=244): time 7.183e-06/0.819, allocations: 0 / 0.772 GB, free: 4.129 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.03993/0.8589, allocations: 12.11 MB / 0.7838 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.8591, allocations: 243.6 kB / 0.784 GB, free: 7.703 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.8629, allocations: 1.729 MB / 0.7857 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008889/0.8638, allocations: 25.7 kB / 0.7857 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00117/0.865, allocations: 1.215 MB / 0.7869 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001682/0.8667, allocations: 0.8119 MB / 0.7877 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.8669, allocations: 0 / 0.7877 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.8672, allocations: 398.7 kB / 0.7881 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.8694, allocations: 1.192 MB / 0.7893 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/0.8719, allocations: 1.5 MB / 0.7907 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.8744, allocations: 1.32 MB / 0.792 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.8744, allocations: 0 / 0.792 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03913/0.9135, allocations: 12.22 MB / 0.8039 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001403/0.915, allocations: 2.873 MB / 0.8067 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.915, allocations: 8 kB / 0.8068 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01741/0.9324, allocations: 4.935 MB / 0.8116 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.9348, allocations: 375.5 kB / 0.8119 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04431/0.9791, allocations: 18.51 MB / 0.83 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/0.984, allocations: 477.7 kB / 0.8305 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008445/0.9849, allocations: 83.98 kB / 0.8305 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.9849, allocations: 4 kB / 0.8305 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03846/1.023, allocations: 11.9 MB / 0.8422 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.08e-05/1.024, allocations: 4 kB / 0.8422 GB, free: 11.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/1.041, allocations: 4.939 MB / 0.847 GB, free: 6.422 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.044, allocations: 359.4 kB / 0.8473 GB, free: 6.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4373/1.481, allocations: 18.51 MB / 0.8654 GB, free: 143.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005084/1.486, allocations: 456.6 kB / 0.8658 GB, free: 143 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009111/1.487, allocations: 81.53 kB / 0.8659 GB, free: 143 MB / 0.573 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.0009551/1.488, allocations: 209.7 kB / 0.8661 GB, free: 142.8 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04029/1.528, allocations: 12.1 MB / 0.8779 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001922/1.53, allocations: 296 kB / 0.8782 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04344/1.574, allocations: 12.38 MB / 0.8903 GB, free: 142.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.976e-05/1.574, allocations: 23.53 kB / 0.8903 GB, free: 142.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.666e-05/1.574, allocations: 18.97 kB / 0.8904 GB, free: 142.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.963e-05/1.574, allocations: 14.53 kB / 0.8904 GB, free: 142.2 MB / 0.573 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.05067/1.625, allocations: 15.95 MB / 0.9059 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-05/1.625, allocations: 0 / 0.9059 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.627, allocations: 282.6 kB / 0.9062 GB, free: 141.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01387/1.64, allocations: 4.77 MB / 0.9109 GB, free: 140.7 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007811/1.641, allocations: 19.47 kB / 0.9109 GB, free: 140.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02944/1.671, allocations: 15.18 MB / 0.9257 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.671, allocations: 4 kB / 0.9257 GB, free: 133.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03737/1.708, allocations: 14.35 MB / 0.9397 GB, free: 121.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/1.71, allocations: 412.1 kB / 0.9401 GB, free: 121.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008507/1.711, allocations: 12.06 kB / 0.9401 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/1.714, allocations: 364.2 kB / 0.9405 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001919/1.716, allocations: 0.5501 MB / 0.941 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.716, allocations: 63.52 kB / 0.9411 GB, free: 120.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00184/1.718, allocations: 1.301 MB / 0.9423 GB, free: 119.6 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.718, allocations: 0 / 0.9423 GB, free: 119.6 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005293/1.723, allocations: 1.626 MB / 0.9439 GB, free: 118.1 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.03805/1.761, allocations: 15.09 MB / 0.9587 GB, free: 105.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02546/1.787, allocations: 10.03 MB / 0.9685 GB, free: 96.58 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.787, allocations: 0 / 0.9685 GB, free: 96.58 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01077/1.797, allocations: 3.981 MB / 0.9724 GB, free: 93.05 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.799, allocations: 199.9 kB / 0.9725 GB, free: 92.87 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007867/1.807, allocations: 4.651 MB / 0.9771 GB, free: 88.76 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001074/1.808, allocations: 1.91 MB / 0.979 GB, free: 87.27 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001663/1.81, allocations: 455.8 kB / 0.9794 GB, free: 86.97 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.811, allocations: 1.183 MB / 0.9805 GB, free: 85.89 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/1.811, allocations: 0 / 0.9805 GB, free: 85.89 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.936, allocations: 94.75 MB / 1.073 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.936, allocations: 148.4 kB / 1.073 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.219/8.155, allocations: 0 / 1.073 GB, free: 9.855 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)