Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_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.005293/0.005293, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.306/1.306, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0009363/0.0009363, allocations: 90.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05835/0.05835, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.407/0.407, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004802, allocations: 20 kB / 0.528 GB, free: 35.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 69.24 MB / 0.5956 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5169, allocations: 104.2 MB / 0.6974 GB, free: 36.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5173, allocations: 80.53 kB / 0.6975 GB, free: 36.66 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2232/0.7405, allocations: 98.14 MB / 0.7933 GB, free: 1.621 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7405, allocations: 4 kB / 0.7933 GB, free: 1.617 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003877/0.7409, allocations: 88 kB / 0.7934 GB, free: 1.531 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02122/0.7622, allocations: 6.62 MB / 0.7998 GB, free: 11.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.7622, allocations: 11.98 kB / 0.7999 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001906/0.7641, allocations: 490.6 kB / 0.8003 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/0.7814, allocations: 2.807 MB / 0.8031 GB, free: 8.477 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006966/0.7884, allocations: 2.29 MB / 0.8053 GB, free: 6.707 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/0.7896, allocations: 0.9954 MB / 0.8063 GB, free: 5.699 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001685/0.7913, allocations: 339.5 kB / 0.8066 GB, free: 5.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.8036, allocations: 4.95 MB / 0.8114 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.793e-05/0.8037, allocations: 0 / 0.8114 GB, free: 0.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.8041, allocations: 140 kB / 0.8116 GB, free: 372 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.8042, allocations: 87.95 kB / 0.8116 GB, free: 284 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008705/0.8129, allocations: 4.498 MB / 0.816 GB, free: 11.77 MB / 0.4949 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.03295/0.8459, allocations: 18.65 MB / 0.8342 GB, free: 7.945 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/0.858, allocations: 5.678 MB / 0.8398 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.8587, allocations: 66.92 kB / 0.8399 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00675/0.8655, allocations: 3.434 MB / 0.8432 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=384): time 6.241e-06/0.8655, allocations: 8 kB / 0.8432 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=384): time 0.2946/1.16, allocations: 77 MB / 0.9184 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/1.16, allocations: 145.8 kB / 0.9186 GB, free: 1.273 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2618/1.422, allocations: 2.739 MB / 0.9212 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001031/1.423, allocations: 87.39 kB / 0.9213 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.424, allocations: 2.003 MB / 0.9233 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001603/1.426, allocations: 1.306 MB / 0.9245 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.426, allocations: 74.41 kB / 0.9246 GB, free: 136.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.427, allocations: 443.6 kB / 0.925 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005084/1.432, allocations: 2.668 MB / 0.9276 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/1.437, allocations: 3.251 MB / 0.9308 GB, free: 135.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005464/1.443, allocations: 2.919 MB / 0.9337 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/1.443, allocations: 4.188 kB / 0.9337 GB, free: 135.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05378/1.496, allocations: 20.2 MB / 0.9534 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/1.497, allocations: 66.78 kB / 0.9535 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.999e-05/1.497, allocations: 18.3 kB / 0.9535 GB, free: 134.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02403/1.521, allocations: 8.548 MB / 0.9618 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/1.524, allocations: 0.5758 MB / 0.9624 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07628/1.6, allocations: 37.05 MB / 0.9986 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005882/1.606, allocations: 0.7023 MB / 0.9992 GB, free: 123.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007433/1.607, allocations: 130.9 kB / 0.9994 GB, free: 123.7 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (333): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002091/1.609, allocations: 0.6555 MB / 1 GB, free: 123.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/1.61, allocations: 462.3 kB / 1 GB, free: 122.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05192/1.662, allocations: 20.58 MB / 1.021 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-05/1.662, allocations: 43.75 kB / 1.021 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.604e-05/1.662, allocations: 31.83 kB / 1.021 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001128/1.662, allocations: 17.95 kB / 1.021 GB, free: 106.8 MB / 0.5886 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.06211/1.724, allocations: 25.53 MB / 1.046 GB, free: 87.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/1.724, allocations: 3.062 kB / 1.046 GB, free: 87.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/1.727, allocations: 398.5 kB / 1.046 GB, free: 87.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0242/1.751, allocations: 8.596 MB / 1.054 GB, free: 80.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/1.752, allocations: 81.28 kB / 1.054 GB, free: 80.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07193/1.824, allocations: 34.42 MB / 1.088 GB, free: 50.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.824, allocations: 4 kB / 1.088 GB, free: 50.61 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05979/1.884, allocations: 24.25 MB / 1.112 GB, free: 26.28 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/1.886, allocations: 0.5571 MB / 1.112 GB, free: 25.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001519/1.887, allocations: 68 kB / 1.112 GB, free: 25.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0047/1.892, allocations: 499.6 kB / 1.113 GB, free: 25.14 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002953/1.895, allocations: 0.7763 MB / 1.114 GB, free: 24.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004563/1.896, allocations: 91.98 kB / 1.114 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003028/1.899, allocations: 2.106 MB / 1.116 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/1.899, allocations: 0 / 1.116 GB, free: 22.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005481/1.904, allocations: 1.773 MB / 1.117 GB, free: 20.39 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.05922/1.963, allocations: 24.97 MB / 1.142 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.3004/2.264, allocations: 9.96 MB / 1.152 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.264, allocations: 4.594 kB / 1.152 GB, free: 153.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.02024/2.284, allocations: 7.037 MB / 1.158 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/2.287, allocations: 306 kB / 1.159 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02238/2.31, allocations: 21.14 MB / 1.179 GB, free: 138 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/2.312, allocations: 2.552 MB / 1.182 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001664/2.313, allocations: 295.3 kB / 1.182 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.315, allocations: 1.975 MB / 1.184 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/2.316, allocations: 0 / 1.184 GB, free: 137.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/2.463, allocations: 112.8 MB / 1.294 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/2.463, allocations: 213 kB / 1.294 GB, free: 80.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.603/9.066, allocations: 0 / 1.294 GB, free: 80.91 MB / 0.6042 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)