Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,fileNamePrefix="OpenIPSL_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.006899/0.006899, 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.347/1.347, allocations: 223.2 MB / 239 MB, free: 84 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.0008518/0.0008517, allocations: 97.45 kB / 290.2 MB, free: 4.547 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4891/0.4891, allocations: 78.51 MB / 419.8 MB, free: 36.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004204, allocations: 12 kB / 499.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 69.36 MB / 0.5558 GB, free: 1.652 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.5063, allocations: 102.2 MB / 0.6556 GB, free: 28 kB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.5066, allocations: 78.77 kB / 0.6557 GB, free: 15.99 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2548/0.7614, allocations: 100.3 MB / 0.7537 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7614, allocations: 0 / 0.7537 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004785/0.7619, allocations: 91.88 kB / 0.7538 GB, free: 11.5 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02184/0.7838, allocations: 6.566 MB / 0.7602 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.7839, allocations: 8.031 kB / 0.7602 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001721/0.7856, allocations: 484.8 kB / 0.7606 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01701/0.8026, allocations: 2.807 MB / 0.7634 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005775/0.8084, allocations: 2.317 MB / 0.7656 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009368/0.8094, allocations: 0.9885 MB / 0.7666 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.8106, allocations: 352 kB / 0.7669 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.8208, allocations: 4.93 MB / 0.7718 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.8209, allocations: 0 / 0.7718 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003904/0.8213, allocations: 144 kB / 0.7719 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.8213, allocations: 84 kB / 0.772 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009259/0.8306, allocations: 4.486 MB / 0.7764 GB, free: 3.996 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.03601/0.8666, allocations: 18.57 MB / 0.7945 GB, free: 248 kB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3065/1.173, allocations: 5.666 MB / 0.8 GB, free: 97.55 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008045/1.174, allocations: 70.95 kB / 0.8001 GB, free: 97.55 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008247/1.182, allocations: 3.418 MB / 0.8034 GB, free: 97.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=383): time 1.206e-05/1.182, allocations: 5.281 kB / 0.8034 GB, free: 97.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=383): time 0.3104/1.493, allocations: 79.48 MB / 0.8811 GB, free: 93.67 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.452e-05/1.493, allocations: 151.6 kB / 0.8812 GB, free: 93.54 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005465/1.498, allocations: 2.7 MB / 0.8838 GB, free: 93.27 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.499, allocations: 87.7 kB / 0.8839 GB, free: 93.24 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001513/1.501, allocations: 2.003 MB / 0.8859 GB, free: 92.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002117/1.503, allocations: 1.297 MB / 0.8871 GB, free: 92.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009311/1.504, allocations: 71.59 kB / 0.8872 GB, free: 92.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002992/1.504, allocations: 449.4 kB / 0.8876 GB, free: 91.89 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005572/1.51, allocations: 2.655 MB / 0.8902 GB, free: 91.84 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005782/1.516, allocations: 3.236 MB / 0.8934 GB, free: 91.23 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005684/1.521, allocations: 2.914 MB / 0.8962 GB, free: 91.04 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/1.521, allocations: 3.969 kB / 0.8962 GB, free: 91.04 MB / 0.573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.05583/1.577, allocations: 20.18 MB / 0.9159 GB, free: 82.39 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-05/1.577, allocations: 66.83 kB / 0.916 GB, free: 82.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.814e-05/1.577, allocations: 17.12 kB / 0.916 GB, free: 82.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02625/1.604, allocations: 8.553 MB / 0.9244 GB, free: 76.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/1.607, allocations: 0.5603 MB / 0.9249 GB, free: 75.55 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08847/1.695, allocations: 37.05 MB / 0.9611 GB, free: 40.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006337/1.702, allocations: 0.705 MB / 0.9618 GB, free: 39.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.703, allocations: 129.8 kB / 0.9619 GB, free: 39.54 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.002815/1.706, allocations: 0.657 MB / 0.9626 GB, free: 38.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.707, allocations: 462.2 kB / 0.963 GB, free: 38.46 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05296/1.76, allocations: 20.56 MB / 0.9831 GB, free: 17.96 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/1.76, allocations: 36 kB / 0.9831 GB, free: 17.92 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/1.76, allocations: 28 kB / 0.9831 GB, free: 17.89 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/1.76, allocations: 19.94 kB / 0.9832 GB, free: 17.88 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.06043/1.821, allocations: 25.5 MB / 1.008 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.821, allocations: 5.625 kB / 1.008 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/1.823, allocations: 392.9 kB / 1.008 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3343/2.158, allocations: 8.611 MB / 1.017 GB, free: 98.31 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00113/2.159, allocations: 74.55 kB / 1.017 GB, free: 98.31 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08209/2.241, allocations: 34.34 MB / 1.05 GB, free: 95.42 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/2.241, allocations: 8.953 kB / 1.05 GB, free: 95.42 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06793/2.309, allocations: 24.2 MB / 1.074 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/2.311, allocations: 0.5543 MB / 1.075 GB, free: 94.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/2.312, allocations: 68.78 kB / 1.075 GB, free: 94.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00507/2.318, allocations: 0.4897 MB / 1.075 GB, free: 94.35 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003951/2.321, allocations: 0.7768 MB / 1.076 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006513/2.322, allocations: 98.14 kB / 1.076 GB, free: 94.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003518/2.326, allocations: 2.066 MB / 1.078 GB, free: 94.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.5e-07/2.326, allocations: 0 / 1.078 GB, free: 94.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006543/2.332, allocations: 1.755 MB / 1.08 GB, free: 94.1 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.06502/2.397, allocations: 24.95 MB / 1.104 GB, free: 89.39 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02605/2.423, allocations: 9.948 MB / 1.114 GB, free: 86.35 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.423, allocations: 0 / 1.114 GB, free: 86.35 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02169/2.445, allocations: 7.041 MB / 1.121 GB, free: 84.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004479/2.45, allocations: 301.7 kB / 1.121 GB, free: 83.98 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03676/2.486, allocations: 20.99 MB / 1.142 GB, free: 67.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00333/2.49, allocations: 2.536 MB / 1.144 GB, free: 66.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002273/2.492, allocations: 300.3 kB / 1.144 GB, free: 66.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002876/2.495, allocations: 1.938 MB / 1.146 GB, free: 64.64 MB / 0.5886 GB Notification: Performance of SimCode: time 1.012e-06/2.495, allocations: 0 / 1.146 GB, free: 64.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4511/2.946, allocations: 112 MB / 1.256 GB, free: 110.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/2.946, allocations: 221.7 kB / 1.256 GB, free: 110.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/9.847, allocations: 0 / 1.256 GB, free: 110.3 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)