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.001255/0.001255, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001325/0.001325, allocations: 187.1 kB / 18.67 MB, free: 4.441 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.224/1.224, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1627/0.1627, allocations: 37.99 MB / 309.9 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.001317/0.001317, allocations: 63.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.0935, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.008278/0.1018, allocations: 6.758 MB / 494.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.1054, allocations: 2.189 MB / 496.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003221/0.1058, allocations: 23.88 kB / 496.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.1071, allocations: 0.5176 MB / 497.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1083, allocations: 0.5483 MB / 497.8 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007629/0.109, allocations: 375.2 kB / 498.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1103, allocations: 1.302 MB / 499.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009101/0.1112, allocations: 0.7401 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.112, allocations: 0.5527 MB / 0.489 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008289/0.1128, allocations: 0.6816 MB / 0.4897 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.113, allocations: 104 kB / 0.4898 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.1138, allocations: 0.5188 MB / 0.4903 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.1142, allocations: 478.8 kB / 0.4908 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004985/0.1147, allocations: 0.5095 MB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.1161, allocations: 1.468 MB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1161, allocations: 4 kB / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1161, allocations: 0 / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.1162, allocations: 4 kB / 0.4927 GB, free: 7.512 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.002582/0.1187, allocations: 1.336 MB / 0.494 GB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1188, allocations: 11.89 kB / 0.494 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006876/0.1195, allocations: 143.7 kB / 0.4942 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1206, allocations: 0.6943 MB / 0.4948 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.1208, allocations: 171.6 kB / 0.495 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001874/0.121, allocations: 99.83 kB / 0.4951 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.123, allocations: 1.358 MB / 0.4964 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.123, allocations: 7.938 kB / 0.4964 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.502e-05/0.1231, allocations: 32 kB / 0.4965 GB, free: 3.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/0.1233, allocations: 61.97 kB / 0.4965 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.1256, allocations: 1.292 MB / 0.4978 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006734/0.1324, allocations: 4.896 MB / 0.5026 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.1344, allocations: 1.141 MB / 0.5037 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.1355, allocations: 0.6203 MB / 0.5043 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.1356, allocations: 16.53 kB / 0.5043 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1356, allocations: 43.12 kB / 0.5043 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=72): time 3.016e-06/0.1356, allocations: 0 / 0.5043 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=73): time 0.005599/0.1412, allocations: 3.171 MB / 0.5074 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1413, allocations: 89.59 kB / 0.5075 GB, free: 7.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.1418, allocations: 469.9 kB / 0.508 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.1419, allocations: 33.7 kB / 0.508 GB, free: 7.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.1421, allocations: 395.3 kB / 0.5084 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001872/0.1423, allocations: 256.3 kB / 0.5086 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.1426, allocations: 154.5 kB / 0.5088 GB, free: 6.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1427, allocations: 374.8 kB / 0.5091 GB, free: 6.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008398/0.1436, allocations: 0.4977 MB / 0.5096 GB, free: 5.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000957/0.1446, allocations: 0.6795 MB / 0.5103 GB, free: 4.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.1464, allocations: 1.224 MB / 0.5115 GB, free: 3.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1464, allocations: 3.938 kB / 0.5115 GB, free: 3.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004166/0.1506, allocations: 1.974 MB / 0.5134 GB, free: 1.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.1506, allocations: 8 kB / 0.5134 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00357/0.1542, allocations: 1.71 MB / 0.5151 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.1559, allocations: 0.6495 MB / 0.5157 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.1565, allocations: 159.7 kB / 0.5159 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.1671, allocations: 7.422 MB / 0.5231 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.1678, allocations: 71.91 kB / 0.5232 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.1679, allocations: 28 kB / 0.5232 GB, free: 7.223 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.0004469/0.1684, allocations: 309.6 kB / 0.5235 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.1685, allocations: 63.23 kB / 0.5236 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.1707, allocations: 1.305 MB / 0.5249 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.1707, allocations: 12 kB / 0.5249 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1707, allocations: 0 / 0.5249 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.1708, allocations: 7.984 kB / 0.5249 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.1744, allocations: 2.409 MB / 0.5272 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.1744, allocations: 7.938 kB / 0.5272 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/0.1769, allocations: 495.4 kB / 0.5277 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.1771, allocations: 36.77 kB / 0.5277 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.1771, allocations: 24 kB / 0.5278 GB, free: 2.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.1783, allocations: 1.626 MB / 0.5293 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1783, allocations: 0 / 0.5293 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2015/0.3798, allocations: 2.012 MB / 0.5313 GB, free: 51.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.38, allocations: 128.2 kB / 0.5314 GB, free: 51.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.3801, allocations: 17.73 kB / 0.5315 GB, free: 51.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.3806, allocations: 63.28 kB / 0.5315 GB, free: 51.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000184/0.3808, allocations: 60.56 kB / 0.5316 GB, free: 51.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.3809, allocations: 25.69 kB / 0.5316 GB, free: 51.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000328/0.3812, allocations: 314.8 kB / 0.5319 GB, free: 51.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3812, allocations: 1.375 kB / 0.5319 GB, free: 51.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008984/0.3821, allocations: 236.3 kB / 0.5321 GB, free: 51.3 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.0002026/0.3823, allocations: 128.5 kB / 0.5322 GB, free: 51.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002603/0.3849, allocations: 1.566 MB / 0.5338 GB, free: 50.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3849, allocations: 0 / 0.5338 GB, free: 50.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002405/0.3873, allocations: 0.9913 MB / 0.5347 GB, free: 50.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.3881, allocations: 161.4 kB / 0.5349 GB, free: 50.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.3918, allocations: 2.331 MB / 0.5372 GB, free: 49.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.3924, allocations: 1.074 MB / 0.5382 GB, free: 48.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.3927, allocations: 59.5 kB / 0.5383 GB, free: 48.95 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3927, allocations: 0 / 0.5383 GB, free: 48.95 MB / 414.1 MB Notification: Performance of Templates: time 0.02223/0.4149, allocations: 20.4 MB / 0.5582 GB, free: 39.27 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)