Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 180.9 kB / 7.651 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.613/1.613, allocations: 205.3 MB / 213.4 MB, free: 1.742 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.0009784/0.0009785, allocations: 86.69 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07432/0.07432, allocations: 12.2 MB / 321.6 MB, free: 15.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4442/0.4442, allocations: 78.04 MB / 450.3 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.238e-05, allocations: 3.719 kB / 0.5142 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1593, allocations: 69.25 MB / 0.5819 GB, free: 1.316 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.3181, allocations: 101.5 MB / 0.681 GB, free: 11.64 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.3185, allocations: 79.95 kB / 0.6811 GB, free: 11.56 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5541/0.8727, allocations: 67.42 MB / 0.7469 GB, free: 65.47 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.8728, allocations: 0 / 0.7469 GB, free: 65.47 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002293/0.873, allocations: 59.94 kB / 0.747 GB, free: 65.41 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01312/0.8861, allocations: 4.057 MB / 0.7509 GB, free: 61.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.8862, allocations: 12.03 kB / 0.751 GB, free: 61.26 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/0.8966, allocations: 1.6 MB / 0.7525 GB, free: 59.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005146/0.9018, allocations: 1.651 MB / 0.7541 GB, free: 57.94 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000721/0.9026, allocations: 0.6705 MB / 0.7548 GB, free: 57.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.9037, allocations: 127.9 kB / 0.7549 GB, free: 57.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005141/0.9089, allocations: 2.222 MB / 0.7571 GB, free: 54.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004595/0.9135, allocations: 2.294 MB / 0.7593 GB, free: 52.43 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.9136, allocations: 0 / 0.7593 GB, free: 52.43 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.9138, allocations: 7.984 kB / 0.7593 GB, free: 52.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.9139, allocations: 48 kB / 0.7594 GB, free: 52.38 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.02069/0.9346, allocations: 9.624 MB / 0.7688 GB, free: 42.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009072/0.9437, allocations: 4.122 MB / 0.7728 GB, free: 38.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002652/0.9464, allocations: 1.465 MB / 0.7742 GB, free: 36.64 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004107/0.9468, allocations: 49.89 kB / 0.7743 GB, free: 36.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003097/0.9499, allocations: 1.725 MB / 0.776 GB, free: 34.84 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.811e-06/0.95, allocations: 4 kB / 0.776 GB, free: 34.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.03508/0.9851, allocations: 12.33 MB / 0.788 GB, free: 22.47 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/0.9852, allocations: 184.2 kB / 0.7882 GB, free: 22.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003183/0.9884, allocations: 1.725 MB / 0.7899 GB, free: 20.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008032/0.9893, allocations: 33.7 kB / 0.7899 GB, free: 20.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008325/0.9901, allocations: 1.211 MB / 0.7911 GB, free: 19.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001506/0.9916, allocations: 0.8274 MB / 0.7919 GB, free: 18.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002786/0.9919, allocations: 0 / 0.7919 GB, free: 18.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.9921, allocations: 399 kB / 0.7923 GB, free: 18.03 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.9941, allocations: 1.22 MB / 0.7935 GB, free: 16.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.9962, allocations: 1.511 MB / 0.7949 GB, free: 15.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.9984, allocations: 1.34 MB / 0.7962 GB, free: 13.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.9984, allocations: 7.891 kB / 0.7963 GB, free: 13.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.03452/1.033, allocations: 12.3 MB / 0.8083 GB, free: 1.465 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/1.033, allocations: 114.8 kB / 0.8084 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/1.033, allocations: 8 kB / 0.8084 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01647/1.05, allocations: 4.993 MB / 0.8133 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.052, allocations: 439.3 kB / 0.8137 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04239/1.095, allocations: 17.55 MB / 0.8308 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/1.1, allocations: 493.7 kB / 0.8313 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009341/1.101, allocations: 87.98 kB / 0.8314 GB, free: 9.629 MB / 0.4948 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.001049/1.102, allocations: 209.7 kB / 0.8316 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03927/1.141, allocations: 12.35 MB / 0.8436 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.143, allocations: 296.3 kB / 0.8439 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03878/1.182, allocations: 12.63 MB / 0.8562 GB, free: 16 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-05/1.182, allocations: 28.05 kB / 0.8563 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-05/1.182, allocations: 16 kB / 0.8563 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.293e-05/1.182, allocations: 15.91 kB / 0.8563 GB, free: 15.96 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.04552/1.227, allocations: 15.97 MB / 0.8719 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.227, allocations: 4 kB / 0.8719 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.229, allocations: 251.6 kB / 0.8721 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01556/1.245, allocations: 4.998 MB / 0.877 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006686/1.245, allocations: 23.94 kB / 0.877 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03974/1.285, allocations: 18.96 MB / 0.8956 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.285, allocations: 128 / 0.8956 GB, free: 7.188 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4106/1.696, allocations: 14.63 MB / 0.9098 GB, free: 148.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.697, allocations: 413.1 kB / 0.9102 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/1.699, allocations: 6.562 kB / 0.9102 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005117/1.704, allocations: 373.8 kB / 0.9106 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003194/1.708, allocations: 0.5768 MB / 0.9112 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008355/1.709, allocations: 67.84 kB / 0.9112 GB, free: 148.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003081/1.712, allocations: 1.291 MB / 0.9125 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.61e-07/1.712, allocations: 0 / 0.9125 GB, free: 148.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006075/1.718, allocations: 1.013 MB / 0.9135 GB, free: 148.5 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.04186/1.76, allocations: 15.36 MB / 0.9285 GB, free: 147.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01616/1.776, allocations: 5.598 MB / 0.9339 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/1.776, allocations: 0 / 0.9339 GB, free: 146.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01332/1.789, allocations: 4.307 MB / 0.9382 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/1.793, allocations: 192.6 kB / 0.9383 GB, free: 146 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/1.806, allocations: 4.473 MB / 0.9427 GB, free: 144.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/1.808, allocations: 1.879 MB / 0.9445 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001292/1.809, allocations: 214 kB / 0.9447 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/1.811, allocations: 1.206 MB / 0.9459 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.964e-06/1.811, allocations: 0 / 0.9459 GB, free: 143.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.936, allocations: 74.4 MB / 1.019 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/1.937, allocations: 141.1 kB / 1.019 GB, free: 83.47 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.694/6.63, allocations: 4.312 kB / 1.019 GB, free: 83.47 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_ThreeArea_FifthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)