Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.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.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_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.006785/0.006785, allocations: 170 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.336/1.336, allocations: 223.2 MB / 239 MB, free: 1.793 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.0009122/0.0009121, allocations: 105.3 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4698/0.4698, allocations: 79.44 MB / 420.7 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8 kB / 0.4891 GB, free: 1.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4928/0.4932, allocations: 69.49 MB / 0.557 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.6358, allocations: 101.7 MB / 0.6564 GB, free: 3.797 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.6362, allocations: 83.95 kB / 0.6564 GB, free: 3.715 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2562/0.8924, allocations: 100.8 MB / 0.7549 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.308e-06/0.8924, allocations: 0 / 0.7549 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003635/0.8928, allocations: 87.94 kB / 0.7549 GB, free: 14.2 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: 889 * Number of variables: 889 Notification: Performance of Generate backend data structure: time 0.0236/0.9164, allocations: 6.577 MB / 0.7614 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9165, allocations: 8.031 kB / 0.7614 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002071/0.9186, allocations: 488.7 kB / 0.7618 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01829/0.9369, allocations: 2.807 MB / 0.7646 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007181/0.9441, allocations: 2.302 MB / 0.7668 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.9453, allocations: 0.9595 MB / 0.7678 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001663/0.9469, allocations: 339.9 kB / 0.7681 GB, free: 436 kB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3862/1.333, allocations: 4.931 MB / 0.7729 GB, free: 89.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.974e-05/1.333, allocations: 4.625 kB / 0.7729 GB, free: 89.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004497/1.334, allocations: 143.9 kB / 0.7731 GB, free: 89.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.873e-05/1.334, allocations: 84.19 kB / 0.7731 GB, free: 89.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/1.346, allocations: 4.511 MB / 0.7775 GB, free: 89.68 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.04285/1.389, allocations: 18.62 MB / 0.7957 GB, free: 83.25 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/1.403, allocations: 5.652 MB / 0.8012 GB, free: 82.82 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/1.404, allocations: 65.44 kB / 0.8013 GB, free: 82.81 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.774e-05/1.404, allocations: 71 kB / 0.8014 GB, free: 82.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=379): time 1.011e-05/1.404, allocations: 5.656 kB / 0.8014 GB, free: 82.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=379): time 0.2992/1.703, allocations: 76.59 MB / 0.8762 GB, free: 78.29 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/1.703, allocations: 175.5 kB / 0.8763 GB, free: 78.08 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/1.707, allocations: 2.713 MB / 0.879 GB, free: 76.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/1.709, allocations: 85.58 kB / 0.8791 GB, free: 76.42 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.71, allocations: 1.986 MB / 0.881 GB, free: 75.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.712, allocations: 1.287 MB / 0.8823 GB, free: 74.88 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/1.712, allocations: 72 kB / 0.8823 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.712, allocations: 443.4 kB / 0.8828 GB, free: 74.41 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/1.717, allocations: 2.652 MB / 0.8853 GB, free: 72.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/1.722, allocations: 3.231 MB / 0.8885 GB, free: 69.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/1.729, allocations: 2.895 MB / 0.8913 GB, free: 66.33 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.052e-05/1.729, allocations: 4 kB / 0.8913 GB, free: 66.32 MB / 0.5573 GB Notification: Performance of matching and sorting (n=456) (initialization): time 0.07482/1.804, allocations: 20.1 MB / 0.911 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001261/1.805, allocations: 6.685 MB / 0.9175 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/1.805, allocations: 12 kB / 0.9175 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03399/1.839, allocations: 8.5 MB / 0.9258 GB, free: 31.36 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003828/1.843, allocations: 0.5403 MB / 0.9263 GB, free: 30.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1163/1.96, allocations: 36.87 MB / 0.9623 GB, free: 9.891 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008671/1.968, allocations: 0.7096 MB / 0.963 GB, free: 9.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.97, allocations: 138.4 kB / 0.9632 GB, free: 9.047 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.97, allocations: 4 kB / 0.9632 GB, free: 9.043 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06213/2.032, allocations: 19.66 MB / 0.9824 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.201e-05/2.032, allocations: 19.67 kB / 0.9824 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4199/2.452, allocations: 8.496 MB / 0.9907 GB, free: 96.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003491/2.456, allocations: 0.5325 MB / 0.9912 GB, free: 96.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09134/2.547, allocations: 36.85 MB / 1.027 GB, free: 95.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007037/2.554, allocations: 0.6785 MB / 1.028 GB, free: 95.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/2.555, allocations: 131.8 kB / 1.028 GB, free: 95.16 MB / 0.5886 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_1.delta:VARIABLE(start = order3_1.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 (320): * Single equations (assignments): 317 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.00279/2.558, allocations: 0.7231 MB / 1.029 GB, free: 94.94 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/2.56, allocations: 453.5 kB / 1.029 GB, free: 94.71 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06137/2.621, allocations: 20.43 MB / 1.049 GB, free: 94.37 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.679e-05/2.621, allocations: 39.94 kB / 1.049 GB, free: 94.37 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.924e-05/2.621, allocations: 31.38 kB / 1.049 GB, free: 94.37 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001438/2.621, allocations: 19.83 kB / 1.049 GB, free: 94.37 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.06856/2.69, allocations: 25.68 MB / 1.074 GB, free: 89.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/2.69, allocations: 0 / 1.074 GB, free: 89.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/2.693, allocations: 403.5 kB / 1.075 GB, free: 89.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02592/2.719, allocations: 8.545 MB / 1.083 GB, free: 87.63 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/2.72, allocations: 74.56 kB / 1.083 GB, free: 87.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07537/2.795, allocations: 32.26 MB / 1.115 GB, free: 71.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.795, allocations: 0 / 1.115 GB, free: 71.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06464/2.86, allocations: 24.06 MB / 1.138 GB, free: 52.56 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002501/2.863, allocations: 0.5571 MB / 1.139 GB, free: 52.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002426/2.865, allocations: 64 kB / 1.139 GB, free: 52.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00527/2.87, allocations: 0.4995 MB / 1.139 GB, free: 51.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003346/2.874, allocations: 0.7592 MB / 1.14 GB, free: 51.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004747/2.874, allocations: 91.84 kB / 1.14 GB, free: 51.12 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003302/2.877, allocations: 2.073 MB / 1.142 GB, free: 49.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/2.877, allocations: 4 kB / 1.142 GB, free: 49.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0102/2.888, allocations: 2.868 MB / 1.145 GB, free: 46.65 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (249): * Single equations (assignments): 247 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06123/2.949, allocations: 24.79 MB / 1.169 GB, free: 26.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04709/2.996, allocations: 16.91 MB / 1.186 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/2.996, allocations: 0 / 1.186 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02077/3.017, allocations: 6.906 MB / 1.192 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/3.021, allocations: 313.7 kB / 1.193 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02903/3.05, allocations: 21.42 MB / 1.213 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/3.053, allocations: 2.581 MB / 1.216 GB, free: 76 kB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003286/3.056, allocations: 442.2 kB / 1.216 GB, free: 0 / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3506/3.407, allocations: 2.398 MB / 1.219 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.122e-06/3.407, allocations: 0.75 kB / 1.219 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2325/3.639, allocations: 139.5 MB / 1.355 GB, free: 77.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/3.639, allocations: 209.1 kB / 1.355 GB, free: 77.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/11.25, allocations: 4 kB / 1.355 GB, free: 77.47 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_ThirdOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRI.pipe 2>&1)