Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_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.007575/0.007575, allocations: 170.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.347/1.347, allocations: 223.2 MB / 239 MB, free: 1.785 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.0009199/0.0009199, allocations: 103.2 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4561/0.4561, allocations: 78.52 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 12 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4013, allocations: 69.35 MB / 0.5558 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.5329, allocations: 102.6 MB / 0.656 GB, free: 3.727 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5332, allocations: 83.95 kB / 0.6561 GB, free: 3.645 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2465/0.7797, allocations: 101.2 MB / 0.7549 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7797, allocations: 0 / 0.7549 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0002403/0.78, allocations: 87.94 kB / 0.755 GB, free: 13.7 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.02146/0.8015, allocations: 6.617 MB / 0.7615 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.8015, allocations: 8.031 kB / 0.7615 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001843/0.8034, allocations: 496.8 kB / 0.762 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/0.8208, allocations: 2.803 MB / 0.7647 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/0.8271, allocations: 2.296 MB / 0.767 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008897/0.8281, allocations: 0.9885 MB / 0.7679 GB, free: 184 kB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3222/1.15, allocations: 338.7 kB / 0.7682 GB, free: 91.23 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/1.162, allocations: 4.943 MB / 0.7731 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.016e-05/1.162, allocations: 6.312 kB / 0.7731 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004091/1.163, allocations: 141 kB / 0.7732 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.565e-05/1.163, allocations: 84.53 kB / 0.7733 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009325/1.172, allocations: 4.497 MB / 0.7777 GB, free: 91.02 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.0297/1.202, allocations: 18.64 MB / 0.7959 GB, free: 84.66 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.214, allocations: 5.683 MB / 0.8014 GB, free: 84.21 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/1.214, allocations: 66.7 kB / 0.8015 GB, free: 84.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007902/1.222, allocations: 3.432 MB / 0.8049 GB, free: 84.06 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=384): time 2.231e-05/1.222, allocations: 0 / 0.8049 GB, free: 84.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=384): time 0.283/1.505, allocations: 77 MB / 0.88 GB, free: 77.64 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/1.505, allocations: 149.8 kB / 0.8802 GB, free: 77.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005622/1.511, allocations: 2.738 MB / 0.8829 GB, free: 75.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001076/1.512, allocations: 99.78 kB / 0.883 GB, free: 75.75 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.514, allocations: 2.002 MB / 0.8849 GB, free: 74.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00211/1.516, allocations: 1.299 MB / 0.8862 GB, free: 73.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008783/1.517, allocations: 71.09 kB / 0.8862 GB, free: 73.03 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003086/1.517, allocations: 447.8 kB / 0.8867 GB, free: 72.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005634/1.523, allocations: 2.668 MB / 0.8893 GB, free: 70.29 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005783/1.529, allocations: 3.248 MB / 0.8925 GB, free: 67.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005764/1.534, allocations: 2.919 MB / 0.8953 GB, free: 64.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-05/1.534, allocations: 4 kB / 0.8953 GB, free: 64.46 MB / 0.5573 GB Notification: Performance of matching and sorting (n=470) (initialization): time 0.05541/1.59, allocations: 20.2 MB / 0.915 GB, free: 44.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.096e-05/1.59, allocations: 67.41 kB / 0.9151 GB, free: 44.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.851e-05/1.59, allocations: 12 kB / 0.9151 GB, free: 44.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02527/1.615, allocations: 8.557 MB / 0.9235 GB, free: 35.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/1.619, allocations: 0.5738 MB / 0.924 GB, free: 35.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08106/1.7, allocations: 37.05 MB / 0.9602 GB, free: 14.08 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/1.706, allocations: 0.7036 MB / 0.9609 GB, free: 13.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006051/1.706, allocations: 139.9 kB / 0.961 GB, free: 13.24 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order5.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 order5.e2d:VARIABLE(start = order5.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real order5.e2q:VARIABLE(start = order5.e2q0 unit = "1" fixed = true ) "q-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 (333): * 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: 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.002101/1.708, allocations: 0.6572 MB / 0.9617 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.71, allocations: 458.3 kB / 0.9621 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05808/1.768, allocations: 20.58 MB / 0.9822 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/1.768, allocations: 36 kB / 0.9822 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-05/1.768, allocations: 31.95 kB / 0.9823 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000126/1.768, allocations: 19.92 kB / 0.9823 GB, free: 7.441 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.4462/2.214, allocations: 25.53 MB / 1.007 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/2.214, allocations: 0 / 1.007 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/2.217, allocations: 392.2 kB / 1.008 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02663/2.243, allocations: 8.595 MB / 1.016 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001317/2.245, allocations: 73.2 kB / 1.016 GB, free: 105.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08018/2.325, allocations: 34.43 MB / 1.05 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/2.325, allocations: 0 / 1.05 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06201/2.387, allocations: 24.25 MB / 1.073 GB, free: 99.46 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002302/2.389, allocations: 0.5592 MB / 1.074 GB, free: 99.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/2.391, allocations: 66.91 kB / 1.074 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004146/2.395, allocations: 498.6 kB / 1.074 GB, free: 98.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00331/2.398, allocations: 0.7827 MB / 1.075 GB, free: 98.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003063/2.399, allocations: 95.81 kB / 1.075 GB, free: 98.82 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002908/2.401, allocations: 2.095 MB / 1.077 GB, free: 98.06 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/2.401, allocations: 3 kB / 1.077 GB, free: 98.06 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.005484/2.407, allocations: 1.769 MB / 1.079 GB, free: 97.85 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.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 (248): * Single equations (assignments): 245 * 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 {(96,5.5%) 40} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.06055/2.468, allocations: 24.98 MB / 1.103 GB, free: 88.64 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02389/2.491, allocations: 9.963 MB / 1.113 GB, free: 80.06 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/2.492, allocations: 0 / 1.113 GB, free: 80.06 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01901/2.511, allocations: 7.04 MB / 1.12 GB, free: 74.08 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004149/2.515, allocations: 307.4 kB / 1.12 GB, free: 73.79 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/2.536, allocations: 21.14 MB / 1.141 GB, free: 53.17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/2.538, allocations: 2.549 MB / 1.144 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001539/2.539, allocations: 297.4 kB / 1.144 GB, free: 51.06 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/2.541, allocations: 1.98 MB / 1.146 GB, free: 49.24 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/2.541, allocations: 4 kB / 1.146 GB, free: 49.24 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4804/3.022, allocations: 112.7 MB / 1.256 GB, free: 120.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001414/3.022, allocations: 205.2 kB / 1.256 GB, free: 120.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/10.11, allocations: 1.031 kB / 1.256 GB, free: 120.5 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FifthOrder_AVRII.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)