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.001359/0.001359, 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 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009278/0.0009278, allocations: 98.67 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.94 MB / 410.2 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.806e-05, allocations: 0 / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4916, allocations: 100.6 MB / 0.6407 GB, free: 13.36 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/0.4918, allocations: 79.95 kB / 0.6408 GB, free: 13.28 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.182/0.6738, allocations: 70.12 MB / 0.7093 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6739, allocations: 0 / 0.7093 GB, free: 7.062 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002256/0.6741, allocations: 59.94 kB / 0.7093 GB, free: 7.004 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.01268/0.6868, allocations: 4.062 MB / 0.7133 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6868, allocations: 8.031 kB / 0.7133 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.697, allocations: 1.596 MB / 0.7149 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.7011, allocations: 1.655 MB / 0.7165 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007935/0.7019, allocations: 0.6744 MB / 0.7172 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007638/0.7027, allocations: 123.9 kB / 0.7173 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004769/0.7075, allocations: 2.227 MB / 0.7194 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00456/0.7121, allocations: 2.29 MB / 0.7217 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.7121, allocations: 0 / 0.7217 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/0.7123, allocations: 7.891 kB / 0.7217 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.7124, allocations: 48 kB / 0.7217 GB, free: 9.973 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 preOpt removeSimpleEquations (simulation): time 0.01738/0.7298, allocations: 9.629 MB / 0.7311 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009187/0.739, allocations: 4.114 MB / 0.7352 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.7412, allocations: 1.473 MB / 0.7366 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.7415, allocations: 41.95 kB / 0.7366 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002844/0.7444, allocations: 1.734 MB / 0.7383 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 4.688e-06/0.7444, allocations: 0 / 0.7383 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03845/0.7828, allocations: 12.34 MB / 0.7504 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.783, allocations: 184.2 kB / 0.7506 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003547/0.7866, allocations: 1.725 MB / 0.7522 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006114/0.7872, allocations: 33.64 kB / 0.7523 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.7883, allocations: 1.208 MB / 0.7535 GB, free: 8.844 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.7897, allocations: 0.8313 MB / 0.7543 GB, free: 8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004964/0.7902, allocations: 0.75 kB / 0.7543 GB, free: 8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.7905, allocations: 399 kB / 0.7546 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.7928, allocations: 1.22 MB / 0.7558 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.7954, allocations: 1.507 MB / 0.7573 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.7978, allocations: 1.34 MB / 0.7586 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.7978, allocations: 0 / 0.7586 GB, free: 3.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.2962/1.094, allocations: 12.3 MB / 0.7706 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/1.094, allocations: 113.7 kB / 0.7707 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.851e-05/1.094, allocations: 8.906 kB / 0.7707 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01529/1.109, allocations: 4.995 MB / 0.7756 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/1.112, allocations: 428.2 kB / 0.776 GB, free: 113.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04046/1.152, allocations: 17.54 MB / 0.7932 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/1.157, allocations: 0.4892 MB / 0.7936 GB, free: 111.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006396/1.157, allocations: 90.19 kB / 0.7937 GB, free: 111.6 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 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.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-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 (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.001116/1.159, allocations: 219.3 kB / 0.7939 GB, free: 111.5 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04024/1.199, allocations: 12.34 MB / 0.806 GB, free: 110.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.2, allocations: 295.3 kB / 0.8063 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0361/1.236, allocations: 12.64 MB / 0.8186 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.741e-05/1.237, allocations: 24.67 kB / 0.8186 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.016e-05/1.237, allocations: 25.09 kB / 0.8187 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.052e-05/1.237, allocations: 13.27 kB / 0.8187 GB, free: 109.8 MB / 0.5573 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.04106/1.278, allocations: 15.97 MB / 0.8343 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.278, allocations: 2.594 kB / 0.8343 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.279, allocations: 244.5 kB / 0.8345 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01431/1.294, allocations: 5.002 MB / 0.8394 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006149/1.294, allocations: 15.56 kB / 0.8394 GB, free: 107 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03377/1.328, allocations: 18.97 MB / 0.8579 GB, free: 96.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.328, allocations: 1.438 kB / 0.8579 GB, free: 96.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03638/1.365, allocations: 14.63 MB / 0.8722 GB, free: 84.23 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.366, allocations: 406.2 kB / 0.8726 GB, free: 83.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005526/1.366, allocations: 13.7 kB / 0.8726 GB, free: 83.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/1.369, allocations: 372.6 kB / 0.873 GB, free: 83.59 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00176/1.371, allocations: 0.5818 MB / 0.8735 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001842/1.371, allocations: 63.61 kB / 0.8736 GB, free: 83.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001541/1.373, allocations: 1.293 MB / 0.8749 GB, free: 82.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.8e-07/1.373, allocations: 0 / 0.8749 GB, free: 82.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003008/1.376, allocations: 1.012 MB / 0.8758 GB, free: 81.06 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 () * 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.03622/1.412, allocations: 15.36 MB / 0.8908 GB, free: 68.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.425, allocations: 5.602 MB / 0.8963 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.425, allocations: 1.75 kB / 0.8963 GB, free: 63.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01123/1.437, allocations: 4.296 MB / 0.9005 GB, free: 59.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/1.439, allocations: 189.8 kB / 0.9007 GB, free: 59.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008071/1.447, allocations: 4.465 MB / 0.9051 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.448, allocations: 1.875 MB / 0.9069 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009118/1.449, allocations: 217.5 kB / 0.9071 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/1.45, allocations: 1.209 MB / 0.9083 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of SimCode: time 9.32e-07/1.45, allocations: 3.5 kB / 0.9083 GB, free: 52.45 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3892/1.839, allocations: 74.4 MB / 0.9809 GB, free: 119.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.839, allocations: 143.4 kB / 0.9811 GB, free: 119.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.446/6.286, allocations: 0.5625 kB / 0.9811 GB, free: 119.3 MB / 0.573 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)