Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_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.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.005346/0.005346, allocations: 171.8 kB / 15.11 MB, free: 5.984 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.366/1.366, allocations: 223.2 MB / 239 MB, free: 56 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.0009222/0.0009224, allocations: 93.3 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4572/0.4572, allocations: 79.44 MB / 420.7 MB, free: 36.45 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003637, allocations: 12 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 69.51 MB / 0.557 GB, free: 0.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3869/0.519, allocations: 101.5 MB / 0.6561 GB, free: 15.58 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5193, allocations: 84.61 kB / 0.6562 GB, free: 15.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1822/0.7015, allocations: 71.62 MB / 0.7262 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7016, allocations: 0 / 0.7262 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000145/0.7017, allocations: 59.94 kB / 0.7262 GB, free: 7.668 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01436/0.7161, allocations: 4.72 MB / 0.7308 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.7162, allocations: 12.03 kB / 0.7308 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001072/0.7173, allocations: 301.3 kB / 0.7311 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009954/0.7272, allocations: 1.619 MB / 0.7327 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.732, allocations: 1.729 MB / 0.7344 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007222/0.7328, allocations: 0.7448 MB / 0.7351 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005828/0.7334, allocations: 211.9 kB / 0.7353 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006303/0.7397, allocations: 3.227 MB / 0.7385 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.7398, allocations: 0 / 0.7385 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.74, allocations: 88 kB / 0.7386 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.7401, allocations: 48 kB / 0.7386 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005746/0.7458, allocations: 2.991 MB / 0.7415 GB, free: 7.609 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.01844/0.7643, allocations: 10.02 MB / 0.7513 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.7756, allocations: 4.89 MB / 0.7561 GB, free: 8.137 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003784/0.776, allocations: 41.97 kB / 0.7561 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005537/0.7815, allocations: 2.436 MB / 0.7585 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=250): time 6.692e-06/0.7816, allocations: 3.938 kB / 0.7585 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of matching and sorting (n=250): time 0.1179/0.8995, allocations: 32.1 MB / 0.7899 GB, free: 5.426 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.8997, allocations: 184.3 kB / 0.79 GB, free: 5.207 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/0.9048, allocations: 1.976 MB / 0.792 GB, free: 3.219 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008545/0.9056, allocations: 69.7 kB / 0.792 GB, free: 3.145 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.9069, allocations: 1.208 MB / 0.7932 GB, free: 1.926 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001646/0.9086, allocations: 0.8624 MB / 0.7941 GB, free: 1.051 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006654/0.9093, allocations: 57.97 kB / 0.7941 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003004/0.9096, allocations: 395 kB / 0.7945 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3263/1.236, allocations: 1.897 MB / 0.7963 GB, free: 121 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005128/1.241, allocations: 2.211 MB / 0.7985 GB, free: 120.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004917/1.246, allocations: 2.12 MB / 0.8006 GB, free: 120.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.246, allocations: 1.656 kB / 0.8006 GB, free: 120.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04591/1.292, allocations: 14.57 MB / 0.8148 GB, free: 120.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.292, allocations: 113.6 kB / 0.8149 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.292, allocations: 8.406 kB / 0.8149 GB, free: 120.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0204/1.313, allocations: 6.561 MB / 0.8213 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/1.315, allocations: 418.2 kB / 0.8217 GB, free: 119.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06503/1.38, allocations: 27.82 MB / 0.8489 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004424/1.385, allocations: 0.5381 MB / 0.8494 GB, free: 116.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005778/1.385, allocations: 96.11 kB / 0.8495 GB, free: 116.2 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 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.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 (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.001624/1.387, allocations: 0.5057 MB / 0.85 GB, free: 116 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009181/1.388, allocations: 306.7 kB / 0.8503 GB, free: 115.9 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0421/1.43, allocations: 14.79 MB / 0.8647 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/1.43, allocations: 24.94 kB / 0.8648 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.43, allocations: 22.28 kB / 0.8648 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/1.43, allocations: 10.55 kB / 0.8648 GB, free: 113.1 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.04338/1.474, allocations: 18.38 MB / 0.8827 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.474, allocations: 0 / 0.8827 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.475, allocations: 252 kB / 0.883 GB, free: 108.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/1.493, allocations: 6.218 MB / 0.889 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008035/1.494, allocations: 51.47 kB / 0.8891 GB, free: 106.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05694/1.551, allocations: 26.9 MB / 0.9154 GB, free: 83.32 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.551, allocations: 4 kB / 0.9154 GB, free: 83.32 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.047/1.598, allocations: 17.39 MB / 0.9324 GB, free: 69.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.599, allocations: 417.3 kB / 0.9328 GB, free: 68.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.6, allocations: 52.12 kB / 0.9328 GB, free: 68.78 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00397/1.604, allocations: 414.8 kB / 0.9332 GB, free: 68.47 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002557/1.607, allocations: 0.5817 MB / 0.9338 GB, free: 68.15 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005783/1.607, allocations: 63.42 kB / 0.9338 GB, free: 68.09 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002996/1.61, allocations: 1.53 MB / 0.9353 GB, free: 66.81 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.11e-07/1.61, allocations: 0 / 0.9353 GB, free: 66.81 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004981/1.615, allocations: 1.136 MB / 0.9364 GB, free: 65.72 MB / 0.573 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 () * Number of clocked 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.04597/1.661, allocations: 18.15 MB / 0.9542 GB, free: 50.82 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0183/1.68, allocations: 7.232 MB / 0.9612 GB, free: 44.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.68, allocations: 5.75 kB / 0.9612 GB, free: 44.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01369/1.694, allocations: 5.087 MB / 0.9662 GB, free: 39.53 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002984/1.697, allocations: 230.1 kB / 0.9664 GB, free: 39.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.713, allocations: 12.18 MB / 0.9783 GB, free: 26.86 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/1.715, allocations: 1.876 MB / 0.9801 GB, free: 24.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001492/1.717, allocations: 218 kB / 0.9803 GB, free: 24.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/1.718, allocations: 1.222 MB / 0.9815 GB, free: 23.53 MB / 0.573 GB Notification: Performance of SimCode: time 7.92e-07/1.718, allocations: 0 / 0.9815 GB, free: 23.53 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3979/2.116, allocations: 78.9 MB / 1.059 GB, free: 128.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/2.116, allocations: 219.6 kB / 1.059 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.888/7.005, allocations: 0 / 1.059 GB, free: 128.5 MB / 0.5886 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)