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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 109.5 kB / 17.06 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1817/0.1817, allocations: 37.99 MB / 309.2 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 75.89 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1548, allocations: 55.23 MB / 487.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01039/0.1652, allocations: 6.769 MB / 493.9 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.17, allocations: 2.189 MB / 496.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008056/0.1709, allocations: 23.88 kB / 496.1 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.1732, allocations: 0.5215 MB / 496.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.1751, allocations: 0.5483 MB / 497.2 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.1762, allocations: 371.2 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.1782, allocations: 1.31 MB / 498.8 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.1795, allocations: 0.7323 MB / 499.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.1808, allocations: 0.5488 MB / 0.4884 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.1821, allocations: 0.6855 MB / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.1825, allocations: 104 kB / 0.4892 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.1839, allocations: 0.511 MB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007907/0.1847, allocations: 478.8 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.1861, allocations: 0.5173 MB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.1888, allocations: 1.464 MB / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1888, allocations: 0 / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.997e-06/0.1888, allocations: 0 / 0.4921 GB, free: 7.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.889e-05/0.1889, allocations: 0 / 0.4921 GB, free: 7.508 MB / 382.1 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.004452/0.1934, allocations: 1.34 MB / 0.4934 GB, free: 6.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.1935, allocations: 19.89 kB / 0.4934 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009137/0.1944, allocations: 143.7 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1959, allocations: 0.6866 MB / 0.4942 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.1961, allocations: 175.6 kB / 0.4944 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.1963, allocations: 99.83 kB / 0.4945 GB, free: 4.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.1985, allocations: 1.362 MB / 0.4958 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.1986, allocations: 3.938 kB / 0.4958 GB, free: 3.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.416e-05/0.1987, allocations: 32 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/0.1988, allocations: 65.97 kB / 0.4959 GB, free: 3.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.201, allocations: 1.296 MB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/0.2078, allocations: 4.896 MB / 0.5019 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.2099, allocations: 1.137 MB / 0.503 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.2111, allocations: 0.6165 MB / 0.5036 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.2112, allocations: 8.562 kB / 0.5036 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.622e-05/0.2113, allocations: 43.11 kB / 0.5037 GB, free: 11.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.667e-06/0.2113, allocations: 0 / 0.5037 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.00632/0.2176, allocations: 3.182 MB / 0.5068 GB, free: 7.926 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.2177, allocations: 89.7 kB / 0.5069 GB, free: 7.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/0.2182, allocations: 465.9 kB / 0.5073 GB, free: 7.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.036e-05/0.2183, allocations: 37.7 kB / 0.5074 GB, free: 7.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.2186, allocations: 399.3 kB / 0.5077 GB, free: 6.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.2188, allocations: 252.3 kB / 0.508 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.219, allocations: 146.6 kB / 0.5081 GB, free: 6.512 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2192, allocations: 374.8 kB / 0.5085 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008937/0.2201, allocations: 0.5016 MB / 0.509 GB, free: 5.637 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.2212, allocations: 0.6872 MB / 0.5096 GB, free: 4.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.2231, allocations: 1.212 MB / 0.5108 GB, free: 3.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2231, allocations: 11.94 kB / 0.5108 GB, free: 3.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005441/0.2285, allocations: 1.974 MB / 0.5128 GB, free: 1.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.2286, allocations: 11.98 kB / 0.5128 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005628/0.2342, allocations: 1.714 MB / 0.5144 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002596/0.2368, allocations: 0.6494 MB / 0.5151 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/0.2378, allocations: 155.7 kB / 0.5152 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.2549, allocations: 7.41 MB / 0.5225 GB, free: 7.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.2562, allocations: 71.91 kB / 0.5225 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.2563, allocations: 32 kB / 0.5226 GB, free: 7.211 MB / 414.1 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): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0007795/0.2571, allocations: 309.6 kB / 0.5229 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.2574, allocations: 67.19 kB / 0.5229 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.2606, allocations: 1.301 MB / 0.5242 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-05/0.2607, allocations: 19.98 kB / 0.5242 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.2607, allocations: 0 / 0.5242 GB, free: 5.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.2607, allocations: 3.984 kB / 0.5242 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.2665, allocations: 2.409 MB / 0.5266 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.2665, allocations: 3.938 kB / 0.5266 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/0.2702, allocations: 499.4 kB / 0.5271 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/0.2704, allocations: 36.78 kB / 0.5271 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.581e-05/0.2705, allocations: 15.98 kB / 0.5271 GB, free: 2.434 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/0.2722, allocations: 1.634 MB / 0.5287 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2722, allocations: 0 / 0.5287 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3987/0.671, allocations: 2.007 MB / 0.5307 GB, free: 51.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.6713, allocations: 131 kB / 0.5308 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6714, allocations: 18 kB / 0.5308 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.672, allocations: 56.23 kB / 0.5309 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.6723, allocations: 66.19 kB / 0.5309 GB, free: 51.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.835e-05/0.6724, allocations: 22.56 kB / 0.5309 GB, free: 51.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005451/0.6729, allocations: 317.8 kB / 0.5312 GB, free: 51.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6729, allocations: 0 / 0.5312 GB, free: 51.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00166/0.6746, allocations: 235.7 kB / 0.5315 GB, free: 51.2 MB / 414.1 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.6749, allocations: 131.7 kB / 0.5316 GB, free: 51.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.6784, allocations: 1.56 MB / 0.5331 GB, free: 50.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6785, allocations: 3.984 kB / 0.5331 GB, free: 50.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003106/0.6816, allocations: 1.01 MB / 0.5341 GB, free: 50.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6827, allocations: 161.2 kB / 0.5343 GB, free: 50.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005265/0.688, allocations: 2.253 MB / 0.5365 GB, free: 49.65 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.689, allocations: 1.075 MB / 0.5375 GB, free: 48.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008433/0.6899, allocations: 211.3 kB / 0.5377 GB, free: 48.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.6901, allocations: 54.98 kB / 0.5378 GB, free: 48.87 MB / 414.1 MB Notification: Performance of SimCode: time 2.765e-06/0.6901, allocations: 0 / 0.5378 GB, free: 48.87 MB / 414.1 MB Notification: Performance of Templates: time 0.03449/0.7246, allocations: 13.64 MB / 0.5511 GB, free: 44.7 MB / 414.1 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)