Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_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.007022/0.007022, allocations: 170.8 kB / 15.11 MB, free: 6.039 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.377/1.377, 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.0008949/0.0008952, allocations: 94.16 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6042/0.6042, allocations: 79.44 MB / 420.8 MB, free: 43.75 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 16 kB / 0.4891 GB, free: 1.945 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4342/0.4346, allocations: 69.51 MB / 0.557 GB, free: 38.99 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.5823, allocations: 102.6 MB / 0.6572 GB, free: 2.984 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.5827, allocations: 83.94 kB / 0.6573 GB, free: 2.902 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2575/0.8403, allocations: 101.3 MB / 0.7562 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.366e-06/0.8403, allocations: 4 kB / 0.7562 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003414/0.8407, allocations: 87.94 kB / 0.7563 GB, free: 12.88 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.0233/0.864, allocations: 6.562 MB / 0.7627 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.8641, allocations: 12.03 kB / 0.7627 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002224/0.8663, allocations: 484.8 kB / 0.7632 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01844/0.8848, allocations: 2.807 MB / 0.7659 GB, free: 2.918 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007362/0.8922, allocations: 2.313 MB / 0.7682 GB, free: 0.5273 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3283/1.221, allocations: 0.9588 MB / 0.7691 GB, free: 89.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/1.223, allocations: 343.5 kB / 0.7694 GB, free: 89.82 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01288/1.235, allocations: 4.941 MB / 0.7742 GB, free: 89.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.027e-05/1.236, allocations: 0 / 0.7742 GB, free: 89.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000481/1.236, allocations: 139.7 kB / 0.7744 GB, free: 89.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.236, allocations: 91.08 kB / 0.7745 GB, free: 89.64 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009524/1.246, allocations: 4.505 MB / 0.7789 GB, free: 89.61 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.03869/1.284, allocations: 18.66 MB / 0.7971 GB, free: 83.18 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/1.298, allocations: 5.648 MB / 0.8026 GB, free: 82.74 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/1.299, allocations: 71.69 kB / 0.8027 GB, free: 82.73 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.5e-05/1.299, allocations: 72.2 kB / 0.8027 GB, free: 82.69 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 1.102e-05/1.299, allocations: 0 / 0.8027 GB, free: 82.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.3021/1.601, allocations: 78.62 MB / 0.8795 GB, free: 76.38 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/1.601, allocations: 170.5 kB / 0.8797 GB, free: 76.18 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/1.606, allocations: 2.699 MB / 0.8823 GB, free: 74.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001425/1.608, allocations: 91.83 kB / 0.8824 GB, free: 74.52 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.609, allocations: 1.985 MB / 0.8843 GB, free: 73.57 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002527/1.612, allocations: 1.29 MB / 0.8856 GB, free: 72.56 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/1.612, allocations: 72 kB / 0.8857 GB, free: 72.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002339/1.612, allocations: 437.1 kB / 0.8861 GB, free: 72.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005077/1.617, allocations: 2.653 MB / 0.8887 GB, free: 69.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005309/1.623, allocations: 3.236 MB / 0.8918 GB, free: 66.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005355/1.628, allocations: 2.905 MB / 0.8947 GB, free: 63.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/1.628, allocations: 4 kB / 0.8947 GB, free: 63.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05467/1.683, allocations: 20.1 MB / 0.9143 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00164/1.685, allocations: 6.687 MB / 0.9208 GB, free: 36.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.209e-05/1.685, allocations: 16 kB / 0.9209 GB, free: 36.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02603/1.711, allocations: 8.494 MB / 0.9291 GB, free: 28.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/1.714, allocations: 0.5337 MB / 0.9297 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09702/1.811, allocations: 36.85 MB / 0.9657 GB, free: 6.668 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/1.818, allocations: 0.7113 MB / 0.9663 GB, free: 5.953 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00122/1.82, allocations: 132 kB / 0.9665 GB, free: 5.824 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/1.82, allocations: 0.625 kB / 0.9665 GB, free: 5.824 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0625/1.882, allocations: 19.67 MB / 0.9857 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.286e-05/1.882, allocations: 13.02 kB / 0.9857 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4048/2.287, allocations: 8.496 MB / 0.994 GB, free: 96.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/2.29, allocations: 0.5335 MB / 0.9945 GB, free: 96.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08803/2.378, allocations: 36.83 MB / 1.03 GB, free: 95.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007199/2.386, allocations: 0.6772 MB / 1.031 GB, free: 94.96 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/2.387, allocations: 132.1 kB / 1.031 GB, free: 94.96 MB / 0.5886 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 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 order4.delta:VARIABLE(start = order4.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 (322): * Single equations (assignments): 319 * 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.003078/2.39, allocations: 0.7309 MB / 1.032 GB, free: 94.74 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002181/2.392, allocations: 456.5 kB / 1.032 GB, free: 94.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06108/2.453, allocations: 20.42 MB / 1.052 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.866e-05/2.453, allocations: 40.92 kB / 1.052 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.281e-05/2.453, allocations: 30.42 kB / 1.052 GB, free: 94.17 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001245/2.453, allocations: 17.62 kB / 1.052 GB, free: 94.17 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.06857/2.522, allocations: 25.69 MB / 1.078 GB, free: 88.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/2.522, allocations: 0 / 1.078 GB, free: 88.46 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/2.525, allocations: 405.3 kB / 1.078 GB, free: 88.45 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02585/2.551, allocations: 8.55 MB / 1.086 GB, free: 87.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001291/2.552, allocations: 76.03 kB / 1.086 GB, free: 87 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07318/2.625, allocations: 32.23 MB / 1.118 GB, free: 69.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/2.625, allocations: 3.953 kB / 1.118 GB, free: 69.83 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06211/2.687, allocations: 24.08 MB / 1.141 GB, free: 50.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/2.69, allocations: 0.5549 MB / 1.142 GB, free: 49.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002345/2.692, allocations: 64 kB / 1.142 GB, free: 49.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006512/2.698, allocations: 0.5042 MB / 1.142 GB, free: 49.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00524/2.704, allocations: 0.763 MB / 1.143 GB, free: 49.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001266/2.705, allocations: 91.8 kB / 1.143 GB, free: 49.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005937/2.711, allocations: 2.066 MB / 1.145 GB, free: 47.28 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.01e-07/2.711, allocations: 0 / 1.145 GB, free: 47.28 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01947/2.73, allocations: 2.863 MB / 1.148 GB, free: 44.54 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,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 (250): * Single equations (assignments): 248 * 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.0931/2.824, allocations: 24.82 MB / 1.172 GB, free: 24.44 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04893/2.873, allocations: 16.92 MB / 1.189 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.51e-05/2.873, allocations: 2 kB / 1.189 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02026/2.893, allocations: 6.91 MB / 1.196 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/2.898, allocations: 310.1 kB / 1.196 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.349/3.247, allocations: 21.11 MB / 1.216 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003212/3.25, allocations: 2.587 MB / 1.219 GB, free: 118.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002405/3.252, allocations: 355.3 kB / 1.219 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/3.255, allocations: 1.93 MB / 1.221 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of SimCode: time 8.72e-07/3.255, allocations: 1.031 kB / 1.221 GB, free: 118.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2331/3.488, allocations: 139.5 MB / 1.357 GB, free: 75.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/3.488, allocations: 213.9 kB / 1.358 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/11.12, allocations: 4.062 kB / 1.358 GB, free: 75.4 MB / 0.6042 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)