Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.008843/0.008843, allocations: 171.6 kB / 15.11 MB, free: 5.977 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.445/1.445, allocations: 223.2 MB / 239 MB, free: 1.816 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.0008747/0.0008747, allocations: 95.59 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4683/0.4683, allocations: 78.59 MB / 419.9 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003956, allocations: 12 kB / 499.9 MB, free: 2.871 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4017, allocations: 69.33 MB / 0.5559 GB, free: 38.64 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.5424, allocations: 102.2 MB / 0.6557 GB, free: 4.328 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.5428, allocations: 83.95 kB / 0.6557 GB, free: 4.246 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2602/0.803, allocations: 100.3 MB / 0.7537 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.344e-06/0.803, allocations: 0 / 0.7537 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004454/0.8035, allocations: 91.94 kB / 0.7538 GB, free: 15.19 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02125/0.8247, allocations: 6.566 MB / 0.7602 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.8248, allocations: 12.03 kB / 0.7602 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001515/0.8263, allocations: 492.8 kB / 0.7607 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01818/0.8445, allocations: 2.803 MB / 0.7634 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007509/0.8521, allocations: 2.309 MB / 0.7657 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001188/0.8533, allocations: 0.9963 MB / 0.7667 GB, free: 1.695 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/0.8551, allocations: 347.9 kB / 0.767 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2909/1.146, allocations: 4.929 MB / 0.7718 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/1.146, allocations: 0 / 0.7718 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004133/1.147, allocations: 141.4 kB / 0.772 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.792e-05/1.147, allocations: 84.34 kB / 0.772 GB, free: 89.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01217/1.159, allocations: 4.485 MB / 0.7764 GB, free: 89.64 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.03459/1.193, allocations: 18.57 MB / 0.7945 GB, free: 83.28 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/1.206, allocations: 5.675 MB / 0.8001 GB, free: 82.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/1.207, allocations: 70.91 kB / 0.8002 GB, free: 82.82 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008255/1.215, allocations: 3.423 MB / 0.8035 GB, free: 82.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 1.348e-05/1.215, allocations: 0 / 0.8035 GB, free: 82.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.3167/1.532, allocations: 79.48 MB / 0.8811 GB, free: 75.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.833e-05/1.532, allocations: 141.8 kB / 0.8813 GB, free: 75.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/1.537, allocations: 2.71 MB / 0.8839 GB, free: 74.04 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.538, allocations: 87.86 kB / 0.884 GB, free: 73.99 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.539, allocations: 1.998 MB / 0.8859 GB, free: 73.01 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001984/1.541, allocations: 1.3 MB / 0.8872 GB, free: 72.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/1.542, allocations: 76 kB / 0.8873 GB, free: 71.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.542, allocations: 443.9 kB / 0.8877 GB, free: 71.54 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/1.547, allocations: 2.661 MB / 0.8903 GB, free: 68.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005946/1.553, allocations: 3.24 MB / 0.8935 GB, free: 65.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/1.559, allocations: 2.904 MB / 0.8963 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/1.559, allocations: 4 kB / 0.8963 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05757/1.616, allocations: 20.17 MB / 0.916 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/1.617, allocations: 64.19 kB / 0.9161 GB, free: 42.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/1.617, allocations: 16 kB / 0.9161 GB, free: 42.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02727/1.644, allocations: 8.553 MB / 0.9244 GB, free: 33.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003245/1.647, allocations: 0.5557 MB / 0.925 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09787/1.745, allocations: 37.07 MB / 0.9612 GB, free: 12.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006648/1.752, allocations: 0.6996 MB / 0.9619 GB, free: 11.53 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.753, allocations: 141.9 kB / 0.962 GB, free: 11.39 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 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: 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 (331): * Single equations (assignments): 328 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002685/1.756, allocations: 0.6506 MB / 0.9626 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.757, allocations: 454.4 kB / 0.9631 GB, free: 10.32 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06358/1.821, allocations: 20.55 MB / 0.9831 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/1.821, allocations: 40 kB / 0.9832 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.148e-05/1.821, allocations: 31.28 kB / 0.9832 GB, free: 5.637 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001127/1.821, allocations: 19.92 kB / 0.9832 GB, free: 5.617 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.3801/2.201, allocations: 25.5 MB / 1.008 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/2.201, allocations: 0 / 1.008 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/2.204, allocations: 389.3 kB / 1.008 GB, free: 104.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02967/2.234, allocations: 8.617 MB / 1.017 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00158/2.235, allocations: 70.91 kB / 1.017 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.108/2.343, allocations: 34.35 MB / 1.051 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/2.343, allocations: 0 / 1.051 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0715/2.415, allocations: 24.21 MB / 1.074 GB, free: 98.18 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/2.417, allocations: 0.5542 MB / 1.075 GB, free: 97.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002465/2.42, allocations: 67.47 kB / 1.075 GB, free: 97.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00629/2.426, allocations: 495.3 kB / 1.075 GB, free: 97.69 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004555/2.431, allocations: 0.7767 MB / 1.076 GB, free: 97.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001087/2.432, allocations: 95.19 kB / 1.076 GB, free: 97.55 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004896/2.437, allocations: 2.068 MB / 1.078 GB, free: 96.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.71e-07/2.437, allocations: 3.594 kB / 1.078 GB, free: 96.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00947/2.446, allocations: 1.752 MB / 1.08 GB, free: 96.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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.06837/2.515, allocations: 24.95 MB / 1.104 GB, free: 86.23 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02682/2.541, allocations: 9.954 MB / 1.114 GB, free: 77.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/2.541, allocations: 4 kB / 1.114 GB, free: 77.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0203/2.562, allocations: 7.04 MB / 1.121 GB, free: 71.67 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003808/2.566, allocations: 306.3 kB / 1.121 GB, free: 71.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02391/2.59, allocations: 20.98 MB / 1.142 GB, free: 50.92 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/2.592, allocations: 2.538 MB / 1.144 GB, free: 49.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002065/2.594, allocations: 297.9 kB / 1.144 GB, free: 48.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002436/2.597, allocations: 1.936 MB / 1.146 GB, free: 47.03 MB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/2.597, allocations: 0 / 1.146 GB, free: 47.03 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.433/3.03, allocations: 112 MB / 1.256 GB, free: 121.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/3.03, allocations: 217.7 kB / 1.256 GB, free: 121.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/9.535, allocations: 0 / 1.256 GB, free: 121.3 MB / 0.6042 GB (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)