Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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.007224/0.007224, allocations: 169.8 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.379/1.379, allocations: 223.2 MB / 239 MB, free: 96 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009693/0.0009691, allocations: 95.91 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4727/0.4727, allocations: 79.45 MB / 420.8 MB, free: 36.36 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 8 kB / 0.4891 GB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 69.51 MB / 0.557 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3977/0.5404, allocations: 101.3 MB / 0.6559 GB, free: 15.93 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.5408, allocations: 85.31 kB / 0.656 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1953/0.7361, allocations: 71.2 MB / 0.7255 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7362, allocations: 0 / 0.7255 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003405/0.7365, allocations: 59.94 kB / 0.7256 GB, free: 8.445 MB / 0.5105 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.01664/0.7532, allocations: 4.696 MB / 0.7302 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.7532, allocations: 8.031 kB / 0.7302 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001359/0.7546, allocations: 303.3 kB / 0.7305 GB, free: 3.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01069/0.7653, allocations: 1.615 MB / 0.7321 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.7714, allocations: 1.725 MB / 0.7337 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/0.7725, allocations: 0.7409 MB / 0.7345 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.7737, allocations: 204 kB / 0.7347 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009634/0.7834, allocations: 3.215 MB / 0.7378 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.386e-05/0.7835, allocations: 3.953 kB / 0.7378 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000592/0.7841, allocations: 88 kB / 0.7379 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/0.7841, allocations: 51.94 kB / 0.7379 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00723/0.7914, allocations: 2.983 MB / 0.7408 GB, free: 8.441 MB / 0.5261 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.02216/0.8136, allocations: 9.978 MB / 0.7506 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01239/0.826, allocations: 4.869 MB / 0.7553 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004259/0.8265, allocations: 45.95 kB / 0.7554 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005844/0.8323, allocations: 2.427 MB / 0.7578 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 7.023e-06/0.8324, allocations: 0 / 0.7578 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.1235/0.9558, allocations: 31.92 MB / 0.7889 GB, free: 6.504 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.956, allocations: 188.3 kB / 0.7891 GB, free: 6.281 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/0.9614, allocations: 1.957 MB / 0.791 GB, free: 4.312 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008116/0.9622, allocations: 69.7 kB / 0.7911 GB, free: 4.238 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.9636, allocations: 1.212 MB / 0.7923 GB, free: 3.016 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00176/0.9654, allocations: 0.847 MB / 0.7931 GB, free: 2.156 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005953/0.966, allocations: 56 kB / 0.7932 GB, free: 2.102 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003085/0.9663, allocations: 399.2 kB / 0.7935 GB, free: 1.707 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.315/1.281, allocations: 1.886 MB / 0.7954 GB, free: 121.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005163/1.287, allocations: 2.2 MB / 0.7975 GB, free: 121.4 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00462/1.291, allocations: 2.122 MB / 0.7996 GB, free: 121.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/1.291, allocations: 1.75 kB / 0.7996 GB, free: 121.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04521/1.336, allocations: 14.49 MB / 0.8137 GB, free: 120.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.337, allocations: 114.8 kB / 0.8139 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/1.337, allocations: 9.062 kB / 0.8139 GB, free: 120.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01996/1.357, allocations: 6.497 MB / 0.8202 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/1.359, allocations: 429.3 kB / 0.8206 GB, free: 120.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06334/1.423, allocations: 26.43 MB / 0.8464 GB, free: 118.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.428, allocations: 0.5418 MB / 0.847 GB, free: 118.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005889/1.428, allocations: 94.17 kB / 0.8471 GB, free: 118.2 MB / 0.573 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.001622/1.43, allocations: 0.5026 MB / 0.8475 GB, free: 118.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008546/1.431, allocations: 307.3 kB / 0.8478 GB, free: 117.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04067/1.471, allocations: 14.77 MB / 0.8623 GB, free: 115.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/1.471, allocations: 24.62 kB / 0.8623 GB, free: 115.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.844e-05/1.471, allocations: 20.41 kB / 0.8623 GB, free: 115.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.546e-05/1.472, allocations: 16.62 kB / 0.8623 GB, free: 115.5 MB / 0.573 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.04588/1.517, allocations: 18.32 MB / 0.8802 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/1.518, allocations: 0 / 0.8802 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.519, allocations: 254 kB / 0.8805 GB, free: 110.8 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01792/1.537, allocations: 6.262 MB / 0.8866 GB, free: 109.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008857/1.538, allocations: 54.44 kB / 0.8866 GB, free: 109.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05576/1.594, allocations: 26.87 MB / 0.9129 GB, free: 86.79 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.594, allocations: 8 kB / 0.9129 GB, free: 86.78 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04497/1.639, allocations: 17.36 MB / 0.9298 GB, free: 72.69 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.64, allocations: 418.2 kB / 0.9302 GB, free: 72.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009072/1.641, allocations: 48 kB / 0.9303 GB, free: 72.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/1.645, allocations: 410.7 kB / 0.9307 GB, free: 71.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002116/1.647, allocations: 0.5807 MB / 0.9312 GB, free: 71.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.647, allocations: 63.61 kB / 0.9313 GB, free: 71.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002279/1.649, allocations: 1.518 MB / 0.9328 GB, free: 70.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.649, allocations: 0 / 0.9328 GB, free: 70.32 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003946/1.653, allocations: 1.132 MB / 0.9339 GB, free: 69.23 MB / 0.573 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.04396/1.697, allocations: 18.13 MB / 0.9516 GB, free: 54.35 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01797/1.715, allocations: 7.094 MB / 0.9585 GB, free: 48.16 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.715, allocations: 0 / 0.9585 GB, free: 48.16 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0139/1.729, allocations: 5.108 MB / 0.9635 GB, free: 43.36 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/1.732, allocations: 226.9 kB / 0.9637 GB, free: 43.13 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.746, allocations: 12.05 MB / 0.9755 GB, free: 30.82 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.747, allocations: 1.876 MB / 0.9773 GB, free: 28.91 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00112/1.748, allocations: 220.7 kB / 0.9775 GB, free: 28.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.749, allocations: 1.21 MB / 0.9787 GB, free: 27.49 MB / 0.573 GB Notification: Performance of SimCode: time 6.31e-07/1.749, allocations: 0 / 0.9787 GB, free: 27.49 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3848/2.134, allocations: 78.44 MB / 1.055 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/2.135, allocations: 217.3 kB / 1.056 GB, free: 127.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.098/7.233, allocations: 4 kB / 1.056 GB, free: 127.3 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)