Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.001095/0.001095, allocations: 173.9 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.205/1.205, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008383/0.0008383, allocations: 88.31 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06245/0.06245, allocations: 12.21 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2664/0.2664, allocations: 78.02 MB / 455.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.495e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 69.25 MB / 0.5889 GB, free: 2.922 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4638, allocations: 100.3 MB / 0.6869 GB, free: 15.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.4641, allocations: 76.66 kB / 0.687 GB, free: 15.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07946/0.5436, allocations: 30.04 MB / 0.7163 GB, free: 6.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.5436, allocations: 0 / 0.7163 GB, free: 6.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.346e-05/0.5437, allocations: 31.94 kB / 0.7163 GB, free: 6.449 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003983/0.5477, allocations: 1.726 MB / 0.718 GB, free: 4.777 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5477, allocations: 15.98 kB / 0.718 GB, free: 4.762 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001557/0.5479, allocations: 120.4 kB / 0.7182 GB, free: 4.684 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00316/0.5511, allocations: 0.5685 MB / 0.7187 GB, free: 4.156 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5523, allocations: 0.7922 MB / 0.7195 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.5525, allocations: 234.8 kB / 0.7197 GB, free: 3.258 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5527, allocations: 84.7 kB / 0.7198 GB, free: 3.199 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5543, allocations: 0.943 MB / 0.7207 GB, free: 2.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5543, allocations: 0 / 0.7207 GB, free: 2.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.5544, allocations: 39.8 kB / 0.7208 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.5544, allocations: 16 kB / 0.7208 GB, free: 2.539 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.5558, allocations: 0.8523 MB / 0.7216 GB, free: 2 MB / 458.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.006349/0.5621, allocations: 3.917 MB / 0.7254 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007051/0.5692, allocations: 2.609 MB / 0.728 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.5702, allocations: 0.5427 MB / 0.7285 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.5704, allocations: 28.52 kB / 0.7285 GB, free: 12.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.5704, allocations: 45.66 kB / 0.7286 GB, free: 12.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 3.096e-06/0.5704, allocations: 3.938 kB / 0.7286 GB, free: 12.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=94): time 0.01166/0.5821, allocations: 3.923 MB / 0.7324 GB, free: 8.715 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.5822, allocations: 141.3 kB / 0.7325 GB, free: 8.547 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.5836, allocations: 0.913 MB / 0.7334 GB, free: 7.863 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001904/0.5838, allocations: 41.77 kB / 0.7335 GB, free: 7.828 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.5841, allocations: 0.5188 MB / 0.734 GB, free: 7.551 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.5845, allocations: 337.2 kB / 0.7343 GB, free: 7.258 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.5845, allocations: 21.38 kB / 0.7343 GB, free: 7.254 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5847, allocations: 343.8 kB / 0.7346 GB, free: 6.926 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007261/0.5854, allocations: 449 kB / 0.7351 GB, free: 6.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.5862, allocations: 0.5753 MB / 0.7356 GB, free: 6.281 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008133/0.587, allocations: 0.5435 MB / 0.7362 GB, free: 5.926 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.5871, allocations: 4 kB / 0.7362 GB, free: 5.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01171/0.5988, allocations: 4.02 MB / 0.7401 GB, free: 2.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000404/0.5992, allocations: 1.208 MB / 0.7413 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5992, allocations: 0 / 0.7413 GB, free: 1.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00482/0.6041, allocations: 1.448 MB / 0.7427 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.6052, allocations: 186.8 kB / 0.7429 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0127/0.6179, allocations: 6.436 MB / 0.7492 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.6194, allocations: 195.2 kB / 0.7493 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.6195, allocations: 35.98 kB / 0.7494 GB, free: 9.961 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.6196, allocations: 7.438 kB / 0.7494 GB, free: 9.957 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01133/0.6309, allocations: 3.883 MB / 0.7532 GB, free: 6.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6309, allocations: 8 kB / 0.7532 GB, free: 6.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004919/0.6359, allocations: 1.445 MB / 0.7546 GB, free: 4.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.6371, allocations: 191.7 kB / 0.7548 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.6496, allocations: 6.418 MB / 0.761 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.6512, allocations: 191.2 kB / 0.7612 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.434e-05/0.6513, allocations: 32 kB / 0.7613 GB, free: 13.63 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real order5.e1q:VARIABLE(start = order5.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 88 * 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: 0 * Non-linear torn systems: 1 {18 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.6516, allocations: 187.6 kB / 0.7614 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.6519, allocations: 130.5 kB / 0.7616 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/0.6632, allocations: 4.024 MB / 0.7655 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.6633, allocations: 11.94 kB / 0.7655 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.6633, allocations: 11.98 kB / 0.7655 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/0.6633, allocations: 7.938 kB / 0.7655 GB, free: 9.227 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 postOpt removeSimpleEquations (simulation): time 0.01397/0.6773, allocations: 5.673 MB / 0.7711 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.6774, allocations: 4 kB / 0.7711 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.6782, allocations: 119.8 kB / 0.7712 GB, free: 3.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004506/0.6827, allocations: 1.41 MB / 0.7726 GB, free: 1.906 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.6829, allocations: 23.98 kB / 0.7726 GB, free: 1.883 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.6944, allocations: 5.732 MB / 0.7782 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6944, allocations: 3.938 kB / 0.7782 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/0.7077, allocations: 4.758 MB / 0.7828 GB, free: 7.215 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/0.7085, allocations: 231.3 kB / 0.783 GB, free: 6.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.7088, allocations: 20 kB / 0.7831 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.7101, allocations: 135.9 kB / 0.7832 GB, free: 6.816 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005545/0.7106, allocations: 188.4 kB / 0.7834 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/0.7107, allocations: 27.98 kB / 0.7834 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001062/0.7118, allocations: 0.7097 MB / 0.7841 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.226e-06/0.7118, allocations: 4 kB / 0.7841 GB, free: 5.883 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001796/0.7136, allocations: 0.6786 MB / 0.7848 GB, free: 5.203 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 {(20,23.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01338/0.727, allocations: 5.44 MB / 0.7901 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00882/0.7359, allocations: 3.593 MB / 0.7936 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7359, allocations: 0 / 0.7936 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.7398, allocations: 1.451 MB / 0.795 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.7409, allocations: 111.2 kB / 0.7951 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.745, allocations: 2.085 MB / 0.7971 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.7457, allocations: 1.166 MB / 0.7983 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00083/0.7466, allocations: 206.1 kB / 0.7985 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/0.7472, allocations: 463.3 kB / 0.7989 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of SimCode: time 8.12e-07/0.7472, allocations: 0 / 0.7989 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/0.8055, allocations: 38.43 MB / 0.8365 GB, free: 136 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/0.8058, allocations: 185 kB / 0.8366 GB, free: 15.91 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/3.983, allocations: 0 / 0.8366 GB, free: 15.91 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRI.pipe 2>&1)