Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_release_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.007411/0.007411, allocations: 171.8 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.353/1.353, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009602/0.0009603, allocations: 100.6 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.4742/0.4742, allocations: 78.6 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 8 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 69.34 MB / 0.5559 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1297/0.461, allocations: 102.8 MB / 0.6563 GB, free: 3.656 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.4614, allocations: 83.95 kB / 0.6564 GB, free: 3.574 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2621/0.7234, allocations: 101.7 MB / 0.7557 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7235, allocations: 0 / 0.7557 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000559/0.724, allocations: 87.94 kB / 0.7558 GB, free: 13.12 MB / 0.5573 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.02291/0.747, allocations: 6.648 MB / 0.7623 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.747, allocations: 8.031 kB / 0.7623 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001732/0.7488, allocations: 488.9 kB / 0.7628 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/0.7665, allocations: 2.81 MB / 0.7655 GB, free: 3.07 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/0.7723, allocations: 2.303 MB / 0.7677 GB, free: 0.6914 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2708/1.043, allocations: 0.9891 MB / 0.7687 GB, free: 90.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/1.045, allocations: 344.9 kB / 0.769 GB, free: 90.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/1.057, allocations: 4.955 MB / 0.7739 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/1.057, allocations: 0.8906 kB / 0.7739 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004397/1.058, allocations: 142.6 kB / 0.774 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.789e-05/1.058, allocations: 83.62 kB / 0.7741 GB, free: 90.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0101/1.068, allocations: 4.504 MB / 0.7785 GB, free: 90.38 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.03308/1.101, allocations: 18.68 MB / 0.7967 GB, free: 84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/1.113, allocations: 5.705 MB / 0.8023 GB, free: 83.56 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006182/1.114, allocations: 64.78 kB / 0.8024 GB, free: 83.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007169/1.121, allocations: 3.443 MB / 0.8057 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=385): time 6.663e-06/1.121, allocations: 3.344 kB / 0.8057 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=385): time 0.2927/1.414, allocations: 78.05 MB / 0.882 GB, free: 76.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/1.414, allocations: 153 kB / 0.8821 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/1.418, allocations: 2.754 MB / 0.8848 GB, free: 74.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007599/1.418, allocations: 87.67 kB / 0.8849 GB, free: 74.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.42, allocations: 2.004 MB / 0.8868 GB, free: 72.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001618/1.421, allocations: 1.305 MB / 0.8881 GB, free: 71.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.422, allocations: 72 kB / 0.8882 GB, free: 71.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.422, allocations: 451.5 kB / 0.8886 GB, free: 71.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/1.427, allocations: 2.676 MB / 0.8912 GB, free: 68.95 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005168/1.432, allocations: 3.258 MB / 0.8944 GB, free: 65.65 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/1.437, allocations: 2.925 MB / 0.8973 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.437, allocations: 4 kB / 0.8973 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=472) (initialization): time 0.05357/1.491, allocations: 20.28 MB / 0.9171 GB, free: 42.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-05/1.491, allocations: 67.39 kB / 0.9171 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.402e-05/1.491, allocations: 12 kB / 0.9171 GB, free: 42.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02627/1.517, allocations: 8.635 MB / 0.9256 GB, free: 33.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003091/1.52, allocations: 0.5622 MB / 0.9261 GB, free: 33.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08375/1.604, allocations: 38.45 MB / 0.9637 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007075/1.611, allocations: 0.7074 MB / 0.9644 GB, free: 9.945 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008979/1.612, allocations: 140.6 kB / 0.9645 GB, free: 9.809 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.002234/1.614, allocations: 0.6519 MB / 0.9651 GB, free: 9.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/1.615, allocations: 454.4 kB / 0.9656 GB, free: 8.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05914/1.675, allocations: 20.59 MB / 0.9857 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.269e-05/1.675, allocations: 38.95 kB / 0.9857 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.491e-05/1.675, allocations: 28 kB / 0.9857 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001303/1.675, allocations: 19.92 kB / 0.9858 GB, free: 3.988 MB / 0.5886 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.3292/2.004, allocations: 25.61 MB / 1.011 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/2.004, allocations: 0 / 1.011 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002465/2.007, allocations: 392.2 kB / 1.011 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02789/2.035, allocations: 8.605 MB / 1.02 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00115/2.036, allocations: 71.64 kB / 1.02 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08273/2.118, allocations: 34.36 MB / 1.053 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/2.118, allocations: 0 / 1.053 GB, free: 102 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06146/2.18, allocations: 24.28 MB / 1.077 GB, free: 97.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001586/2.182, allocations: 0.5612 MB / 1.077 GB, free: 97.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/2.183, allocations: 79.16 kB / 1.078 GB, free: 97.36 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004712/2.188, allocations: 496.4 kB / 1.078 GB, free: 97.29 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003145/2.191, allocations: 0.7754 MB / 1.079 GB, free: 97.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004044/2.191, allocations: 94.73 kB / 1.079 GB, free: 97.15 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003113/2.194, allocations: 2.114 MB / 1.081 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.31e-07/2.194, allocations: 0 / 1.081 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006484/2.201, allocations: 1.77 MB / 1.083 GB, free: 96.17 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.06265/2.263, allocations: 25.02 MB / 1.107 GB, free: 85.46 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02513/2.289, allocations: 10.12 MB / 1.117 GB, free: 76.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/2.289, allocations: 0 / 1.117 GB, free: 76.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01952/2.308, allocations: 7.061 MB / 1.124 GB, free: 70.72 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/2.311, allocations: 308.2 kB / 1.124 GB, free: 70.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02239/2.334, allocations: 21.27 MB / 1.145 GB, free: 49.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/2.336, allocations: 2.546 MB / 1.147 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00179/2.338, allocations: 296.5 kB / 1.148 GB, free: 47.58 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/2.34, allocations: 1.957 MB / 1.15 GB, free: 45.78 MB / 0.5886 GB Notification: Performance of SimCode: time 1.382e-06/2.34, allocations: 3.828 kB / 1.15 GB, free: 45.78 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4155/2.755, allocations: 113.1 MB / 1.26 GB, free: 118 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/2.755, allocations: 212.9 kB / 1.26 GB, free: 117.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/9.705, allocations: 0 / 1.26 GB, free: 117.7 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)