Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_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.005383/0.005383, allocations: 170.5 kB / 15.11 MB, free: 5.969 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.265/1.265, allocations: 205.4 MB / 221.3 MB, free: 13.8 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.0008218/0.0008218, allocations: 86.88 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06631/0.06631, allocations: 12.2 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4055/0.4055, allocations: 78.51 MB / 459.5 MB, free: 3.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005159/0.000516, allocations: 21.12 kB / 0.528 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5629, allocations: 100.4 MB / 0.6937 GB, free: 35.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.5632, allocations: 82.88 kB / 0.6938 GB, free: 35.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08943/0.6527, allocations: 35.6 MB / 0.7286 GB, free: 32.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6527, allocations: 0 / 0.7286 GB, free: 32.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.527e-05/0.6528, allocations: 27.34 kB / 0.7286 GB, free: 32.14 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005251/0.6581, allocations: 2.001 MB / 0.7306 GB, free: 31.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.6581, allocations: 11.77 kB / 0.7306 GB, free: 31.18 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002493/0.6584, allocations: 128 kB / 0.7307 GB, free: 31.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003302/0.6617, allocations: 0.5721 MB / 0.7312 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.6632, allocations: 0.812 MB / 0.732 GB, free: 30.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.6635, allocations: 267 kB / 0.7323 GB, free: 30.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.6636, allocations: 76.97 kB / 0.7324 GB, free: 30.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.6655, allocations: 1.133 MB / 0.7335 GB, free: 30.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6655, allocations: 0 / 0.7335 GB, free: 30.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.6656, allocations: 38.14 kB / 0.7335 GB, free: 30.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.6656, allocations: 19.64 kB / 0.7335 GB, free: 30.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.6673, allocations: 1.044 MB / 0.7345 GB, free: 30.39 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.005488/0.6728, allocations: 3.791 MB / 0.7382 GB, free: 29.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007019/0.6798, allocations: 2.892 MB / 0.7411 GB, free: 28.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.68, allocations: 24.61 kB / 0.7411 GB, free: 28.65 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/0.6815, allocations: 0.8781 MB / 0.742 GB, free: 28.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=96): time 3.467e-06/0.6816, allocations: 0 / 0.742 GB, free: 28.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.02786/0.7094, allocations: 8.705 MB / 0.7505 GB, free: 25.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.7095, allocations: 111.7 kB / 0.7506 GB, free: 25.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.7111, allocations: 0.9151 MB / 0.7515 GB, free: 25.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002436/0.7113, allocations: 40.23 kB / 0.7515 GB, free: 25.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.7116, allocations: 0.5014 MB / 0.752 GB, free: 24.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.712, allocations: 341.8 kB / 0.7523 GB, free: 24.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.712, allocations: 22.28 kB / 0.7523 GB, free: 24.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.7121, allocations: 347.9 kB / 0.7527 GB, free: 24.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.7133, allocations: 0.643 MB / 0.7533 GB, free: 24.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/0.7145, allocations: 0.7804 MB / 0.7541 GB, free: 23.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.7157, allocations: 0.7464 MB / 0.7548 GB, free: 23.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7157, allocations: 0 / 0.7548 GB, free: 23.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.012/0.7277, allocations: 4.684 MB / 0.7594 GB, free: 22.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.7278, allocations: 66.86 kB / 0.7594 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.7278, allocations: 7.891 kB / 0.7594 GB, free: 22.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007665/0.7355, allocations: 1.896 MB / 0.7613 GB, free: 21.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.7371, allocations: 191.3 kB / 0.7615 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/0.7661, allocations: 9.431 MB / 0.7707 GB, free: 18.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.7684, allocations: 199 kB / 0.7709 GB, free: 18.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.7686, allocations: 39.17 kB / 0.7709 GB, free: 18.62 MB / 474.7 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008395/0.7694, allocations: 300.1 kB / 0.7712 GB, free: 18.44 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.7698, allocations: 129 kB / 0.7713 GB, free: 18.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/0.7867, allocations: 4.724 MB / 0.7759 GB, free: 16.97 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.7868, allocations: 15.31 kB / 0.7759 GB, free: 16.97 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.7868, allocations: 7.5 kB / 0.7759 GB, free: 16.97 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/0.7869, allocations: 3.984 kB / 0.7759 GB, free: 16.96 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 postOpt removeSimpleEquations (simulation): time 0.01642/0.8033, allocations: 6.284 MB / 0.7821 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.8033, allocations: 0 / 0.7821 GB, free: 12.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007879/0.8041, allocations: 99.45 kB / 0.7822 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005138/0.8093, allocations: 1.857 MB / 0.784 GB, free: 10.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.8095, allocations: 22.12 kB / 0.784 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.8267, allocations: 10.14 MB / 0.7939 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8267, allocations: 256 / 0.7939 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01441/0.8411, allocations: 5.65 MB / 0.7994 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006859/0.8419, allocations: 227.2 kB / 0.7997 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.8421, allocations: 27.95 kB / 0.7997 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.8433, allocations: 147.9 kB / 0.7998 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006447/0.8439, allocations: 192.8 kB / 0.8 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.844, allocations: 27.94 kB / 0.8 GB, free: 11.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001207/0.8452, allocations: 0.7274 MB / 0.8007 GB, free: 10.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8452, allocations: 0 / 0.8007 GB, free: 10.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001535/0.8468, allocations: 431.5 kB / 0.8012 GB, free: 10.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * 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 {(18,25.9%) 14} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.015/0.8618, allocations: 6.327 MB / 0.8073 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006065/0.8679, allocations: 2.476 MB / 0.8097 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.8679, allocations: 0.75 kB / 0.8097 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004228/0.8722, allocations: 1.789 MB / 0.8115 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00096/0.8732, allocations: 104.6 kB / 0.8116 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.8784, allocations: 5.088 MB / 0.8166 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.8791, allocations: 1.147 MB / 0.8177 GB, free: 9.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.8796, allocations: 98.75 kB / 0.8178 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/0.8802, allocations: 467.3 kB / 0.8182 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of SimCode: time 1.432e-06/0.8803, allocations: 0 / 0.8182 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05201/0.9323, allocations: 30.47 MB / 0.848 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.9325, allocations: 221.7 kB / 0.8482 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.889, allocations: 3.375 kB / 0.8482 GB, free: 10.07 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FourthOrder_AVRII.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)