Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001185/0.001185, allocations: 179.4 kB / 17.4 MB, free: 4.293 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.395/1.395, allocations: 194.5 MB / 212.6 MB, free: 2.93 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.001566/0.001566, allocations: 107.9 kB / 257.9 MB, free: 4.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.187/0.187, allocations: 38.01 MB / 341.1 MB, free: 1.195 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 16 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1076, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.4916, allocations: 105.1 MB / 0.5502 GB, free: 6.113 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.4919, allocations: 103.4 kB / 0.5503 GB, free: 6.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06827/0.5602, allocations: 23.31 MB / 0.573 GB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5603, allocations: 0 / 0.573 GB, free: 2.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.35e-05/0.5604, allocations: 24 kB / 0.573 GB, free: 1.984 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.004112/0.5645, allocations: 1.236 MB / 0.5743 GB, free: 0.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.5646, allocations: 8.031 kB / 0.5743 GB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.5657, allocations: 151.6 kB / 0.5744 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.5682, allocations: 0.9333 MB / 0.5753 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.5685, allocations: 178.1 kB / 0.5755 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/0.5688, allocations: 93.52 kB / 0.5756 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002674/0.5715, allocations: 1.363 MB / 0.5769 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.906e-05/0.5716, allocations: 4 kB / 0.5769 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5717, allocations: 32.81 kB / 0.5769 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.394e-05/0.5718, allocations: 61.53 kB / 0.577 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.5743, allocations: 1.299 MB / 0.5783 GB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008054/0.5823, allocations: 4.966 MB / 0.5831 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.5846, allocations: 1.189 MB / 0.5843 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.5858, allocations: 0.651 MB / 0.5849 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.542e-05/0.5859, allocations: 12.55 kB / 0.5849 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.586, allocations: 39 kB / 0.585 GB, free: 7.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 6.312e-06/0.586, allocations: 0 / 0.585 GB, free: 7.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=75): time 0.006646/0.5927, allocations: 3.3 MB / 0.5882 GB, free: 5.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.5928, allocations: 85.67 kB / 0.5883 GB, free: 5.102 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007123/0.5935, allocations: 461.6 kB / 0.5887 GB, free: 4.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.5936, allocations: 38.25 kB / 0.5887 GB, free: 4.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.5939, allocations: 390.7 kB / 0.5891 GB, free: 4.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.5942, allocations: 270.4 kB / 0.5894 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.5942, allocations: 14.44 kB / 0.5894 GB, free: 4.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5944, allocations: 372.9 kB / 0.5897 GB, free: 3.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009452/0.5954, allocations: 0.5244 MB / 0.5903 GB, free: 3.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.5965, allocations: 0.7133 MB / 0.591 GB, free: 2.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.5986, allocations: 1.27 MB / 0.5922 GB, free: 1.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.5986, allocations: 0 / 0.5922 GB, free: 1.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.005032/0.6036, allocations: 2.128 MB / 0.5943 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.6037, allocations: 8 kB / 0.5943 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003922/0.6076, allocations: 1.861 MB / 0.5961 GB, free: 13.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.6095, allocations: 0.6963 MB / 0.5968 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.6101, allocations: 147.8 kB / 0.5969 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.6217, allocations: 6.969 MB / 0.6037 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009858/0.6228, allocations: 91.94 kB / 0.6038 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000181/0.623, allocations: 31.98 kB / 0.6038 GB, free: 5.652 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * 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 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007903/0.6238, allocations: 313.5 kB / 0.6041 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.624, allocations: 59.25 kB / 0.6042 GB, free: 5.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/0.6268, allocations: 1.321 MB / 0.6055 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-05/0.6268, allocations: 23.92 kB / 0.6055 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6269, allocations: 0 / 0.6055 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.6269, allocations: 3.984 kB / 0.6055 GB, free: 3.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004674/0.6316, allocations: 2.484 MB / 0.6079 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6316, allocations: 0 / 0.6079 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002628/0.6342, allocations: 0.64 MB / 0.6086 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.741e-05/0.6343, allocations: 24.86 kB / 0.6086 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.54e-05/0.6344, allocations: 19.98 kB / 0.6086 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.6355, allocations: 1.392 MB / 0.61 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6355, allocations: 0 / 0.61 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003502/0.639, allocations: 2.09 MB / 0.612 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.6393, allocations: 128.4 kB / 0.6121 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.6394, allocations: 15.98 kB / 0.6121 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.6401, allocations: 75.92 kB / 0.6122 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.6403, allocations: 64.45 kB / 0.6123 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.6403, allocations: 19.94 kB / 0.6123 GB, free: 12.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000482/0.6408, allocations: 318.9 kB / 0.6126 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6408, allocations: 0 / 0.6126 GB, free: 12.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00118/0.642, allocations: 260 kB / 0.6129 GB, free: 12.08 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],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 (66): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003436/0.6424, allocations: 156.6 kB / 0.613 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.6455, allocations: 1.61 MB / 0.6146 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6456, allocations: 0 / 0.6146 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002794/0.6484, allocations: 1.158 MB / 0.6157 GB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.6495, allocations: 150.8 kB / 0.6158 GB, free: 8.973 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.6547, allocations: 2.74 MB / 0.6185 GB, free: 6.195 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.6557, allocations: 1.067 MB / 0.6196 GB, free: 5.102 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007658/0.6565, allocations: 205.5 kB / 0.6198 GB, free: 4.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.6568, allocations: 55.42 kB / 0.6198 GB, free: 4.844 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6568, allocations: 0 / 0.6198 GB, free: 4.844 MB / 426.7 MB Notification: Performance of Templates: time 0.02445/0.6812, allocations: 12.29 MB / 0.6318 GB, free: 8.547 MB / 442.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1)