Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",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.0009567/0.0009565, allocations: 175.2 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.186/1.186, 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.0008207/0.0008206, allocations: 92.83 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.05865/0.05866, allocations: 12.19 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.2659/0.2659, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.292e-05, allocations: 8 kB / 0.5213 GB, free: 24.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09569, allocations: 69.24 MB / 0.5889 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4352, allocations: 101 MB / 0.6875 GB, free: 15.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4355, allocations: 81.33 kB / 0.6876 GB, free: 15.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08293/0.5184, allocations: 31.75 MB / 0.7186 GB, free: 4.438 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5184, allocations: 0 / 0.7186 GB, free: 4.438 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.97e-05/0.5185, allocations: 24 kB / 0.7186 GB, free: 4.414 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004187/0.5227, allocations: 1.76 MB / 0.7204 GB, free: 2.711 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5227, allocations: 11.98 kB / 0.7204 GB, free: 2.699 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.5229, allocations: 125.6 kB / 0.7205 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003219/0.5262, allocations: 0.5697 MB / 0.721 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5275, allocations: 0.7987 MB / 0.7218 GB, free: 1.422 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.5277, allocations: 264.9 kB / 0.7221 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.5279, allocations: 83.36 kB / 0.7222 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.5296, allocations: 0.9539 MB / 0.7231 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5296, allocations: 3.938 kB / 0.7231 GB, free: 480 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/0.5297, allocations: 30.31 kB / 0.7231 GB, free: 472 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5297, allocations: 16 kB / 0.7231 GB, free: 456 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.5312, allocations: 0.8589 MB / 0.724 GB, free: 15.9 MB / 474.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.00679/0.538, allocations: 3.892 MB / 0.7278 GB, free: 12.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00725/0.5453, allocations: 2.683 MB / 0.7304 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009534/0.5463, allocations: 0.5572 MB / 0.7309 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.5464, allocations: 24.75 kB / 0.731 GB, free: 10.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/0.5474, allocations: 0.69 MB / 0.7316 GB, free: 9.586 MB / 474.7 MB Notification: Performance of pre-optimization done (n=98): time 2.334e-06/0.5475, allocations: 0 / 0.7316 GB, free: 9.586 MB / 474.7 MB Notification: Performance of matching and sorting (n=98): time 0.01255/0.56, allocations: 4.062 MB / 0.7356 GB, free: 6.074 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.5601, allocations: 115.6 kB / 0.7357 GB, free: 5.938 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.5616, allocations: 0.9246 MB / 0.7366 GB, free: 5.254 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.5618, allocations: 43.02 kB / 0.7367 GB, free: 5.219 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.5622, allocations: 0.5306 MB / 0.7372 GB, free: 4.926 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.5625, allocations: 355.8 kB / 0.7375 GB, free: 4.621 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.921e-05/0.5626, allocations: 17.88 kB / 0.7375 GB, free: 4.617 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5627, allocations: 343.8 kB / 0.7379 GB, free: 4.293 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007828/0.5635, allocations: 481.4 kB / 0.7383 GB, free: 4.031 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.5643, allocations: 0.6023 MB / 0.7389 GB, free: 3.617 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008842/0.5652, allocations: 0.5676 MB / 0.7395 GB, free: 3.246 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5653, allocations: 0 / 0.7395 GB, free: 3.246 MB / 474.7 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.0127/0.578, allocations: 4.212 MB / 0.7436 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.24e-05/0.5781, allocations: 55.41 kB / 0.7436 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.5781, allocations: 4 kB / 0.7436 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/0.584, allocations: 1.627 MB / 0.7452 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.585, allocations: 182.5 kB / 0.7454 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/0.6004, allocations: 8.09 MB / 0.7533 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.6021, allocations: 214.9 kB / 0.7535 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.6023, allocations: 39.98 kB / 0.7535 GB, free: 5.711 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" ) "d-axis sub-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: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.000305/0.6026, allocations: 203.1 kB / 0.7537 GB, free: 5.504 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.6028, allocations: 130.4 kB / 0.7539 GB, free: 5.375 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.615, allocations: 4.19 MB / 0.758 GB, free: 1.152 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.615, allocations: 12 kB / 0.758 GB, free: 1.141 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.615, allocations: 4 kB / 0.758 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/0.6151, allocations: 11.97 kB / 0.758 GB, free: 1.125 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 postOpt removeSimpleEquations (simulation): time 0.01402/0.6291, allocations: 5.801 MB / 0.7636 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6291, allocations: 0 / 0.7636 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.6298, allocations: 99.89 kB / 0.7637 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004658/0.6345, allocations: 1.504 MB / 0.7652 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.6347, allocations: 27.98 kB / 0.7652 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.6481, allocations: 7.693 MB / 0.7727 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6481, allocations: 0 / 0.7727 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/0.6615, allocations: 4.952 MB / 0.7776 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004775/0.662, allocations: 231.3 kB / 0.7778 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.6622, allocations: 16 kB / 0.7778 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.6634, allocations: 151.8 kB / 0.778 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000559/0.664, allocations: 196.6 kB / 0.7782 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/0.6641, allocations: 28.06 kB / 0.7782 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009922/0.6651, allocations: 0.7297 MB / 0.7789 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.71e-07/0.6651, allocations: 3.938 kB / 0.7789 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001231/0.6663, allocations: 451.5 kB / 0.7793 GB, free: 10.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 2 * 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: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01357/0.6799, allocations: 5.617 MB / 0.7848 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005394/0.6853, allocations: 2.242 MB / 0.787 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6854, allocations: 4.25 kB / 0.787 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003879/0.6892, allocations: 1.614 MB / 0.7886 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.6901, allocations: 112.5 kB / 0.7887 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.694, allocations: 2.138 MB / 0.7908 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.6946, allocations: 1.155 MB / 0.7919 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003978/0.695, allocations: 98.88 kB / 0.792 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.6956, allocations: 491.3 kB / 0.7925 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of SimCode: time 8.82e-07/0.6956, allocations: 0 / 0.7925 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05108/0.7467, allocations: 31.99 MB / 0.8237 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.7469, allocations: 186 kB / 0.8239 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.46, allocations: 3.938 kB / 0.8239 GB, free: 13.01 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)