Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.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_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI",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.005548/0.005548, allocations: 172 kB / 15.11 MB, free: 5.98 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.326/1.326, allocations: 223.2 MB / 239 MB, free: 1.809 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.0009439/0.0009439, allocations: 91.34 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4598/0.4598, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004033, allocations: 12 kB / 499.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4066, allocations: 69.35 MB / 0.5558 GB, free: 38.51 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.541, allocations: 102.4 MB / 0.6558 GB, free: 3.812 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5413, allocations: 79.95 kB / 0.6559 GB, free: 3.734 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2516/0.7929, allocations: 100.4 MB / 0.7539 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.494e-06/0.793, allocations: 4 kB / 0.7539 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004244/0.7934, allocations: 87.94 kB / 0.754 GB, free: 14.63 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.02175/0.8152, allocations: 6.628 MB / 0.7605 GB, free: 7.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.8153, allocations: 12.03 kB / 0.7605 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001834/0.8171, allocations: 484.8 kB / 0.761 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.8344, allocations: 2.807 MB / 0.7637 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007641/0.8421, allocations: 2.337 MB / 0.766 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001085/0.8433, allocations: 0.9595 MB / 0.7669 GB, free: 1.094 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001706/0.845, allocations: 347.9 kB / 0.7673 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2915/1.136, allocations: 4.959 MB / 0.7721 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002784/1.137, allocations: 1.312 kB / 0.7721 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001766/1.139, allocations: 139.3 kB / 0.7722 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001487/1.139, allocations: 83.5 kB / 0.7723 GB, free: 89.09 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/1.152, allocations: 4.529 MB / 0.7767 GB, free: 89.05 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.04274/1.195, allocations: 18.73 MB / 0.795 GB, free: 82.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/1.209, allocations: 5.686 MB / 0.8006 GB, free: 82.18 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009863/1.21, allocations: 65.25 kB / 0.8007 GB, free: 82.17 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/1.21, allocations: 72.41 kB / 0.8007 GB, free: 82.13 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=382): time 1.079e-05/1.21, allocations: 0 / 0.8007 GB, free: 82.13 MB / 0.5573 GB Notification: Performance of matching and sorting (n=382): time 0.3074/1.518, allocations: 79 MB / 0.8779 GB, free: 76.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.518, allocations: 173.1 kB / 0.878 GB, free: 76.53 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006517/1.525, allocations: 2.748 MB / 0.8807 GB, free: 74.89 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00125/1.526, allocations: 86.45 kB / 0.8808 GB, free: 74.85 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001925/1.528, allocations: 2.008 MB / 0.8828 GB, free: 74.17 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002532/1.53, allocations: 1.3 MB / 0.884 GB, free: 73.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.531, allocations: 68.25 kB / 0.8841 GB, free: 73.32 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003392/1.532, allocations: 445.2 kB / 0.8845 GB, free: 72.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005913/1.538, allocations: 2.669 MB / 0.8871 GB, free: 71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/1.544, allocations: 3.259 MB / 0.8903 GB, free: 67.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006439/1.55, allocations: 2.922 MB / 0.8932 GB, free: 65.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.35e-05/1.55, allocations: 4 kB / 0.8932 GB, free: 65.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=462) (initialization): time 0.05819/1.609, allocations: 20.21 MB / 0.9129 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001465/1.61, allocations: 6.694 MB / 0.9194 GB, free: 37.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.206e-05/1.61, allocations: 16 kB / 0.9194 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0262/1.636, allocations: 8.578 MB / 0.9278 GB, free: 29.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/1.639, allocations: 0.5345 MB / 0.9283 GB, free: 28.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09374/1.733, allocations: 38.26 MB / 0.9657 GB, free: 6.355 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007912/1.741, allocations: 0.6918 MB / 0.9664 GB, free: 5.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001351/1.743, allocations: 132 kB / 0.9665 GB, free: 5.531 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.743, allocations: 4.781 kB / 0.9665 GB, free: 5.527 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0608/1.803, allocations: 19.77 MB / 0.9858 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-05/1.804, allocations: 16 kB / 0.9858 GB, free: 1.746 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3985/2.202, allocations: 8.58 MB / 0.9942 GB, free: 96.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/2.205, allocations: 0.5247 MB / 0.9947 GB, free: 96.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1007/2.306, allocations: 38.23 MB / 1.032 GB, free: 93.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006605/2.313, allocations: 0.6638 MB / 1.033 GB, free: 93.42 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/2.314, allocations: 131.7 kB / 1.033 GB, free: 93.42 MB / 0.5886 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 order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order6.delta:VARIABLE(start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 321 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.004073/2.318, allocations: 0.7262 MB / 1.034 GB, free: 93.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002351/2.32, allocations: 460.3 kB / 1.034 GB, free: 92.96 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05935/2.38, allocations: 20.47 MB / 1.054 GB, free: 92.62 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.083e-05/2.38, allocations: 38.78 kB / 1.054 GB, free: 92.62 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.18e-05/2.38, allocations: 32.75 kB / 1.054 GB, free: 92.62 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/2.38, allocations: 20.39 kB / 1.054 GB, free: 92.62 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.06412/2.444, allocations: 25.77 MB / 1.079 GB, free: 87.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.592e-05/2.444, allocations: 0 / 1.079 GB, free: 87.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/2.447, allocations: 415.3 kB / 1.08 GB, free: 87.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02463/2.472, allocations: 8.526 MB / 1.088 GB, free: 85.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000961/2.473, allocations: 73.86 kB / 1.088 GB, free: 85.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07155/2.544, allocations: 32.25 MB / 1.12 GB, free: 68.04 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/2.544, allocations: 0 / 1.12 GB, free: 68.04 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06221/2.606, allocations: 24.16 MB / 1.143 GB, free: 48.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/2.608, allocations: 0.5659 MB / 1.144 GB, free: 48.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001952/2.61, allocations: 64 kB / 1.144 GB, free: 48.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005618/2.616, allocations: 489.8 kB / 1.144 GB, free: 47.65 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003465/2.619, allocations: 0.7711 MB / 1.145 GB, free: 47.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007417/2.62, allocations: 95.78 kB / 1.145 GB, free: 47.14 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003415/2.623, allocations: 2.112 MB / 1.147 GB, free: 45.37 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.61e-07/2.623, allocations: 0 / 1.147 GB, free: 45.37 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01097/2.634, allocations: 2.888 MB / 1.15 GB, free: 42.61 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 250 * 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: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06106/2.696, allocations: 24.89 MB / 1.174 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04402/2.74, allocations: 17.24 MB / 1.191 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/2.74, allocations: 1.938 kB / 1.191 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01868/2.758, allocations: 6.918 MB / 1.198 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/2.762, allocations: 311.5 kB / 1.198 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3221/3.084, allocations: 21.62 MB / 1.219 GB, free: 109.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003255/3.087, allocations: 2.598 MB / 1.222 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002389/3.089, allocations: 360.6 kB / 1.222 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/3.092, allocations: 1.938 MB / 1.224 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.442e-06/3.092, allocations: 0 / 1.224 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2023/3.294, allocations: 140.7 MB / 1.361 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/3.294, allocations: 212.5 kB / 1.362 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.768/11.06, allocations: 3.938 kB / 1.362 GB, free: 64.21 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRI.pipe 2>&1)