Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_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.009803/0.009803, allocations: 172 kB / 15.11 MB, free: 5.969 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.577/1.577, allocations: 223.2 MB / 239 MB, free: 64 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.0008863/0.0008861, allocations: 101.9 kB / 290.2 MB, free: 4.527 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.49/0.49, allocations: 78.59 MB / 419.9 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003559, allocations: 8 kB / 499.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1322, allocations: 69.36 MB / 0.5559 GB, free: 1.758 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4059/0.5381, allocations: 99.47 MB / 0.653 GB, free: 2.754 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5384, allocations: 88.34 kB / 0.6531 GB, free: 2.707 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08503/0.6234, allocations: 32.65 MB / 0.685 GB, free: 2.559 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.6235, allocations: 0 / 0.685 GB, free: 2.559 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.82e-05/0.6235, allocations: 28 kB / 0.685 GB, free: 2.531 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005319/0.6289, allocations: 2.09 MB / 0.6871 GB, free: 388 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.6289, allocations: 8.031 kB / 0.6871 GB, free: 380 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.6292, allocations: 136.4 kB / 0.6872 GB, free: 236 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/0.6326, allocations: 0.5641 MB / 0.6877 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001583/0.6342, allocations: 0.833 MB / 0.6886 GB, free: 14.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003026/0.6345, allocations: 268.2 kB / 0.6888 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.6346, allocations: 72 kB / 0.6889 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.6368, allocations: 1.165 MB / 0.69 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.6368, allocations: 0 / 0.69 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.6369, allocations: 32 kB / 0.69 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.6369, allocations: 20 kB / 0.6901 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.639, allocations: 1.058 MB / 0.6911 GB, free: 12.12 MB / 490.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.006349/0.6454, allocations: 3.901 MB / 0.6949 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007894/0.6533, allocations: 2.935 MB / 0.6978 GB, free: 5.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.6534, allocations: 12.98 kB / 0.6978 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/0.6552, allocations: 0.892 MB / 0.6987 GB, free: 4.094 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.757e-06/0.6552, allocations: 1.969 kB / 0.6987 GB, free: 4.094 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.02828/0.6835, allocations: 8.15 MB / 0.7066 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.6836, allocations: 119.8 kB / 0.7067 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6852, allocations: 0.9695 MB / 0.7077 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001558/0.6853, allocations: 45.7 kB / 0.7077 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.6857, allocations: 0.5132 MB / 0.7082 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.6861, allocations: 350.9 kB / 0.7086 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.6862, allocations: 20 kB / 0.7086 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6863, allocations: 345.9 kB / 0.7089 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.6876, allocations: 0.6662 MB / 0.7096 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.689, allocations: 0.7978 MB / 0.7103 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001443/0.6905, allocations: 0.7657 MB / 0.7111 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.6905, allocations: 4 kB / 0.7111 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01408/0.7046, allocations: 4.775 MB / 0.7158 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.335e-05/0.7047, allocations: 59.41 kB / 0.7158 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7047, allocations: 4 kB / 0.7158 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007053/0.7118, allocations: 2.003 MB / 0.7178 GB, free: 308 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.7129, allocations: 179.8 kB / 0.7179 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/0.7359, allocations: 10.82 MB / 0.7285 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.7378, allocations: 207 kB / 0.7287 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.738, allocations: 39.98 kB / 0.7287 GB, free: 4.793 MB / 0.5105 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * 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: 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 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006932/0.7387, allocations: 277.2 kB / 0.729 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.7389, allocations: 138.3 kB / 0.7291 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01402/0.753, allocations: 4.764 MB / 0.7338 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.711e-05/0.753, allocations: 12 kB / 0.7338 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.7531, allocations: 7.984 kB / 0.7338 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/0.7531, allocations: 3.984 kB / 0.7338 GB, free: 15.56 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 postOpt removeSimpleEquations (simulation): time 0.01686/0.77, allocations: 6.379 MB / 0.74 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/0.77, allocations: 3.984 kB / 0.74 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/0.7709, allocations: 103.8 kB / 0.7401 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006114/0.777, allocations: 1.885 MB / 0.742 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002607/0.7773, allocations: 27.98 kB / 0.742 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/0.7991, allocations: 10.12 MB / 0.7519 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7992, allocations: 3.984 kB / 0.7519 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01615/0.8153, allocations: 5.725 MB / 0.7575 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006114/0.816, allocations: 239.1 kB / 0.7577 GB, free: 6.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/0.8162, allocations: 23.98 kB / 0.7577 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8175, allocations: 139.9 kB / 0.7579 GB, free: 6.465 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/0.8182, allocations: 200.7 kB / 0.7581 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.8183, allocations: 27.98 kB / 0.7581 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00123/0.8195, allocations: 0.7595 MB / 0.7588 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8195, allocations: 0 / 0.7588 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001437/0.821, allocations: 451.5 kB / 0.7593 GB, free: 5.035 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01627/0.8373, allocations: 6.394 MB / 0.7655 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00698/0.8443, allocations: 2.658 MB / 0.7681 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8443, allocations: 0 / 0.7681 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004818/0.8492, allocations: 1.84 MB / 0.7699 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.8504, allocations: 113.2 kB / 0.77 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/0.8571, allocations: 5.325 MB / 0.7752 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007859/0.8579, allocations: 1.163 MB / 0.7763 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004959/0.8584, allocations: 98.88 kB / 0.7764 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007049/0.8591, allocations: 487.3 kB / 0.7769 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of SimCode: time 9.11e-07/0.8591, allocations: 0 / 0.7769 GB, free: 2.707 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3178/1.177, allocations: 31.64 MB / 0.8078 GB, free: 151.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.177, allocations: 219.2 kB / 0.808 GB, free: 151.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.429, allocations: 0 / 0.808 GB, free: 151.5 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoAreaOld_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)