Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005821/0.005821, 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 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 223.2 MB / 239 MB, free: 1.793 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009284/0.0009285, allocations: 102.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6107/0.6107, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003726, allocations: 12 kB / 499.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3829, allocations: 69.34 MB / 0.5559 GB, free: 38.77 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.5241, allocations: 100.7 MB / 0.6542 GB, free: 5.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.5244, allocations: 83.95 kB / 0.6543 GB, free: 5.684 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1856/0.71, allocations: 70.33 MB / 0.723 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.723e-06/0.71, allocations: 0 / 0.723 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003017/0.7103, allocations: 59.94 kB / 0.723 GB, free: 14.91 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01589/0.7262, allocations: 4.695 MB / 0.7276 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.7263, allocations: 8.031 kB / 0.7276 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.7276, allocations: 311.3 kB / 0.7279 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.7377, allocations: 1.611 MB / 0.7295 GB, free: 8.176 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00533/0.7431, allocations: 1.721 MB / 0.7312 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007908/0.7439, allocations: 0.7487 MB / 0.7319 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008324/0.7447, allocations: 204 kB / 0.7321 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008184/0.7529, allocations: 3.215 MB / 0.7352 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.253e-05/0.753, allocations: 3.953 kB / 0.7352 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000522/0.7535, allocations: 84 kB / 0.7353 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.7536, allocations: 52 kB / 0.7354 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006676/0.7603, allocations: 2.991 MB / 0.7383 GB, free: 14.89 MB / 0.5417 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.02127/0.7816, allocations: 9.967 MB / 0.748 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.7936, allocations: 4.876 MB / 0.7528 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003039/0.7939, allocations: 45.95 kB / 0.7528 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00496/0.7989, allocations: 2.427 MB / 0.7552 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=249): time 4.979e-06/0.7989, allocations: 0 / 0.7552 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249): time 0.3692/1.168, allocations: 31.91 MB / 0.7864 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/1.168, allocations: 184.9 kB / 0.7865 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003907/1.172, allocations: 1.958 MB / 0.7885 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000703/1.173, allocations: 67.98 kB / 0.7885 GB, free: 117 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/1.174, allocations: 1.213 MB / 0.7897 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/1.175, allocations: 0.857 MB / 0.7905 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/1.176, allocations: 53.78 kB / 0.7906 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.176, allocations: 404 kB / 0.791 GB, free: 116 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/1.18, allocations: 1.889 MB / 0.7928 GB, free: 116 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004874/1.185, allocations: 2.195 MB / 0.795 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/1.19, allocations: 2.114 MB / 0.797 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/1.19, allocations: 4 kB / 0.797 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04713/1.237, allocations: 14.49 MB / 0.8112 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/1.237, allocations: 118 kB / 0.8113 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/1.237, allocations: 3.25 kB / 0.8113 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02003/1.257, allocations: 6.505 MB / 0.8177 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.26, allocations: 434.3 kB / 0.8181 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06066/1.321, allocations: 26.43 MB / 0.8439 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/1.325, allocations: 0.5419 MB / 0.8444 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/1.325, allocations: 95.88 kB / 0.8445 GB, free: 107.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" fixed = true ) "q-axis sub-transient voltage" type: Real Syn2.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 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: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.001844/1.327, allocations: 0.5026 MB / 0.845 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/1.328, allocations: 297.7 kB / 0.8453 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04103/1.369, allocations: 14.77 MB / 0.8597 GB, free: 99.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/1.369, allocations: 28 kB / 0.8597 GB, free: 99.29 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.477e-05/1.369, allocations: 23.95 kB / 0.8598 GB, free: 99.26 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.111e-05/1.37, allocations: 13.64 kB / 0.8598 GB, free: 99.26 MB / 0.5573 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.04612/1.416, allocations: 18.32 MB / 0.8777 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/1.416, allocations: 2.625 kB / 0.8777 GB, free: 85.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.417, allocations: 249 kB / 0.8779 GB, free: 84.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01747/1.435, allocations: 6.27 MB / 0.884 GB, free: 80.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006415/1.436, allocations: 51.61 kB / 0.8841 GB, free: 80.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05487/1.49, allocations: 26.87 MB / 0.9103 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.49, allocations: 0 / 0.9103 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0445/1.535, allocations: 17.37 MB / 0.9273 GB, free: 38.01 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/1.536, allocations: 415.7 kB / 0.9277 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009254/1.537, allocations: 55.12 kB / 0.9277 GB, free: 37.56 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003398/1.54, allocations: 407.6 kB / 0.9281 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002158/1.543, allocations: 0.5822 MB / 0.9287 GB, free: 36.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003652/1.543, allocations: 67.98 kB / 0.9287 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002488/1.545, allocations: 1.515 MB / 0.9302 GB, free: 35 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.545, allocations: 3.938 kB / 0.9302 GB, free: 34.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003582/1.549, allocations: 1.12 MB / 0.9313 GB, free: 33.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0441/1.593, allocations: 18.14 MB / 0.949 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01869/1.612, allocations: 7.076 MB / 0.9559 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.612, allocations: 1.75 kB / 0.9559 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01425/1.626, allocations: 5.109 MB / 0.9609 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.629, allocations: 229.2 kB / 0.9612 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.646, allocations: 12.06 MB / 0.9729 GB, free: 6.719 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/1.648, allocations: 1.88 MB / 0.9748 GB, free: 4.805 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001332/1.65, allocations: 217.9 kB / 0.975 GB, free: 4.598 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.652, allocations: 1.214 MB / 0.9762 GB, free: 3.387 MB / 0.573 GB Notification: Performance of SimCode: time 2.134e-06/1.652, allocations: 0 / 0.9762 GB, free: 3.387 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4528/2.105, allocations: 78.43 MB / 1.053 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/2.105, allocations: 227.6 kB / 1.053 GB, free: 132.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.598/6.703, allocations: 2.25 kB / 1.053 GB, free: 132.9 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)