Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_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.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_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.001067/0.001067, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.237/1.237, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008551, allocations: 90.41 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4677/0.4677, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.736e-05, allocations: 4 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3363, allocations: 69.35 MB / 0.548 GB, free: 20.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.4533, allocations: 99.19 MB / 0.6449 GB, free: 1.207 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4536, allocations: 79.95 kB / 0.645 GB, free: 1.129 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08316/0.5367, allocations: 32.16 MB / 0.6764 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5368, allocations: 4 kB / 0.6764 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.119e-05/0.5368, allocations: 20 kB / 0.6764 GB, free: 0.7344 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.2818/0.8186, allocations: 1.725 MB / 0.6781 GB, free: 103.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8187, allocations: 15.23 kB / 0.6781 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000294/0.819, allocations: 126.5 kB / 0.6782 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/0.8226, allocations: 0.5665 MB / 0.6788 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.824, allocations: 0.791 MB / 0.6796 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.8243, allocations: 262 kB / 0.6798 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/0.8244, allocations: 82 kB / 0.6799 GB, free: 103.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.8262, allocations: 0.9459 MB / 0.6808 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.8262, allocations: 3.562 kB / 0.6808 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.8263, allocations: 36.42 kB / 0.6809 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.8264, allocations: 17.72 kB / 0.6809 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.8279, allocations: 0.8461 MB / 0.6817 GB, free: 103 MB / 490.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.006373/0.8343, allocations: 3.858 MB / 0.6855 GB, free: 101.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007349/0.8416, allocations: 2.678 MB / 0.6881 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.8425, allocations: 0.5484 MB / 0.6886 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.8426, allocations: 19.97 kB / 0.6886 GB, free: 101.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009359/0.8436, allocations: 0.6897 MB / 0.6893 GB, free: 101.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 2.194e-06/0.8436, allocations: 0 / 0.6893 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01135/0.8549, allocations: 4.042 MB / 0.6933 GB, free: 101 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.855, allocations: 113.5 kB / 0.6934 GB, free: 100.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.8563, allocations: 0.9218 MB / 0.6943 GB, free: 100.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.8565, allocations: 41.55 kB / 0.6943 GB, free: 100.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.8568, allocations: 0.517 MB / 0.6948 GB, free: 100 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.857, allocations: 352.6 kB / 0.6951 GB, free: 99.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.8571, allocations: 19.75 kB / 0.6952 GB, free: 99.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.8572, allocations: 340.4 kB / 0.6955 GB, free: 99.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006967/0.8579, allocations: 470.3 kB / 0.6959 GB, free: 99.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007278/0.8586, allocations: 0.591 MB / 0.6965 GB, free: 98.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/0.8594, allocations: 0.5672 MB / 0.6971 GB, free: 98.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.8594, allocations: 0 / 0.6971 GB, free: 98.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.01106/0.8705, allocations: 4.115 MB / 0.7011 GB, free: 97.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.095e-05/0.8706, allocations: 72.22 kB / 0.7012 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.8706, allocations: 0 / 0.7012 GB, free: 97.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00499/0.8756, allocations: 1.542 MB / 0.7027 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.8767, allocations: 203.1 kB / 0.7029 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.8887, allocations: 6.728 MB / 0.7094 GB, free: 92.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.8905, allocations: 206.4 kB / 0.7096 GB, free: 92.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.8907, allocations: 35.66 kB / 0.7097 GB, free: 92.57 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start ) "Connector of Real output signal" type: Real order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" ) "q-axis sub-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 95 * 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 {21 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002849/0.891, allocations: 190.8 kB / 0.7098 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.8912, allocations: 137.5 kB / 0.71 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.9022, allocations: 4.176 MB / 0.714 GB, free: 88.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.9022, allocations: 11.94 kB / 0.7141 GB, free: 88.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.9022, allocations: 8 kB / 0.7141 GB, free: 88.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.912e-05/0.9023, allocations: 7.266 kB / 0.7141 GB, free: 88.97 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.01298/0.9153, allocations: 5.75 MB / 0.7197 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.9153, allocations: 0 / 0.7197 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.9159, allocations: 99.89 kB / 0.7198 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004395/0.9203, allocations: 1.5 MB / 0.7212 GB, free: 83.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.9205, allocations: 27.61 kB / 0.7213 GB, free: 83.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.9324, allocations: 7.699 MB / 0.7288 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9324, allocations: 3.953 kB / 0.7288 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/0.9445, allocations: 4.917 MB / 0.7336 GB, free: 71.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.945, allocations: 235.1 kB / 0.7338 GB, free: 70.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.9452, allocations: 20 kB / 0.7338 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.9464, allocations: 147.9 kB / 0.734 GB, free: 70.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005214/0.9469, allocations: 192.7 kB / 0.7342 GB, free: 70.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.947, allocations: 24 kB / 0.7342 GB, free: 70.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008145/0.9478, allocations: 0.7214 MB / 0.7349 GB, free: 69.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.9479, allocations: 0 / 0.7349 GB, free: 69.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001114/0.949, allocations: 448.5 kB / 0.7353 GB, free: 69.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order2.delta,order2.w,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 62 * 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 {(19,24.4%) 13} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01197/0.961, allocations: 5.602 MB / 0.7408 GB, free: 63.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004464/0.9655, allocations: 2.11 MB / 0.7429 GB, free: 61.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9655, allocations: 4 kB / 0.7429 GB, free: 61.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003484/0.969, allocations: 1.603 MB / 0.7444 GB, free: 60 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000866/0.9699, allocations: 97.91 kB / 0.7445 GB, free: 59.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.9733, allocations: 2.038 MB / 0.7465 GB, free: 57.85 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.9737, allocations: 1.162 MB / 0.7476 GB, free: 56.66 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003677/0.9741, allocations: 94.52 kB / 0.7477 GB, free: 56.56 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/0.9746, allocations: 475.3 kB / 0.7482 GB, free: 56.1 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.9746, allocations: 0 / 0.7482 GB, free: 56.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04275/1.017, allocations: 31.42 MB / 0.7789 GB, free: 25.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001216/1.017, allocations: 183.6 kB / 0.779 GB, free: 25.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.732, allocations: 112 / 0.779 GB, free: 25.01 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoAreaOld_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)