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.001655/0.001655, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.248/1.248, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.00077/0.00077, allocations: 87.75 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05962/0.05962, allocations: 12.2 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2716/0.2716, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.349e-05, allocations: 4 kB / 0.5213 GB, free: 24.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09737/0.09742, allocations: 69.25 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.4869, allocations: 102 MB / 0.6885 GB, free: 14.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4872, allocations: 86.56 kB / 0.6886 GB, free: 14.29 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.171/0.6582, allocations: 66.04 MB / 0.7531 GB, free: 6.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6583, allocations: 0 / 0.7531 GB, free: 6.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.6585, allocations: 59.94 kB / 0.7532 GB, free: 6.41 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.01291/0.6715, allocations: 4.062 MB / 0.7571 GB, free: 2.582 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6715, allocations: 11.98 kB / 0.7572 GB, free: 2.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008663/0.6724, allocations: 305.1 kB / 0.7574 GB, free: 2.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009823/0.6822, allocations: 1.592 MB / 0.759 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003602/0.6859, allocations: 1.678 MB / 0.7606 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006484/0.6865, allocations: 0.6945 MB / 0.7613 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005743/0.6871, allocations: 204 kB / 0.7615 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/0.6915, allocations: 2.581 MB / 0.764 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.87e-05/0.6915, allocations: 0 / 0.764 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.6918, allocations: 83.94 kB / 0.7641 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.6918, allocations: 56 kB / 0.7642 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.6958, allocations: 2.34 MB / 0.7664 GB, free: 8.812 MB / 0.4948 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 preOpt removeSimpleEquations (simulation): time 0.01786/0.7137, allocations: 10.12 MB / 0.7763 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009087/0.7228, allocations: 4.053 MB / 0.7803 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.7253, allocations: 1.538 MB / 0.7818 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.7256, allocations: 42.05 kB / 0.7818 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.7256, allocations: 64.48 kB / 0.7819 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=244): time 5.461e-06/0.7257, allocations: 4 kB / 0.7819 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of matching and sorting (n=244): time 0.03712/0.7628, allocations: 12.32 MB / 0.7939 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.7629, allocations: 239.6 kB / 0.7942 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.766, allocations: 1.89 MB / 0.796 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006806/0.7667, allocations: 65.7 kB / 0.7961 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008505/0.7675, allocations: 1.224 MB / 0.7973 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.7686, allocations: 0.8432 MB / 0.7981 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.7688, allocations: 44 kB / 0.7981 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.769, allocations: 390.7 kB / 0.7985 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/0.7712, allocations: 1.243 MB / 0.7997 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.7736, allocations: 1.555 MB / 0.8012 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/0.7759, allocations: 1.471 MB / 0.8027 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.7759, allocations: 0 / 0.8027 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.03715/0.8131, allocations: 12.54 MB / 0.8149 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009575/0.8141, allocations: 2.87 MB / 0.8177 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.8141, allocations: 12 kB / 0.8177 GB, free: 3.078 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/0.8308, allocations: 5.173 MB / 0.8228 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002176/0.833, allocations: 371.5 kB / 0.8231 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04033/0.8734, allocations: 18.88 MB / 0.8416 GB, free: 10.37 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/0.8776, allocations: 0.5212 MB / 0.8421 GB, free: 9.848 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00034/0.878, allocations: 83.97 kB / 0.8422 GB, free: 9.766 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.878, allocations: 4 kB / 0.8422 GB, free: 9.762 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03822/0.9163, allocations: 12.26 MB / 0.8541 GB, free: 13.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/0.9164, allocations: 8 kB / 0.8542 GB, free: 13.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01821/0.9346, allocations: 5.173 MB / 0.8592 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.9366, allocations: 351.5 kB / 0.8595 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3047/1.241, allocations: 18.88 MB / 0.878 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/1.245, allocations: 0.4967 MB / 0.8785 GB, free: 153.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003024/1.246, allocations: 85.59 kB / 0.8785 GB, free: 153.4 MB / 0.5886 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.0006024/1.246, allocations: 283.4 kB / 0.8788 GB, free: 153.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005996/1.247, allocations: 300.1 kB / 0.8791 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03895/1.286, allocations: 12.68 MB / 0.8915 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/1.286, allocations: 23.75 kB / 0.8915 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/1.286, allocations: 19.94 kB / 0.8915 GB, free: 152.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-05/1.286, allocations: 14.47 kB / 0.8915 GB, free: 152.8 MB / 0.5886 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.04005/1.326, allocations: 16.43 MB / 0.9076 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.326, allocations: 0 / 0.9076 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/1.328, allocations: 278.7 kB / 0.9078 GB, free: 151.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/1.343, allocations: 4.814 MB / 0.9125 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007873/1.343, allocations: 54.44 kB / 0.9126 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03191/1.375, allocations: 15.38 MB / 0.9276 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1.375, allocations: 0 / 0.9276 GB, free: 145.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03829/1.414, allocations: 14.62 MB / 0.9419 GB, free: 141.1 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009754/1.415, allocations: 417.1 kB / 0.9423 GB, free: 140.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/1.416, allocations: 56.06 kB / 0.9424 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003514/1.419, allocations: 396.3 kB / 0.9427 GB, free: 140.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/1.421, allocations: 0.5514 MB / 0.9433 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.421, allocations: 59.94 kB / 0.9433 GB, free: 140.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001789/1.423, allocations: 1.446 MB / 0.9447 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.423, allocations: 3.188 kB / 0.9447 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00487/1.428, allocations: 1.788 MB / 0.9465 GB, free: 137 MB / 0.5886 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.03765/1.466, allocations: 15.4 MB / 0.9615 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0252/1.491, allocations: 10.33 MB / 0.9716 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.491, allocations: 1.75 kB / 0.9716 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01082/1.502, allocations: 4.074 MB / 0.9756 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.504, allocations: 234.4 kB / 0.9758 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008741/1.512, allocations: 4.839 MB / 0.9805 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/1.513, allocations: 1.916 MB / 0.9824 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001854/1.515, allocations: 455.1 kB / 0.9829 GB, free: 105 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.516, allocations: 1.193 MB / 0.984 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of SimCode: time 8.62e-07/1.516, allocations: 0 / 0.984 GB, free: 103.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.122/1.638, allocations: 101.3 MB / 1.083 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/1.639, allocations: 191.8 kB / 1.083 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.805/7.443, allocations: 0 / 1.083 GB, free: 8.527 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)