Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.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.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_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.001481/0.001482, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.3 MB / 213.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000916/0.0009158, allocations: 78.72 kB / 261.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07875/0.07875, allocations: 12.2 MB / 321.6 MB, free: 15.58 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5388/0.5388, allocations: 78.06 MB / 450.3 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.173e-05, allocations: 3.719 kB / 0.5142 GB, free: 42.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 69.24 MB / 0.5819 GB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.2807, allocations: 101.8 MB / 0.6812 GB, free: 11.39 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.281, allocations: 83.94 kB / 0.6813 GB, free: 11.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4397/0.7207, allocations: 67.82 MB / 0.7475 GB, free: 64.76 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7207, allocations: 3.984 kB / 0.7475 GB, free: 64.76 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.7209, allocations: 59.94 kB / 0.7476 GB, free: 64.7 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01065/0.7315, allocations: 4.08 MB / 0.7516 GB, free: 60.54 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.7316, allocations: 8.031 kB / 0.7516 GB, free: 60.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009124/0.7407, allocations: 1.6 MB / 0.7532 GB, free: 58.92 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00333/0.7441, allocations: 1.663 MB / 0.7548 GB, free: 57.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005875/0.7447, allocations: 0.6744 MB / 0.7554 GB, free: 56.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.7451, allocations: 128 kB / 0.7556 GB, free: 56.28 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003735/0.7489, allocations: 2.23 MB / 0.7577 GB, free: 54.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.7525, allocations: 2.302 MB / 0.76 GB, free: 51.67 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.981e-05/0.7526, allocations: 0 / 0.76 GB, free: 51.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.7528, allocations: 3.984 kB / 0.76 GB, free: 51.67 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.7528, allocations: 48 kB / 0.76 GB, free: 51.62 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.01623/0.7691, allocations: 9.655 MB / 0.7695 GB, free: 41.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008411/0.7775, allocations: 4.137 MB / 0.7735 GB, free: 37.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/0.7797, allocations: 1.473 MB / 0.7749 GB, free: 35.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.7801, allocations: 49.89 kB / 0.775 GB, free: 35.78 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/0.7825, allocations: 1.741 MB / 0.7767 GB, free: 34.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 4.749e-06/0.7826, allocations: 0 / 0.7767 GB, free: 34.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=250): time 0.03488/0.8175, allocations: 12.35 MB / 0.7888 GB, free: 21.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.8176, allocations: 184.2 kB / 0.7889 GB, free: 21.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/0.8214, allocations: 1.745 MB / 0.7906 GB, free: 19.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008307/0.8222, allocations: 29.7 kB / 0.7907 GB, free: 19.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008885/0.8231, allocations: 1.2 MB / 0.7918 GB, free: 18.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/0.8247, allocations: 0.8274 MB / 0.7926 GB, free: 17.57 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005297/0.8252, allocations: 0 / 0.7926 GB, free: 17.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.8254, allocations: 399 kB / 0.793 GB, free: 17.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.8277, allocations: 1.227 MB / 0.7942 GB, free: 15.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.83, allocations: 1.519 MB / 0.7957 GB, free: 14.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.8323, allocations: 1.346 MB / 0.797 GB, free: 12.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.8324, allocations: 4 kB / 0.797 GB, free: 12.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=320) (initialization): time 0.03554/0.8679, allocations: 12.37 MB / 0.8091 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.8681, allocations: 126.8 kB / 0.8092 GB, free: 384 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/0.8681, allocations: 4 kB / 0.8092 GB, free: 380 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01765/0.8858, allocations: 5.076 MB / 0.8142 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/0.8886, allocations: 423.4 kB / 0.8146 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04552/0.9342, allocations: 18.87 MB / 0.833 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005095/0.9393, allocations: 497.7 kB / 0.8335 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008457/0.9402, allocations: 99.95 kB / 0.8336 GB, free: 7.148 MB / 0.4948 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 223 * 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: 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001295/0.9415, allocations: 205.3 kB / 0.8338 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03963/0.9812, allocations: 12.37 MB / 0.8459 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/0.983, allocations: 296.3 kB / 0.8461 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04002/1.023, allocations: 12.65 MB / 0.8585 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.018e-05/1.023, allocations: 28 kB / 0.8585 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.238e-05/1.023, allocations: 20 kB / 0.8585 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.886e-05/1.023, allocations: 11.95 kB / 0.8586 GB, free: 13.45 MB / 0.5261 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.0473/1.071, allocations: 16.03 MB / 0.8742 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.071, allocations: 64 / 0.8742 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.073, allocations: 255.6 kB / 0.8745 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01683/1.089, allocations: 4.949 MB / 0.8793 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009564/1.09, allocations: 15.98 kB / 0.8793 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04393/1.134, allocations: 19 MB / 0.8979 GB, free: 4.645 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.135, allocations: 8 kB / 0.8979 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4516/1.586, allocations: 14.64 MB / 0.9122 GB, free: 149 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.588, allocations: 426.3 kB / 0.9126 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000558/1.588, allocations: 3.094 kB / 0.9126 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.591, allocations: 370.6 kB / 0.9129 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002279/1.593, allocations: 0.5831 MB / 0.9135 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000247/1.594, allocations: 64.25 kB / 0.9135 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002583/1.596, allocations: 1.303 MB / 0.9148 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.596, allocations: 0 / 0.9148 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004728/1.601, allocations: 1.012 MB / 0.9158 GB, free: 148.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04028/1.641, allocations: 15.39 MB / 0.9308 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01634/1.658, allocations: 5.742 MB / 0.9364 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.658, allocations: 1.75 kB / 0.9364 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01294/1.671, allocations: 4.289 MB / 0.9406 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/1.674, allocations: 188.7 kB / 0.9408 GB, free: 145.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.688, allocations: 4.563 MB / 0.9453 GB, free: 144.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001527/1.69, allocations: 1.877 MB / 0.9471 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001257/1.691, allocations: 211.8 kB / 0.9473 GB, free: 143 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/1.693, allocations: 1.219 MB / 0.9485 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.693, allocations: 0 / 0.9485 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1213/1.814, allocations: 74.88 MB / 1.022 GB, free: 79.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/1.814, allocations: 143.4 kB / 1.022 GB, free: 79.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.879/6.693, allocations: 3.375 kB / 1.022 GB, free: 79.17 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)