Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_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.006713/0.006713, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.468/1.468, 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.00106/0.00106, allocations: 92.36 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.453/0.453, allocations: 78.52 MB / 419.8 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 8 kB / 499.8 MB, free: 7.004 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1321, allocations: 69.36 MB / 0.5558 GB, free: 1.656 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.5068, allocations: 102.8 MB / 0.6562 GB, free: 15.01 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5071, allocations: 83.84 kB / 0.6563 GB, free: 14.96 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.26/0.7671, allocations: 101.7 MB / 0.7556 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.454e-06/0.7672, allocations: 0 / 0.7556 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003363/0.7675, allocations: 84 kB / 0.7557 GB, free: 9.348 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.02187/0.7894, allocations: 6.645 MB / 0.7622 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.7895, allocations: 8.031 kB / 0.7622 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001823/0.7913, allocations: 496.9 kB / 0.7627 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/0.8091, allocations: 2.803 MB / 0.7654 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006245/0.8154, allocations: 2.311 MB / 0.7677 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/0.8165, allocations: 0.9886 MB / 0.7687 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001426/0.8179, allocations: 347.9 kB / 0.769 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.8302, allocations: 4.954 MB / 0.7738 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.32e-05/0.8303, allocations: 0 / 0.7738 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.8307, allocations: 140 kB / 0.774 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-05/0.8308, allocations: 84 kB / 0.774 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.8413, allocations: 4.502 MB / 0.7784 GB, free: 1.734 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 preOpt removeSimpleEquations (simulation): time 0.3583/1.2, allocations: 18.68 MB / 0.7967 GB, free: 94.24 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01442/1.214, allocations: 5.707 MB / 0.8023 GB, free: 93.8 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/1.215, allocations: 68.3 kB / 0.8023 GB, free: 93.79 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008662/1.224, allocations: 3.443 MB / 0.8057 GB, free: 93.65 MB / 0.573 GB Notification: Performance of pre-optimization done (n=385): time 1.293e-05/1.224, allocations: 0 / 0.8057 GB, free: 93.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=385): time 0.3031/1.527, allocations: 78.05 MB / 0.8819 GB, free: 90 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/1.527, allocations: 149.1 kB / 0.882 GB, free: 89.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004413/1.531, allocations: 2.757 MB / 0.8847 GB, free: 89.61 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.532, allocations: 84.33 kB / 0.8848 GB, free: 89.57 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001284/1.534, allocations: 2 MB / 0.8868 GB, free: 89.18 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001822/1.535, allocations: 1.317 MB / 0.8881 GB, free: 88.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/1.536, allocations: 71.94 kB / 0.8881 GB, free: 88.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.536, allocations: 448.5 kB / 0.8885 GB, free: 88.19 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005098/1.541, allocations: 2.674 MB / 0.8912 GB, free: 88.14 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005343/1.546, allocations: 3.256 MB / 0.8943 GB, free: 87.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00542/1.552, allocations: 2.931 MB / 0.8972 GB, free: 87.36 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/1.552, allocations: 7.719 kB / 0.8972 GB, free: 87.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05568/1.608, allocations: 20.27 MB / 0.917 GB, free: 80.03 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 7.808e-05/1.608, allocations: 66.83 kB / 0.9171 GB, free: 79.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/1.608, allocations: 16 kB / 0.9171 GB, free: 79.94 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02666/1.634, allocations: 8.642 MB / 0.9255 GB, free: 73.89 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/1.638, allocations: 0.5561 MB / 0.9261 GB, free: 73.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0827/1.72, allocations: 38.45 MB / 0.9636 GB, free: 36.73 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006782/1.727, allocations: 0.705 MB / 0.9643 GB, free: 36.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007574/1.728, allocations: 138.9 kB / 0.9644 GB, free: 35.96 MB / 0.573 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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: 65 * 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 (334): * Single equations (assignments): 330 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.00243/1.73, allocations: 0.6486 MB / 0.9651 GB, free: 35.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/1.732, allocations: 462.3 kB / 0.9655 GB, free: 34.89 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05402/1.786, allocations: 20.6 MB / 0.9856 GB, free: 14.35 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.701e-05/1.786, allocations: 41.03 kB / 0.9857 GB, free: 14.31 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-05/1.786, allocations: 28.98 kB / 0.9857 GB, free: 14.28 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/1.786, allocations: 19.92 kB / 0.9857 GB, free: 14.26 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.06736/1.854, allocations: 25.59 MB / 1.011 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/1.854, allocations: 0 / 1.011 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002939/1.857, allocations: 393.5 kB / 1.011 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3559/2.213, allocations: 8.611 MB / 1.019 GB, free: 97.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/2.214, allocations: 70.09 kB / 1.02 GB, free: 97.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08481/2.298, allocations: 34.36 MB / 1.053 GB, free: 94.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.299, allocations: 3 kB / 1.053 GB, free: 94.58 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06999/2.369, allocations: 24.27 MB / 1.077 GB, free: 93.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/2.371, allocations: 0.5698 MB / 1.077 GB, free: 93.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002141/2.373, allocations: 62.62 kB / 1.077 GB, free: 93.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005561/2.379, allocations: 0.4917 MB / 1.078 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003798/2.382, allocations: 0.7807 MB / 1.079 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004771/2.383, allocations: 99.14 kB / 1.079 GB, free: 93.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003653/2.387, allocations: 2.107 MB / 1.081 GB, free: 93.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.21e-07/2.387, allocations: 3.562 kB / 1.081 GB, free: 93.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006317/2.393, allocations: 1.772 MB / 1.083 GB, free: 93.16 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,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 (249): * Single equations (assignments): 246 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.07195/2.465, allocations: 25.01 MB / 1.107 GB, free: 88.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0261/2.491, allocations: 10.12 MB / 1.117 GB, free: 85.46 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/2.491, allocations: 4.25 kB / 1.117 GB, free: 85.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0197/2.511, allocations: 7.059 MB / 1.124 GB, free: 83.28 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/2.514, allocations: 306.2 kB / 1.124 GB, free: 83.08 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/2.535, allocations: 21.28 MB / 1.145 GB, free: 65.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001889/2.536, allocations: 2.553 MB / 1.147 GB, free: 63.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001769/2.538, allocations: 296.9 kB / 1.148 GB, free: 63.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00224/2.541, allocations: 1.943 MB / 1.15 GB, free: 61.94 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/2.541, allocations: 0 / 1.15 GB, free: 61.94 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/3.052, allocations: 113.1 MB / 1.26 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/3.053, allocations: 209 kB / 1.26 GB, free: 112 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/10.25, allocations: 0 / 1.26 GB, free: 112 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)