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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00112/0.001121, 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.386/1.386, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001605/0.001605, allocations: 116.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1658/0.1658, allocations: 38 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 8 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07847/0.07882, allocations: 53.23 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.3665, allocations: 95.19 MB / 0.5393 GB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.3668, allocations: 100.7 kB / 0.5394 GB, free: 124 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03724/0.404, allocations: 14.07 MB / 0.5531 GB, free: 4.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4041, allocations: 0 / 0.5531 GB, free: 4.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.4041, allocations: 15.94 kB / 0.5531 GB, free: 3.988 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.001709/0.4058, allocations: 0.9619 MB / 0.554 GB, free: 3.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4059, allocations: 12.02 kB / 0.5541 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.406, allocations: 78.97 kB / 0.5541 GB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.4086, allocations: 1.102 MB / 0.5552 GB, free: 1.977 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.4088, allocations: 126.8 kB / 0.5553 GB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.4089, allocations: 61.12 kB / 0.5554 GB, free: 1.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.4101, allocations: 0.7949 MB / 0.5562 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4101, allocations: 0 / 0.5562 GB, free: 1.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.534e-05/0.4102, allocations: 27.25 kB / 0.5562 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4102, allocations: 12 kB / 0.5562 GB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.4114, allocations: 0.7099 MB / 0.5569 GB, free: 0.6641 MB / 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.003811/0.4152, allocations: 2.747 MB / 0.5596 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.4168, allocations: 0.9147 MB / 0.5605 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4169, allocations: 4.062 kB / 0.5605 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.4169, allocations: 37.95 kB / 0.5605 GB, free: 13.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.773e-06/0.4169, allocations: 7.938 kB / 0.5605 GB, free: 13.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.003197/0.4201, allocations: 1.985 MB / 0.5625 GB, free: 11.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.4202, allocations: 85.05 kB / 0.5625 GB, free: 11.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.4206, allocations: 368 kB / 0.5629 GB, free: 11.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4206, allocations: 36.2 kB / 0.5629 GB, free: 11.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4208, allocations: 314.9 kB / 0.5632 GB, free: 11.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.448e-05/0.4209, allocations: 136.6 kB / 0.5634 GB, free: 10.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.4209, allocations: 11.56 kB / 0.5634 GB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.421, allocations: 361.7 kB / 0.5637 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004274/0.4215, allocations: 250.5 kB / 0.5639 GB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.422, allocations: 353.5 kB / 0.5643 GB, free: 10.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.4224, allocations: 267.5 kB / 0.5645 GB, free: 9.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4224, allocations: 4 kB / 0.5645 GB, free: 9.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00123/0.4237, allocations: 0.8078 MB / 0.5653 GB, free: 9.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4237, allocations: 8 kB / 0.5653 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.4237, allocations: 4 kB / 0.5653 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.4239, allocations: 68.98 kB / 0.5654 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4253, allocations: 371.5 kB / 0.5658 GB, free: 8.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.4308, allocations: 6.162 MB / 0.5718 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.4313, allocations: 59.64 kB / 0.5718 GB, free: 2.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.4314, allocations: 15.81 kB / 0.5719 GB, free: 2.355 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.0003767/0.4317, allocations: 245.2 kB / 0.5721 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.4318, allocations: 51.34 kB / 0.5721 GB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.4331, allocations: 0.7381 MB / 0.5729 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.4331, allocations: 8 kB / 0.5729 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4331, allocations: 0 / 0.5729 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.4332, allocations: 3.984 kB / 0.5729 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.4355, allocations: 1.527 MB / 0.5744 GB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4355, allocations: 8.062 kB / 0.5744 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/0.4371, allocations: 395.8 kB / 0.5747 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.4373, allocations: 70.47 kB / 0.5748 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.4374, allocations: 10.12 kB / 0.5748 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.4393, allocations: 2.854 MB / 0.5776 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4393, allocations: 11.92 kB / 0.5776 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.441, allocations: 1.172 MB / 0.5788 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.4411, allocations: 115.9 kB / 0.5789 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.4412, allocations: 7.25 kB / 0.5789 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.4415, allocations: 47.27 kB / 0.5789 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.4e-05/0.4416, allocations: 35.19 kB / 0.579 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.4416, allocations: 15.33 kB / 0.579 GB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.4419, allocations: 292.7 kB / 0.5793 GB, free: 11.33 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4419, allocations: 0 / 0.5793 GB, free: 11.33 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006219/0.4426, allocations: 142 kB / 0.5794 GB, free: 11.2 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.0001842/0.4428, allocations: 123 kB / 0.5795 GB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002189/0.445, allocations: 1.06 MB / 0.5805 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.445, allocations: 0 / 0.5805 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.4468, allocations: 0.8215 MB / 0.5813 GB, free: 9.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005668/0.4474, allocations: 127.2 kB / 0.5815 GB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.4495, allocations: 1.721 MB / 0.5831 GB, free: 7.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.45, allocations: 0.9563 MB / 0.5841 GB, free: 6.703 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.4503, allocations: 96.55 kB / 0.5842 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.4504, allocations: 35.44 kB / 0.5842 GB, free: 6.574 MB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4504, allocations: 4 kB / 0.5842 GB, free: 6.57 MB / 394.7 MB Notification: Performance of Templates: time 0.01124/0.4617, allocations: 7.048 MB / 0.5911 GB, free: 15.54 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)