Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.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_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII",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.005739/0.005739, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.0008091/0.0008091, allocations: 98.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06201/0.06201, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4087/0.4087, allocations: 78.52 MB / 459.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.000493, allocations: 19.28 kB / 0.528 GB, free: 35.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1169, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4772, allocations: 100.8 MB / 0.6941 GB, free: 98.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4774, allocations: 77.97 kB / 0.6942 GB, free: 98.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1361/0.6136, allocations: 60.48 MB / 0.7532 GB, free: 56.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.6136, allocations: 0 / 0.7532 GB, free: 56.97 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.6137, allocations: 51.94 kB / 0.7533 GB, free: 56.92 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: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01168/0.6254, allocations: 4.321 MB / 0.7575 GB, free: 52.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6255, allocations: 11.98 kB / 0.7575 GB, free: 52.52 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006229/0.6261, allocations: 282.4 kB / 0.7578 GB, free: 52.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008826/0.635, allocations: 1.592 MB / 0.7593 GB, free: 50.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.6376, allocations: 1.515 MB / 0.7608 GB, free: 49.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004308/0.6381, allocations: 0.6786 MB / 0.7615 GB, free: 48.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003004/0.6384, allocations: 200 kB / 0.7617 GB, free: 48.08 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005148/0.6436, allocations: 3.094 MB / 0.7647 GB, free: 44.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.6436, allocations: 0 / 0.7647 GB, free: 44.97 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.6438, allocations: 76 kB / 0.7648 GB, free: 44.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.6439, allocations: 48 kB / 0.7648 GB, free: 44.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004955/0.6488, allocations: 2.881 MB / 0.7676 GB, free: 41.96 MB / 474.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.01547/0.6643, allocations: 9.717 MB / 0.7771 GB, free: 31.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009855/0.6742, allocations: 4.813 MB / 0.7818 GB, free: 26.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003607/0.6746, allocations: 41.95 kB / 0.7819 GB, free: 26.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.6747, allocations: 56.56 kB / 0.7819 GB, free: 26.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=230): time 4.659e-06/0.6747, allocations: 0 / 0.7819 GB, free: 26.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=230): time 0.1022/0.7768, allocations: 31.77 MB / 0.8129 GB, free: 10.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.777, allocations: 132.8 kB / 0.8131 GB, free: 10.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.7797, allocations: 1.709 MB / 0.8147 GB, free: 9.074 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006049/0.7803, allocations: 61.7 kB / 0.8148 GB, free: 9.008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.7811, allocations: 1.125 MB / 0.8159 GB, free: 7.871 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009526/0.7821, allocations: 0.7891 MB / 0.8167 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.7823, allocations: 44 kB / 0.8167 GB, free: 7.027 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.7825, allocations: 386.3 kB / 0.8171 GB, free: 6.645 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/0.7861, allocations: 1.816 MB / 0.8188 GB, free: 4.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/0.7898, allocations: 2.126 MB / 0.8209 GB, free: 2.594 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.7938, allocations: 1.927 MB / 0.8228 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.7938, allocations: 3.953 kB / 0.8228 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.0405/0.8343, allocations: 14.21 MB / 0.8367 GB, free: 2.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000851/0.8352, allocations: 2.742 MB / 0.8394 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.8352, allocations: 11.94 kB / 0.8394 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01942/0.8547, allocations: 6.512 MB / 0.8457 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/0.8564, allocations: 315.5 kB / 0.846 GB, free: 8.621 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06126/0.9177, allocations: 27.84 MB / 0.8732 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/0.9213, allocations: 489.8 kB / 0.8737 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/0.9216, allocations: 87.92 kB / 0.8738 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.9217, allocations: 4 kB / 0.8738 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04035/0.962, allocations: 13.89 MB / 0.8873 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.9621, allocations: 4 kB / 0.8873 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02027/0.9824, allocations: 6.52 MB / 0.8937 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.984, allocations: 299.6 kB / 0.894 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2826/1.267, allocations: 27.83 MB / 0.9212 GB, free: 149.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/1.27, allocations: 467.1 kB / 0.9216 GB, free: 149.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/1.27, allocations: 75.33 kB / 0.9217 GB, free: 149.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Exc1.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real 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 order3_2.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 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 (189): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * 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 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.00132/1.272, allocations: 0.4921 MB / 0.9222 GB, free: 149.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/1.272, allocations: 276.8 kB / 0.9224 GB, free: 149.6 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03878/1.311, allocations: 14.32 MB / 0.9364 GB, free: 149.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/1.311, allocations: 23 kB / 0.9364 GB, free: 149.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/1.311, allocations: 18.62 kB / 0.9365 GB, free: 149.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.996e-05/1.311, allocations: 11.16 kB / 0.9365 GB, free: 149.4 MB / 0.573 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.04194/1.353, allocations: 17.86 MB / 0.9539 GB, free: 148.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.353, allocations: 3.844 kB / 0.9539 GB, free: 148.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.355, allocations: 251.2 kB / 0.9542 GB, free: 148.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01593/1.371, allocations: 6.089 MB / 0.9601 GB, free: 148.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005035/1.372, allocations: 57.78 kB / 0.9602 GB, free: 148.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04691/1.418, allocations: 22.64 MB / 0.9823 GB, free: 137.2 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.418, allocations: 4 kB / 0.9823 GB, free: 137.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04107/1.46, allocations: 16.88 MB / 0.9988 GB, free: 123.6 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008999/1.461, allocations: 387.6 kB / 0.9991 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004626/1.461, allocations: 44 kB / 0.9992 GB, free: 123.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002474/1.463, allocations: 361.1 kB / 0.9995 GB, free: 122.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001706/1.465, allocations: 0.5493 MB / 1 GB, free: 122.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.465, allocations: 63.8 kB / 1 GB, free: 122.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001495/1.467, allocations: 1.311 MB / 1.001 GB, free: 121.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.51e-07/1.467, allocations: 0 / 1.001 GB, free: 121.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004202/1.471, allocations: 1.715 MB / 1.003 GB, free: 119.8 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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.vm,Exc1.vr,Exc1.vf1,Exc2.vm,Exc2.vr,Exc2.vf1) * 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 (149): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * 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 {(66,7.7%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04077/1.512, allocations: 17.77 MB / 1.02 GB, free: 105.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02775/1.54, allocations: 11.62 MB / 1.032 GB, free: 95.08 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.54, allocations: 7.938 kB / 1.032 GB, free: 95.07 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01184/1.552, allocations: 4.643 MB / 1.036 GB, free: 90.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.553, allocations: 193.3 kB / 1.036 GB, free: 90.23 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.565, allocations: 11.75 MB / 1.048 GB, free: 78.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/1.566, allocations: 1.798 MB / 1.05 GB, free: 76.38 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001074/1.567, allocations: 212.1 kB / 1.05 GB, free: 76.18 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/1.568, allocations: 1.093 MB / 1.051 GB, free: 75.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.092e-06/1.568, allocations: 3.938 kB / 1.051 GB, free: 75.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3596/1.928, allocations: 92.77 MB / 1.142 GB, free: 164.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.928, allocations: 221.1 kB / 1.142 GB, free: 163.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.026/6.954, allocations: 0 / 1.142 GB, free: 163.9 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRIII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRIII.pipe 2>&1)