Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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_AVRI,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,fileNamePrefix="OpenIPSL_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.007578/0.007578, allocations: 169.5 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.396/1.396, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009728/0.0009727, allocations: 94.95 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4442/0.4442, allocations: 78.52 MB / 419.8 MB, free: 44.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005551/0.0005552, allocations: 16 kB / 499.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4916, allocations: 69.36 MB / 0.5558 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.6595, allocations: 101.8 MB / 0.6552 GB, free: 4.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/0.6599, allocations: 83.95 kB / 0.6553 GB, free: 4.488 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2703/0.9303, allocations: 98.99 MB / 0.752 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9303, allocations: 0 / 0.752 GB, free: 0.8633 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005304/0.9308, allocations: 91.88 kB / 0.7521 GB, free: 0.7734 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: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.02248/0.9533, allocations: 6.539 MB / 0.7584 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.9534, allocations: 8.031 kB / 0.7584 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001989/0.9554, allocations: 484.8 kB / 0.7589 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.9736, allocations: 2.807 MB / 0.7617 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007452/0.9811, allocations: 2.309 MB / 0.7639 GB, free: 4.449 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.9823, allocations: 0.9634 MB / 0.7648 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/0.9841, allocations: 343.9 kB / 0.7652 GB, free: 3.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3597/1.344, allocations: 4.938 MB / 0.77 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.387e-05/1.344, allocations: 1.188 kB / 0.77 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004947/1.344, allocations: 140.7 kB / 0.7701 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.67e-05/1.345, allocations: 84.69 kB / 0.7702 GB, free: 90 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/1.356, allocations: 4.508 MB / 0.7746 GB, free: 89.97 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.03489/1.391, allocations: 18.62 MB / 0.7928 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.403, allocations: 5.651 MB / 0.7983 GB, free: 83.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/1.404, allocations: 75.34 kB / 0.7984 GB, free: 83.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.069e-05/1.404, allocations: 74.27 kB / 0.7985 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=380): time 5.961e-06/1.404, allocations: 0 / 0.7985 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=380): time 0.3011/1.705, allocations: 78.62 MB / 0.8752 GB, free: 78.99 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.706, allocations: 166.2 kB / 0.8754 GB, free: 78.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005873/1.711, allocations: 2.697 MB / 0.878 GB, free: 77.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001138/1.713, allocations: 87.08 kB / 0.8781 GB, free: 77.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/1.714, allocations: 1.985 MB / 0.8801 GB, free: 76.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/1.717, allocations: 1.289 MB / 0.8813 GB, free: 76.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000911/1.717, allocations: 77.25 kB / 0.8814 GB, free: 76.02 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003085/1.718, allocations: 437.3 kB / 0.8818 GB, free: 75.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00564/1.723, allocations: 2.658 MB / 0.8844 GB, free: 74.14 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005994/1.729, allocations: 3.233 MB / 0.8876 GB, free: 71.09 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005937/1.735, allocations: 2.902 MB / 0.8904 GB, free: 68.38 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/1.735, allocations: 4 kB / 0.8904 GB, free: 68.37 MB / 0.5573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05659/1.792, allocations: 20.11 MB / 0.91 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00213/1.794, allocations: 6.675 MB / 0.9166 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.032e-05/1.794, allocations: 16 kB / 0.9166 GB, free: 41.22 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0259/1.82, allocations: 8.496 MB / 0.9249 GB, free: 32.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/1.823, allocations: 0.5381 MB / 0.9254 GB, free: 32.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08893/1.912, allocations: 36.84 MB / 0.9614 GB, free: 11.28 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006562/1.919, allocations: 0.6918 MB / 0.962 GB, free: 10.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/1.92, allocations: 135.9 kB / 0.9622 GB, free: 10.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.92, allocations: 8 kB / 0.9622 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05982/1.98, allocations: 19.66 MB / 0.9814 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-05/1.98, allocations: 19.95 kB / 0.9814 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3392/2.319, allocations: 8.489 MB / 0.9897 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/2.322, allocations: 0.5378 MB / 0.9902 GB, free: 97.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08619/2.409, allocations: 36.83 MB / 1.026 GB, free: 95.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006784/2.415, allocations: 0.661 MB / 1.027 GB, free: 95.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/2.417, allocations: 132.6 kB / 1.027 GB, free: 95.66 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.003338/2.42, allocations: 0.729 MB / 1.028 GB, free: 95.44 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001972/2.422, allocations: 456.8 kB / 1.028 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06029/2.482, allocations: 20.43 MB / 1.048 GB, free: 94.87 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.245e-05/2.482, allocations: 38.23 kB / 1.048 GB, free: 94.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001304/2.482, allocations: 29.75 kB / 1.048 GB, free: 94.87 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000138/2.483, allocations: 17.34 kB / 1.048 GB, free: 94.87 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.06732/2.55, allocations: 25.68 MB / 1.073 GB, free: 89.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-05/2.55, allocations: 3.906 kB / 1.073 GB, free: 89.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002631/2.553, allocations: 402.6 kB / 1.074 GB, free: 89.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02511/2.578, allocations: 8.551 MB / 1.082 GB, free: 88.4 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/2.579, allocations: 67.97 kB / 1.082 GB, free: 88.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07306/2.652, allocations: 32.23 MB / 1.113 GB, free: 73.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/2.652, allocations: 3.953 kB / 1.113 GB, free: 73.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06018/2.712, allocations: 24.08 MB / 1.137 GB, free: 54.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001795/2.714, allocations: 0.5513 MB / 1.138 GB, free: 53.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001813/2.716, allocations: 72 kB / 1.138 GB, free: 53.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005576/2.721, allocations: 488.7 kB / 1.138 GB, free: 53.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003632/2.725, allocations: 0.7646 MB / 1.139 GB, free: 52.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008257/2.726, allocations: 91.94 kB / 1.139 GB, free: 52.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003972/2.73, allocations: 2.065 MB / 1.141 GB, free: 51.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.8e-07/2.73, allocations: 0 / 1.141 GB, free: 51.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01361/2.744, allocations: 2.867 MB / 1.144 GB, free: 48.38 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.06487/2.809, allocations: 24.82 MB / 1.168 GB, free: 28.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04543/2.854, allocations: 16.93 MB / 1.185 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/2.854, allocations: 0 / 1.185 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02114/2.875, allocations: 6.914 MB / 1.191 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004825/2.88, allocations: 310.2 kB / 1.192 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0281/2.908, allocations: 21.11 MB / 1.212 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/2.912, allocations: 2.586 MB / 1.215 GB, free: 0.9297 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002339/2.914, allocations: 356.9 kB / 1.215 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2725/3.186, allocations: 2.191 MB / 1.217 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of SimCode: time 8.566e-06/3.186, allocations: 1.281 kB / 1.217 GB, free: 119.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2062/3.393, allocations: 139.4 MB / 1.353 GB, free: 78.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001382/3.393, allocations: 219.3 kB / 1.353 GB, free: 78.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/10.99, allocations: 0 / 1.353 GB, free: 78.11 MB / 0.6042 GB (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_PSATSystems_TwoArea_FourthOrder_AVRI.fmu > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)