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.005314/0.005313, allocations: 171.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009427/0.0009429, allocations: 94.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06285/0.06285, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4375/0.4375, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.0005247, allocations: 24.47 kB / 0.528 GB, free: 35.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1177, allocations: 69.24 MB / 0.5956 GB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4907, allocations: 102.3 MB / 0.6955 GB, free: 35.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.491, allocations: 81.81 kB / 0.6956 GB, free: 35.93 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1583/0.6493, allocations: 68.47 MB / 0.7625 GB, free: 19.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6493, allocations: 0 / 0.7625 GB, free: 19.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003281/0.6497, allocations: 62.53 kB / 0.7625 GB, free: 19.7 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.01594/0.6656, allocations: 4.693 MB / 0.7671 GB, free: 17.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6657, allocations: 13.52 kB / 0.7671 GB, free: 17.11 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001285/0.667, allocations: 301 kB / 0.7674 GB, free: 17.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.6772, allocations: 1.619 MB / 0.769 GB, free: 16.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005694/0.683, allocations: 1.722 MB / 0.7707 GB, free: 15.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007397/0.6837, allocations: 0.7469 MB / 0.7714 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.6848, allocations: 215.7 kB / 0.7716 GB, free: 14.93 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008432/0.6933, allocations: 3.22 MB / 0.7748 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.119e-05/0.6934, allocations: 0 / 0.7748 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006613/0.6941, allocations: 85.52 kB / 0.7748 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.6941, allocations: 50.88 kB / 0.7749 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006564/0.7007, allocations: 2.981 MB / 0.7778 GB, free: 13.62 MB / 474.7 MB 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.01794/0.7187, allocations: 9.973 MB / 0.7875 GB, free: 8.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.7289, allocations: 4.871 MB / 0.7923 GB, free: 3.742 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004568/0.7294, allocations: 41.95 kB / 0.7923 GB, free: 3.703 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004924/0.7343, allocations: 2.42 MB / 0.7947 GB, free: 1.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 6.632e-06/0.7343, allocations: 3.938 kB / 0.7947 GB, free: 1.262 MB / 474.7 MB Notification: Performance of matching and sorting (n=249): time 0.1153/0.8496, allocations: 31.92 MB / 0.8259 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.8498, allocations: 188.3 kB / 0.8261 GB, free: 1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004854/0.8547, allocations: 1.953 MB / 0.828 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008274/0.8555, allocations: 65.7 kB / 0.828 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.8569, allocations: 1.216 MB / 0.8292 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/0.8585, allocations: 0.8624 MB / 0.8301 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006499/0.8592, allocations: 44 kB / 0.8301 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002783/0.8595, allocations: 403 kB / 0.8305 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00451/0.864, allocations: 1.894 MB / 0.8323 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.8689, allocations: 2.195 MB / 0.8345 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/0.8739, allocations: 2.12 MB / 0.8365 GB, free: 6.055 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/0.8739, allocations: 4 kB / 0.8366 GB, free: 6.051 MB / 0.5105 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.04436/0.9183, allocations: 14.49 MB / 0.8507 GB, free: 7.473 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.9185, allocations: 118.8 kB / 0.8508 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.9186, allocations: 12 kB / 0.8508 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02056/0.9391, allocations: 6.497 MB / 0.8572 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/0.9421, allocations: 435.4 kB / 0.8576 GB, free: 404 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06614/1.008, allocations: 26.42 MB / 0.8834 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004791/1.013, allocations: 0.5445 MB / 0.8839 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005938/1.014, allocations: 87.98 kB / 0.884 GB, free: 5.191 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.001968/1.016, allocations: 0.517 MB / 0.8845 GB, free: 4.656 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.017, allocations: 308.3 kB / 0.8848 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04101/1.058, allocations: 14.77 MB / 0.8992 GB, free: 5.492 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/1.058, allocations: 28 kB / 0.8992 GB, free: 5.465 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/1.058, allocations: 16 kB / 0.8993 GB, free: 5.449 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.437e-05/1.058, allocations: 15.95 kB / 0.8993 GB, free: 5.434 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.04671/1.105, allocations: 18.31 MB / 0.9172 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.105, allocations: 0 / 0.9172 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.107, allocations: 255.6 kB / 0.9174 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.305/1.412, allocations: 6.258 MB / 0.9235 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007769/1.412, allocations: 51.77 kB / 0.9236 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05726/1.47, allocations: 26.86 MB / 0.9498 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.47, allocations: 0.6562 kB / 0.9498 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04244/1.512, allocations: 17.37 MB / 0.9668 GB, free: 157 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.513, allocations: 419.3 kB / 0.9672 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006269/1.514, allocations: 50.33 kB / 0.9672 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.517, allocations: 407.8 kB / 0.9676 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002132/1.519, allocations: 0.578 MB / 0.9682 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.519, allocations: 66.92 kB / 0.9682 GB, free: 156.7 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002499/1.522, allocations: 1.514 MB / 0.9697 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.272e-06/1.522, allocations: 0 / 0.9697 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003617/1.525, allocations: 1.131 MB / 0.9708 GB, free: 156 MB / 0.5886 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.04164/1.567, allocations: 18.13 MB / 0.9885 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01628/1.583, allocations: 7.081 MB / 0.9954 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.583, allocations: 1.75 kB / 0.9954 GB, free: 140.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01273/1.596, allocations: 5.116 MB / 1 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/1.599, allocations: 236.7 kB / 1.001 GB, free: 136.1 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.015/1.614, allocations: 12.05 MB / 1.012 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.615, allocations: 1.879 MB / 1.014 GB, free: 123 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001259/1.616, allocations: 218.2 kB / 1.014 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/1.618, allocations: 1.213 MB / 1.016 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.433e-06/1.618, allocations: 0 / 1.016 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.719, allocations: 78.42 MB / 1.092 GB, free: 53.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/1.719, allocations: 211.4 kB / 1.092 GB, free: 53.21 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.793/6.512, allocations: 3.938 kB / 1.092 GB, free: 53.21 MB / 0.5886 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)