Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_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.005964/0.005965, allocations: 170.5 kB / 15.11 MB, free: 5.992 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.391/1.391, allocations: 223.2 MB / 239 MB, free: 1.785 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.0008641/0.0008641, allocations: 98 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4528/0.4528, allocations: 78.59 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 8 kB / 499.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4588/0.4591, allocations: 69.34 MB / 0.5559 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.5938, allocations: 100.9 MB / 0.6544 GB, free: 5.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.594, allocations: 94.61 kB / 0.6545 GB, free: 5.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1883/0.7824, allocations: 70.74 MB / 0.7236 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7824, allocations: 0 / 0.7236 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002404/0.7827, allocations: 63.88 kB / 0.7237 GB, free: 14.24 MB / 0.5261 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.01504/0.7977, allocations: 4.716 MB / 0.7283 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.7978, allocations: 12.03 kB / 0.7283 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008586/0.7986, allocations: 303.3 kB / 0.7286 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009861/0.8085, allocations: 1.623 MB / 0.7302 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/0.8121, allocations: 1.725 MB / 0.7318 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006825/0.8128, allocations: 0.7487 MB / 0.7326 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.8132, allocations: 207.9 kB / 0.7328 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006182/0.8194, allocations: 3.235 MB / 0.7359 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.8194, allocations: 0 / 0.7359 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.8197, allocations: 84 kB / 0.736 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.8197, allocations: 52 kB / 0.7361 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005965/0.8257, allocations: 2.983 MB / 0.739 GB, free: 14.18 MB / 0.5417 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.01751/0.8432, allocations: 10.02 MB / 0.7488 GB, free: 3.746 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/0.8546, allocations: 4.886 MB / 0.7535 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.8549, allocations: 45.95 kB / 0.7536 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004653/0.8596, allocations: 2.44 MB / 0.756 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=250): time 5.05e-06/0.8596, allocations: 0 / 0.756 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=250): time 0.3807/1.24, allocations: 32.09 MB / 0.7873 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/1.24, allocations: 187.6 kB / 0.7875 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/1.244, allocations: 1.97 MB / 0.7894 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/1.244, allocations: 72.78 kB / 0.7895 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000932/1.245, allocations: 1.217 MB / 0.7907 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009653/1.246, allocations: 0.8553 MB / 0.7915 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/1.247, allocations: 57.72 kB / 0.7915 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.247, allocations: 397.4 kB / 0.7919 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/1.251, allocations: 1.898 MB / 0.7938 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/1.255, allocations: 2.206 MB / 0.7959 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00431/1.259, allocations: 2.123 MB / 0.798 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.259, allocations: 1.438 kB / 0.798 GB, free: 115.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.04579/1.305, allocations: 14.57 MB / 0.8122 GB, free: 114.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/1.305, allocations: 119.5 kB / 0.8123 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/1.305, allocations: 9.75 kB / 0.8124 GB, free: 114.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0193/1.325, allocations: 6.558 MB / 0.8188 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002426/1.327, allocations: 411.9 kB / 0.8192 GB, free: 114.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05952/1.387, allocations: 27.83 MB / 0.8463 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004246/1.391, allocations: 0.5414 MB / 0.8469 GB, free: 106.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.391, allocations: 94.41 kB / 0.847 GB, free: 106.6 MB / 0.5573 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.001339/1.393, allocations: 0.5098 MB / 0.8475 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000583/1.393, allocations: 303.4 kB / 0.8477 GB, free: 106.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04019/1.433, allocations: 14.78 MB / 0.8622 GB, free: 97.62 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/1.434, allocations: 24 kB / 0.8622 GB, free: 97.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.763e-05/1.434, allocations: 20 kB / 0.8622 GB, free: 97.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/1.434, allocations: 11.58 kB / 0.8622 GB, free: 97.58 MB / 0.5573 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.04427/1.478, allocations: 18.37 MB / 0.8802 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.478, allocations: 0 / 0.8802 GB, free: 83.48 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/1.48, allocations: 258.9 kB / 0.8804 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01708/1.497, allocations: 6.217 MB / 0.8865 GB, free: 78.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006527/1.497, allocations: 55.61 kB / 0.8865 GB, free: 78.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05231/1.55, allocations: 26.9 MB / 0.9128 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.55, allocations: 0 / 0.9128 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04303/1.593, allocations: 17.39 MB / 0.9298 GB, free: 35.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.594, allocations: 417.8 kB / 0.9302 GB, free: 35.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004951/1.594, allocations: 50.75 kB / 0.9303 GB, free: 35.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002832/1.597, allocations: 415.6 kB / 0.9306 GB, free: 35.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001898/1.599, allocations: 0.5761 MB / 0.9312 GB, free: 34.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.599, allocations: 67.98 kB / 0.9313 GB, free: 34.42 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001976/1.601, allocations: 1.523 MB / 0.9328 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.601, allocations: 0 / 0.9328 GB, free: 32.89 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002738/1.604, allocations: 1.133 MB / 0.9339 GB, free: 31.77 MB / 0.5573 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.04354/1.648, allocations: 18.17 MB / 0.9516 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01774/1.665, allocations: 7.233 MB / 0.9587 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.902e-06/1.665, allocations: 0 / 0.9587 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/1.678, allocations: 5.095 MB / 0.9636 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/1.68, allocations: 227.9 kB / 0.9639 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/1.694, allocations: 12.17 MB / 0.9758 GB, free: 4.316 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/1.696, allocations: 1.88 MB / 0.9776 GB, free: 2.406 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001154/1.697, allocations: 218.9 kB / 0.9778 GB, free: 2.195 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.699, allocations: 1.214 MB / 0.979 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of SimCode: time 9.32e-07/1.699, allocations: 0 / 0.979 GB, free: 0.9805 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3437/2.042, allocations: 78.9 MB / 1.056 GB, free: 134.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/2.042, allocations: 221.9 kB / 1.056 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.93/6.973, allocations: 3.938 kB / 1.056 GB, free: 134.6 MB / 0.5886 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_ThreeArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1)