Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00153/0.00153, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.315/1.315, allocations: 194.5 MB / 211.6 MB, free: 2.957 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 115.5 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1616/0.1616, allocations: 38 MB / 340.1 MB, free: 1.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.000351, allocations: 12 kB / 403.9 MB, free: 68.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.09742, allocations: 53.22 MB / 457.1 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4612, allocations: 95.21 MB / 0.5394 GB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.4615, allocations: 89.95 kB / 0.5395 GB, free: 15.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0392/0.5007, allocations: 14.05 MB / 0.5532 GB, free: 3.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5008, allocations: 3.938 kB / 0.5532 GB, free: 3.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.553e-05/0.5008, allocations: 16 kB / 0.5532 GB, free: 3.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002387/0.5032, allocations: 0.9667 MB / 0.5541 GB, free: 2.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5033, allocations: 12.02 kB / 0.5542 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.5036, allocations: 102.5 kB / 0.5543 GB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.5039, allocations: 75.16 kB / 0.5543 GB, free: 2.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.507, allocations: 1.121 MB / 0.5554 GB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.5072, allocations: 127.1 kB / 0.5555 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.5073, allocations: 62.33 kB / 0.5556 GB, free: 1.555 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.5088, allocations: 0.7961 MB / 0.5564 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5089, allocations: 0 / 0.5564 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.5089, allocations: 24.36 kB / 0.5564 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.509, allocations: 16 kB / 0.5564 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.5104, allocations: 0.6988 MB / 0.5571 GB, free: 420 kB / 362.7 MB 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.004823/0.5153, allocations: 2.739 MB / 0.5598 GB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.5171, allocations: 0.9149 MB / 0.5607 GB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.5171, allocations: 8.016 kB / 0.5607 GB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5172, allocations: 38 kB / 0.5607 GB, free: 13.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.084e-06/0.5172, allocations: 4 kB / 0.5607 GB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003885/0.5211, allocations: 1.987 MB / 0.5627 GB, free: 11.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.5212, allocations: 81.11 kB / 0.5627 GB, free: 11.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.5216, allocations: 375.3 kB / 0.5631 GB, free: 11.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.5217, allocations: 29.39 kB / 0.5631 GB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000216/0.5219, allocations: 323.7 kB / 0.5634 GB, free: 10.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.522, allocations: 132.2 kB / 0.5636 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.5221, allocations: 11.12 kB / 0.5636 GB, free: 10.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5223, allocations: 364.7 kB / 0.5639 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.5227, allocations: 248.5 kB / 0.5641 GB, free: 10.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005641/0.5233, allocations: 362.8 kB / 0.5645 GB, free: 9.848 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.5239, allocations: 263.2 kB / 0.5647 GB, free: 9.672 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5239, allocations: 4 kB / 0.5647 GB, free: 9.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001374/0.5253, allocations: 0.8045 MB / 0.5655 GB, free: 8.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.5253, allocations: 8 kB / 0.5655 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.5253, allocations: 7.938 kB / 0.5655 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.5256, allocations: 66.73 kB / 0.5656 GB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.527, allocations: 378.8 kB / 0.566 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.533, allocations: 6.161 MB / 0.572 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.5334, allocations: 55.3 kB / 0.572 GB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.5335, allocations: 19.69 kB / 0.5721 GB, free: 2.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003783/0.5339, allocations: 247.7 kB / 0.5723 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.534, allocations: 43.44 kB / 0.5723 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.5354, allocations: 0.7385 MB / 0.5731 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.5354, allocations: 4 kB / 0.5731 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5354, allocations: 4 kB / 0.5731 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5354, allocations: 0 / 0.5731 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.5381, allocations: 1.523 MB / 0.5746 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.5381, allocations: 7.984 kB / 0.5746 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.5397, allocations: 399.6 kB / 0.5749 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.5399, allocations: 69.28 kB / 0.575 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.54, allocations: 10.38 kB / 0.575 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.5421, allocations: 2.861 MB / 0.5778 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.5422, allocations: 3.953 kB / 0.5778 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.5439, allocations: 1.169 MB / 0.579 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.5441, allocations: 127.8 kB / 0.5791 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.5442, allocations: 11 kB / 0.5791 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.5445, allocations: 39.2 kB / 0.5791 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5446, allocations: 38.72 kB / 0.5792 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.5447, allocations: 11.98 kB / 0.5792 GB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003242/0.545, allocations: 293.6 kB / 0.5795 GB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.545, allocations: 0 / 0.5795 GB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006884/0.5457, allocations: 148.2 kB / 0.5796 GB, free: 10.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.548, allocations: 1.941 MB / 0.5815 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.5504, allocations: 1.051 MB / 0.5825 GB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5504, allocations: 384 / 0.5825 GB, free: 8.258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.5523, allocations: 0.8223 MB / 0.5833 GB, free: 7.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.553, allocations: 133.7 kB / 0.5835 GB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/0.5608, allocations: 6.076 MB / 0.5894 GB, free: 1.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.5615, allocations: 0.9592 MB / 0.5903 GB, free: 0.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.5619, allocations: 100.5 kB / 0.5904 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.5622, allocations: 200.9 kB / 0.5906 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5622, allocations: 4 kB / 0.5906 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.5942, allocations: 12.1 MB / 0.6024 GB, free: 4.543 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.5945, allocations: 211.6 kB / 0.6026 GB, free: 4.301 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.975, allocations: 0 / 0.6026 GB, free: 4.301 MB / 410.7 MB (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)