Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_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.005614/0.005614, allocations: 170.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.338/1.338, allocations: 223.2 MB / 239 MB, free: 84 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.0009241/0.0009241, allocations: 94.11 kB / 290.2 MB, free: 4.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4782/0.4782, allocations: 78.51 MB / 419.8 MB, free: 36.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004079, allocations: 8 kB / 499.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1439, allocations: 69.36 MB / 0.5558 GB, free: 1.668 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5824, allocations: 100.9 MB / 0.6544 GB, free: 1.227 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.5828, allocations: 83.42 kB / 0.6545 GB, free: 1.184 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1815/0.7644, allocations: 70.76 MB / 0.7236 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7644, allocations: 0 / 0.7236 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001805/0.7646, allocations: 59.94 kB / 0.7236 GB, free: 10.62 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.01558/0.7802, allocations: 4.724 MB / 0.7282 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.7803, allocations: 12.03 kB / 0.7282 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00125/0.7815, allocations: 303.3 kB / 0.7285 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.7917, allocations: 1.619 MB / 0.7301 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/0.7973, allocations: 1.729 MB / 0.7318 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008274/0.7982, allocations: 0.7448 MB / 0.7325 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.7993, allocations: 215.9 kB / 0.7327 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007966/0.8073, allocations: 3.232 MB / 0.7359 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.8074, allocations: 0 / 0.7359 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.8076, allocations: 80 kB / 0.736 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.8077, allocations: 48 kB / 0.736 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007288/0.815, allocations: 2.995 MB / 0.7389 GB, free: 10.55 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.02237/0.8374, allocations: 10.01 MB / 0.7487 GB, free: 124 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/0.8494, allocations: 4.898 MB / 0.7535 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005465/0.85, allocations: 41.88 kB / 0.7535 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005834/0.8559, allocations: 2.435 MB / 0.7559 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=250): time 5.751e-06/0.856, allocations: 0 / 0.7559 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of matching and sorting (n=250): time 0.1164/0.9724, allocations: 32.1 MB / 0.7873 GB, free: 8.367 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.9726, allocations: 180.2 kB / 0.7874 GB, free: 8.152 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/0.9768, allocations: 1.969 MB / 0.7894 GB, free: 6.172 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008744/0.9778, allocations: 71.86 kB / 0.7894 GB, free: 6.098 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.9788, allocations: 1.22 MB / 0.7906 GB, free: 4.867 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001534/0.9804, allocations: 0.8586 MB / 0.7914 GB, free: 3.996 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.9807, allocations: 48 kB / 0.7915 GB, free: 3.949 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.9809, allocations: 403 kB / 0.7919 GB, free: 3.551 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004556/0.9855, allocations: 1.895 MB / 0.7937 GB, free: 1.652 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3238/1.309, allocations: 2.21 MB / 0.7959 GB, free: 121.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004734/1.314, allocations: 2.119 MB / 0.798 GB, free: 121.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.314, allocations: 5.938 kB / 0.798 GB, free: 121.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04353/1.358, allocations: 14.57 MB / 0.8122 GB, free: 121.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/1.358, allocations: 117.4 kB / 0.8123 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/1.358, allocations: 6.531 kB / 0.8123 GB, free: 121.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/1.377, allocations: 6.565 MB / 0.8187 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/1.379, allocations: 414.9 kB / 0.8191 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0624/1.441, allocations: 27.81 MB / 0.8463 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00542/1.447, allocations: 0.5463 MB / 0.8468 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000854/1.448, allocations: 89.36 kB / 0.8469 GB, free: 117.5 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.002343/1.45, allocations: 0.5135 MB / 0.8474 GB, free: 117.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.451, allocations: 301.6 kB / 0.8477 GB, free: 117.2 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05385/1.505, allocations: 14.79 MB / 0.8621 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/1.505, allocations: 25.66 kB / 0.8621 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.09e-05/1.505, allocations: 17.84 kB / 0.8622 GB, free: 115.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/1.506, allocations: 17.5 kB / 0.8622 GB, free: 115.3 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.05221/1.558, allocations: 18.37 MB / 0.8801 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/1.558, allocations: 3.375 kB / 0.8801 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.56, allocations: 248.8 kB / 0.8804 GB, free: 110.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.023/1.583, allocations: 6.217 MB / 0.8864 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009237/1.584, allocations: 54.52 kB / 0.8865 GB, free: 109.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05405/1.638, allocations: 26.9 MB / 0.9128 GB, free: 87.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.638, allocations: 3.562 kB / 0.9128 GB, free: 87.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04373/1.682, allocations: 17.38 MB / 0.9297 GB, free: 72.96 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/1.683, allocations: 426.2 kB / 0.9301 GB, free: 72.58 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007836/1.684, allocations: 57.09 kB / 0.9302 GB, free: 72.53 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.687, allocations: 409.2 kB / 0.9306 GB, free: 72.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002122/1.689, allocations: 0.5781 MB / 0.9312 GB, free: 71.91 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002396/1.689, allocations: 67.47 kB / 0.9312 GB, free: 71.85 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002268/1.692, allocations: 1.531 MB / 0.9327 GB, free: 70.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.51e-07/1.692, allocations: 0 / 0.9327 GB, free: 70.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.004479/1.696, allocations: 1.132 MB / 0.9338 GB, free: 69.48 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.04307/1.739, allocations: 18.15 MB / 0.9515 GB, free: 54.57 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01772/1.757, allocations: 7.243 MB / 0.9586 GB, free: 48.23 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/1.757, allocations: 0 / 0.9586 GB, free: 48.23 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0133/1.77, allocations: 5.088 MB / 0.9636 GB, free: 43.27 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/1.773, allocations: 233.7 kB / 0.9638 GB, free: 43.05 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.785, allocations: 12.17 MB / 0.9757 GB, free: 30.61 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.787, allocations: 1.876 MB / 0.9775 GB, free: 28.71 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001106/1.788, allocations: 215 kB / 0.9777 GB, free: 28.5 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.789, allocations: 1.222 MB / 0.9789 GB, free: 27.28 MB / 0.573 GB Notification: Performance of SimCode: time 9.91e-07/1.789, allocations: 0 / 0.9789 GB, free: 27.28 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4536/2.243, allocations: 78.9 MB / 1.056 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/2.243, allocations: 217 kB / 1.056 GB, free: 128.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.236/7.479, allocations: 0 / 1.056 GB, free: 128.3 MB / 0.5886 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)