Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.005298/0.005298, allocations: 170.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.34/1.34, 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.000975/0.0009751, allocations: 90.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.06026/0.06026, 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.4283/0.4283, allocations: 78.52 MB / 459.6 MB, free: 3.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 23.56 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1271, allocations: 69.23 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3807/0.5079, allocations: 100.8 MB / 0.6941 GB, free: 98.51 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5082, allocations: 83.33 kB / 0.6942 GB, free: 98.51 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07877/0.587, allocations: 31.42 MB / 0.7249 GB, free: 86.22 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.587, allocations: 0 / 0.7249 GB, free: 86.22 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.898e-05/0.5871, allocations: 23.94 kB / 0.7249 GB, free: 86.2 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.004648/0.5917, allocations: 2.057 MB / 0.7269 GB, free: 84.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5918, allocations: 15.98 kB / 0.7269 GB, free: 84.06 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.592, allocations: 126.7 kB / 0.727 GB, free: 83.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003155/0.5951, allocations: 0.5719 MB / 0.7276 GB, free: 83.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.5966, allocations: 0.8212 MB / 0.7284 GB, free: 82.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.5968, allocations: 268.2 kB / 0.7286 GB, free: 82.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.597, allocations: 79.94 kB / 0.7287 GB, free: 82.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.5988, allocations: 1.145 MB / 0.7298 GB, free: 80.95 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.5989, allocations: 0 / 0.7298 GB, free: 80.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.599, allocations: 36 kB / 0.7299 GB, free: 80.91 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.599, allocations: 16 kB / 0.7299 GB, free: 80.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.6007, allocations: 1.058 MB / 0.7309 GB, free: 79.83 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.00553/0.6063, allocations: 3.852 MB / 0.7347 GB, free: 75.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/0.6131, allocations: 2.905 MB / 0.7375 GB, free: 72.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.6133, allocations: 16.97 kB / 0.7375 GB, free: 72.79 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/0.6148, allocations: 0.8907 MB / 0.7384 GB, free: 71.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.6148, allocations: 3.938 kB / 0.7384 GB, free: 71.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.02681/0.6416, allocations: 8.435 MB / 0.7467 GB, free: 63.38 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.6417, allocations: 115.8 kB / 0.7468 GB, free: 63.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.6432, allocations: 0.9572 MB / 0.7477 GB, free: 62.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.6434, allocations: 41.7 kB / 0.7477 GB, free: 62.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.6437, allocations: 0.5131 MB / 0.7482 GB, free: 61.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.644, allocations: 346.9 kB / 0.7486 GB, free: 61.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.74e-05/0.6441, allocations: 20 kB / 0.7486 GB, free: 61.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.6442, allocations: 345.9 kB / 0.7489 GB, free: 61 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.6453, allocations: 0.6542 MB / 0.7496 GB, free: 60.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.6465, allocations: 0.7892 MB / 0.7503 GB, free: 59.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.6478, allocations: 0.7634 MB / 0.7511 GB, free: 58.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.6478, allocations: 4 kB / 0.7511 GB, free: 58.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01233/0.6601, allocations: 4.696 MB / 0.7557 GB, free: 54.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.946e-05/0.6602, allocations: 59.41 kB / 0.7557 GB, free: 53.94 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.6602, allocations: 8 kB / 0.7557 GB, free: 53.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0058/0.6661, allocations: 1.928 MB / 0.7576 GB, free: 52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.6673, allocations: 195.8 kB / 0.7578 GB, free: 51.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01817/0.6855, allocations: 9.413 MB / 0.767 GB, free: 42.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.6874, allocations: 203.1 kB / 0.7672 GB, free: 42.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002259/0.6876, allocations: 43.92 kB / 0.7672 GB, free: 42.02 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.000828/0.6885, allocations: 289.9 kB / 0.7675 GB, free: 41.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/0.6889, allocations: 134.5 kB / 0.7676 GB, free: 41.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0125/0.7014, allocations: 4.764 MB / 0.7723 GB, free: 36.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.917e-05/0.7014, allocations: 12 kB / 0.7723 GB, free: 36.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/0.7015, allocations: 4 kB / 0.7723 GB, free: 36.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.95e-05/0.7015, allocations: 7.984 kB / 0.7723 GB, free: 36.78 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 postOpt removeSimpleEquations (simulation): time 0.01469/0.7162, allocations: 6.324 MB / 0.7785 GB, free: 30.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7163, allocations: 4.031 kB / 0.7785 GB, free: 30.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.717, allocations: 103.8 kB / 0.7786 GB, free: 30.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005252/0.7222, allocations: 1.864 MB / 0.7804 GB, free: 28.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.7224, allocations: 27.98 kB / 0.7804 GB, free: 28.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.7408, allocations: 10.14 MB / 0.7903 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.7408, allocations: 0 / 0.7903 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/0.7549, allocations: 5.705 MB / 0.7959 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.7555, allocations: 223.3 kB / 0.7961 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003491/0.7559, allocations: 28 kB / 0.7961 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.7573, allocations: 147.8 kB / 0.7963 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005689/0.7579, allocations: 192.6 kB / 0.7965 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.76e-05/0.758, allocations: 28 kB / 0.7965 GB, free: 11.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001285/0.7593, allocations: 0.7475 MB / 0.7972 GB, free: 10.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7593, allocations: 4 kB / 0.7972 GB, free: 10.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001618/0.7609, allocations: 447.5 kB / 0.7977 GB, free: 10.36 MB / 474.7 MB 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,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01387/0.7748, allocations: 6.368 MB / 0.8039 GB, free: 3.938 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005667/0.7805, allocations: 2.517 MB / 0.8063 GB, free: 1.387 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.7806, allocations: 128 / 0.8063 GB, free: 1.387 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004147/0.7847, allocations: 1.808 MB / 0.8081 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.786, allocations: 107.5 kB / 0.8082 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006812/0.7929, allocations: 5.244 MB / 0.8133 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.7935, allocations: 1.151 MB / 0.8144 GB, free: 8.898 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004674/0.794, allocations: 98.88 kB / 0.8145 GB, free: 8.797 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/0.7947, allocations: 475.3 kB / 0.815 GB, free: 8.332 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7947, allocations: 4 kB / 0.815 GB, free: 8.328 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0573/0.852, allocations: 31.07 MB / 0.8453 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.8523, allocations: 224.6 kB / 0.8455 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.883/3.735, allocations: 0 / 0.8455 GB, free: 9.199 MB / 0.5105 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)