Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_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.005161/0.005161, allocations: 170.9 kB / 15.11 MB, free: 5.969 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.343/1.343, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0008694/0.0008694, allocations: 102.8 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.0667/0.0667, allocations: 12.2 MB / 330 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.4087/0.4087, allocations: 78.51 MB / 459.5 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004757, allocations: 16.78 kB / 0.528 GB, free: 35.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.5053, allocations: 100.7 MB / 0.694 GB, free: 35.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.5056, allocations: 83.66 kB / 0.6941 GB, free: 35.27 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.145/0.6506, allocations: 64.93 MB / 0.7575 GB, free: 21.44 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6507, allocations: 0 / 0.7575 GB, free: 21.44 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001338/0.6508, allocations: 62.72 kB / 0.7575 GB, free: 21.43 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01235/0.6632, allocations: 4.59 MB / 0.762 GB, free: 18.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.6632, allocations: 15.58 kB / 0.762 GB, free: 18.89 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008166/0.664, allocations: 291.4 kB / 0.7623 GB, free: 18.79 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009293/0.6734, allocations: 1.615 MB / 0.7639 GB, free: 18.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003532/0.6769, allocations: 1.708 MB / 0.7656 GB, free: 17.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004409/0.6774, allocations: 0.6877 MB / 0.7662 GB, free: 16.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.6777, allocations: 201 kB / 0.7664 GB, free: 16.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005342/0.6831, allocations: 3.213 MB / 0.7696 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/0.6831, allocations: 3.938 kB / 0.7696 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002283/0.6834, allocations: 80.19 kB / 0.7696 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.6834, allocations: 48.78 kB / 0.7697 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004942/0.6884, allocations: 3.016 MB / 0.7726 GB, free: 15.44 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.01533/0.7037, allocations: 9.985 MB / 0.7824 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009946/0.7137, allocations: 4.75 MB / 0.787 GB, free: 8.551 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/0.7141, allocations: 49.41 kB / 0.7871 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/0.7141, allocations: 55.12 kB / 0.7871 GB, free: 8.461 MB / 474.7 MB Notification: Performance of pre-optimization done (n=241): time 4.167e-06/0.7141, allocations: 4 kB / 0.7871 GB, free: 8.457 MB / 474.7 MB Notification: Performance of matching and sorting (n=241): time 0.1015/0.8156, allocations: 30.13 MB / 0.8166 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.8158, allocations: 231.6 kB / 0.8168 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.819, allocations: 1.912 MB / 0.8186 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005721/0.8196, allocations: 65.7 kB / 0.8187 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008531/0.8204, allocations: 1.208 MB / 0.8199 GB, free: 7.188 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009157/0.8214, allocations: 0.8315 MB / 0.8207 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.8216, allocations: 48 kB / 0.8207 GB, free: 6.297 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001842/0.8218, allocations: 390.6 kB / 0.8211 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003663/0.8254, allocations: 1.867 MB / 0.8229 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.8293, allocations: 2.178 MB / 0.8251 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003779/0.833, allocations: 2.095 MB / 0.8271 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.8331, allocations: 4 kB / 0.8271 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0409/0.874, allocations: 14.32 MB / 0.8411 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/0.8752, allocations: 2.875 MB / 0.8439 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.8752, allocations: 8 kB / 0.8439 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01859/0.8938, allocations: 6.32 MB / 0.8501 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.896, allocations: 371.5 kB / 0.8504 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05813/0.9541, allocations: 26.05 MB / 0.8759 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/0.9583, allocations: 0.5095 MB / 0.8764 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.9586, allocations: 79.98 kB / 0.8765 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9587, allocations: 7.953 kB / 0.8765 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03925/0.9979, allocations: 13.99 MB / 0.8901 GB, free: 14.51 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.243e-05/0.998, allocations: 11.98 kB / 0.8901 GB, free: 14.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01835/1.016, allocations: 6.317 MB / 0.8963 GB, free: 8.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/1.018, allocations: 351.5 kB / 0.8967 GB, free: 7.836 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3583/1.377, allocations: 26.05 MB / 0.9221 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004275/1.381, allocations: 0.4886 MB / 0.9226 GB, free: 157.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/1.382, allocations: 85.92 kB / 0.9227 GB, free: 157.3 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.delta:VARIABLE(start = order3_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (206): * Single equations (assignments): 201 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {63 26} Notification: Performance of prepare postOptimizeDAE: time 0.001489/1.383, allocations: 0.5829 MB / 0.9232 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007634/1.384, allocations: 300 kB / 0.9235 GB, free: 157.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04198/1.426, allocations: 14.5 MB / 0.9377 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/1.426, allocations: 26.19 kB / 0.9377 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/1.426, allocations: 18.56 kB / 0.9377 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-05/1.426, allocations: 11.92 kB / 0.9377 GB, free: 156.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.04348/1.47, allocations: 18.21 MB / 0.9555 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.167e-05/1.47, allocations: 10.86 kB / 0.9555 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.471, allocations: 272.2 kB / 0.9558 GB, free: 155.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01622/1.488, allocations: 6.078 MB / 0.9617 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007279/1.488, allocations: 49.69 kB / 0.9618 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04865/1.537, allocations: 22.66 MB / 0.9839 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.537, allocations: 3.828 kB / 0.9839 GB, free: 151.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04232/1.579, allocations: 17.08 MB / 1.001 GB, free: 137.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.581, allocations: 411.1 kB / 1.001 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006603/1.581, allocations: 49.56 kB / 1.001 GB, free: 137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002911/1.584, allocations: 390 kB / 1.001 GB, free: 136.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001864/1.586, allocations: 0.554 MB / 1.002 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/1.586, allocations: 63.89 kB / 1.002 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00222/1.589, allocations: 1.482 MB / 1.003 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.2e-07/1.589, allocations: 0 / 1.003 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005341/1.594, allocations: 1.765 MB / 1.005 GB, free: 133.4 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 159 * 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 {(65,7.8%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04276/1.637, allocations: 17.84 MB / 1.023 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0298/1.667, allocations: 11.92 MB / 1.034 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.667, allocations: 0 / 1.034 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/1.679, allocations: 4.779 MB / 1.039 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/1.682, allocations: 238.7 kB / 1.039 GB, free: 104.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.693, allocations: 11.89 MB / 1.051 GB, free: 92.91 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/1.695, allocations: 1.883 MB / 1.053 GB, free: 91.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00139/1.696, allocations: 271.3 kB / 1.053 GB, free: 91.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.697, allocations: 1.195 MB / 1.054 GB, free: 90.18 MB / 0.5886 GB Notification: Performance of SimCode: time 7.81e-07/1.697, allocations: 0 / 1.054 GB, free: 90.18 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4112/2.109, allocations: 94.58 MB / 1.146 GB, free: 156.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/2.109, allocations: 227.6 kB / 1.147 GB, free: 156.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.214/7.323, allocations: 0 / 1.147 GB, free: 156.6 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_ThirdOrder_AVRI.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)