Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_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.006947/0.006947, allocations: 172 kB / 15.11 MB, free: 5.969 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.324/1.324, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009354, allocations: 90.38 kB / 290.2 MB, free: 4.594 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4793/0.4793, allocations: 79.43 MB / 420.7 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003909, allocations: 12 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 69.51 MB / 0.557 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3897/0.5362, allocations: 101.1 MB / 0.6558 GB, free: 32 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.5365, allocations: 81.31 kB / 0.6558 GB, free: 15.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1815/0.718, allocations: 68.92 MB / 0.7231 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/0.718, allocations: 0 / 0.7231 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003292/0.7184, allocations: 65.84 kB / 0.7232 GB, free: 10.82 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.0165/0.7349, allocations: 4.684 MB / 0.7278 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.735, allocations: 15.97 kB / 0.7278 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001307/0.7363, allocations: 299.1 kB / 0.7281 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.7472, allocations: 1.619 MB / 0.7297 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005709/0.7529, allocations: 1.721 MB / 0.7313 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/0.7538, allocations: 0.6906 MB / 0.732 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.7549, allocations: 215.9 kB / 0.7322 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008538/0.7635, allocations: 3.236 MB / 0.7354 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.7636, allocations: 0 / 0.7354 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/0.7639, allocations: 84 kB / 0.7355 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-05/0.7639, allocations: 52 kB / 0.7355 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.7706, allocations: 3.038 MB / 0.7385 GB, free: 10.8 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.02098/0.7917, allocations: 10.1 MB / 0.7483 GB, free: 264 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.8034, allocations: 4.783 MB / 0.753 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004791/0.8039, allocations: 50.03 kB / 0.7531 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/0.804, allocations: 60.5 kB / 0.7531 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=244): time 5.992e-06/0.804, allocations: 0 / 0.7531 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=244): time 0.1245/0.9285, allocations: 33.01 MB / 0.7853 GB, free: 10.13 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.9287, allocations: 239.6 kB / 0.7856 GB, free: 9.844 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004618/0.9333, allocations: 1.956 MB / 0.7875 GB, free: 7.875 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008252/0.9342, allocations: 71.2 kB / 0.7876 GB, free: 7.801 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.9354, allocations: 1.216 MB / 0.7887 GB, free: 6.574 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001559/0.937, allocations: 0.8393 MB / 0.7896 GB, free: 5.723 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000586/0.9376, allocations: 48 kB / 0.7896 GB, free: 5.676 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002577/0.9378, allocations: 390.7 kB / 0.79 GB, free: 5.289 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004486/0.9423, allocations: 1.886 MB / 0.7918 GB, free: 3.398 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004794/0.9471, allocations: 2.206 MB / 0.794 GB, free: 1.086 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2777/1.225, allocations: 2.107 MB / 0.796 GB, free: 121 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/1.225, allocations: 2.562 kB / 0.796 GB, free: 121 MB / 0.573 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.04377/1.269, allocations: 14.43 MB / 0.8101 GB, free: 120.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005856/1.269, allocations: 2.873 MB / 0.8129 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/1.269, allocations: 7.625 kB / 0.8129 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01963/1.289, allocations: 6.389 MB / 0.8192 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.291, allocations: 369.9 kB / 0.8195 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0653/1.356, allocations: 27.42 MB / 0.8463 GB, free: 114 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/1.361, allocations: 0.5194 MB / 0.8468 GB, free: 113.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003035/1.361, allocations: 83.83 kB / 0.8469 GB, free: 113.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/1.361, allocations: 3.938 kB / 0.8469 GB, free: 113.9 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04037/1.401, allocations: 14.11 MB / 0.8607 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/1.402, allocations: 9.766 kB / 0.8607 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01798/1.42, allocations: 6.387 MB / 0.8669 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/1.422, allocations: 357.9 kB / 0.8673 GB, free: 112.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05833/1.48, allocations: 27.43 MB / 0.8941 GB, free: 100.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004189/1.484, allocations: 0.4946 MB / 0.8945 GB, free: 100.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002936/1.484, allocations: 83.17 kB / 0.8946 GB, free: 100 MB / 0.573 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.001473/1.486, allocations: 0.5736 MB / 0.8952 GB, free: 99.46 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006132/1.487, allocations: 304.2 kB / 0.8955 GB, free: 99.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03946/1.526, allocations: 14.55 MB / 0.9097 GB, free: 87.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.231e-05/1.526, allocations: 27.95 kB / 0.9097 GB, free: 87.93 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.024e-05/1.526, allocations: 22.56 kB / 0.9097 GB, free: 87.91 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.802e-05/1.526, allocations: 14.53 kB / 0.9097 GB, free: 87.91 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.05324/1.579, allocations: 18.33 MB / 0.9276 GB, free: 73.87 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.58, allocations: 0 / 0.9276 GB, free: 73.87 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.581, allocations: 278.5 kB / 0.9279 GB, free: 73.63 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0163/1.598, allocations: 6.027 MB / 0.9338 GB, free: 68.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007311/1.599, allocations: 51.14 kB / 0.9338 GB, free: 68.92 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04916/1.648, allocations: 22.68 MB / 0.956 GB, free: 49.54 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.648, allocations: 5.219 kB / 0.956 GB, free: 49.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0433/1.691, allocations: 17.16 MB / 0.9728 GB, free: 32.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.692, allocations: 417 kB / 0.9731 GB, free: 32.53 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/1.693, allocations: 48 kB / 0.9732 GB, free: 32.48 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.696, allocations: 395.7 kB / 0.9736 GB, free: 32.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001792/1.698, allocations: 0.5621 MB / 0.9741 GB, free: 31.54 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/1.698, allocations: 63.98 kB / 0.9742 GB, free: 31.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002118/1.7, allocations: 1.511 MB / 0.9757 GB, free: 29.96 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.7, allocations: 4 kB / 0.9757 GB, free: 29.96 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004729/1.705, allocations: 1.782 MB / 0.9774 GB, free: 28.25 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.04314/1.748, allocations: 17.93 MB / 0.9949 GB, free: 10.27 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03072/1.779, allocations: 12.26 MB / 1.007 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.779, allocations: 0 / 1.007 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01389/1.793, allocations: 4.777 MB / 1.012 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/1.795, allocations: 232.2 kB / 1.012 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2766/2.072, allocations: 12.22 MB / 1.024 GB, free: 130.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/2.073, allocations: 1.904 MB / 1.026 GB, free: 130 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001594/2.075, allocations: 272.2 kB / 1.026 GB, free: 130 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/2.076, allocations: 1.207 MB / 1.027 GB, free: 130 MB / 0.5886 GB Notification: Performance of SimCode: time 7.22e-07/2.076, allocations: 0 / 1.027 GB, free: 130 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1521/2.228, allocations: 95.97 MB / 1.121 GB, free: 113 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001523/2.229, allocations: 212.1 kB / 1.121 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.203/7.432, allocations: 3.875 kB / 1.121 GB, free: 112.7 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRI.pipe 2>&1)