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.001071/0.001071, allocations: 95.31 kB / 16.3 MB, free: 5.992 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.001179/0.001179, allocations: 182.1 kB / 17.2 MB, free: 5.906 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.683/1.683, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3795/0.3795, allocations: 38.05 MB / 309.7 MB, free: 8.957 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.0005244/0.0005247, allocations: 16 kB / 376.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.141, allocations: 56.33 MB / 432.8 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.01027/0.1514, allocations: 6.651 MB / 439.5 MB, free: 176 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00677/0.1582, allocations: 2.394 MB / 441.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1599, allocations: 43.69 kB / 441.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1611, allocations: 167 kB / 442.1 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.1638, allocations: 486.5 kB / 442.5 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.1654, allocations: 335.3 kB / 442.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.1669, allocations: 0.6792 MB / 443.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.1689, allocations: 0.8361 MB / 444.4 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.17, allocations: 394.7 kB / 444.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.1712, allocations: 490.6 kB / 445.3 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000292/0.1715, allocations: 44 kB / 445.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.1727, allocations: 443.3 kB / 445.7 MB, free: 9.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.1734, allocations: 387.1 kB / 446.1 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005002/0.1739, allocations: 189.3 kB / 446.3 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.1757, allocations: 1.111 MB / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1757, allocations: 0 / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1757, allocations: 0 / 447.4 MB, free: 8.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.491e-05/0.1758, allocations: 0 / 447.4 MB, free: 8.176 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.003487/0.1792, allocations: 1.192 MB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1793, allocations: 12.03 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.1804, allocations: 150.7 kB / 448.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.182, allocations: 0.6504 MB / 449.4 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.1823, allocations: 179 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/0.1827, allocations: 95.89 kB / 449.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.1857, allocations: 1.37 MB / 451 MB, free: 4.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.1858, allocations: 4 kB / 451 MB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.1859, allocations: 32 kB / 451.1 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.1861, allocations: 65.97 kB / 451.1 MB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.1889, allocations: 1.335 MB / 452.5 MB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2446/0.4335, allocations: 4.964 MB / 457.4 MB, free: 48.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.4356, allocations: 1.211 MB / 458.7 MB, free: 48.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.4357, allocations: 10.7 kB / 458.7 MB, free: 48.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4357, allocations: 42.88 kB / 458.7 MB, free: 48.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=72): time 4.188e-06/0.4357, allocations: 0 / 458.7 MB, free: 48.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=73): time 0.005213/0.4409, allocations: 3.354 MB / 462.1 MB, free: 47.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.441, allocations: 86.64 kB / 462.1 MB, free: 47.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/0.4414, allocations: 458 kB / 462.6 MB, free: 47.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.4415, allocations: 38.45 kB / 462.6 MB, free: 47.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4417, allocations: 400.7 kB / 463 MB, free: 46.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.4418, allocations: 256.9 kB / 463.3 MB, free: 46.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.4419, allocations: 13.47 kB / 463.3 MB, free: 46.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.442, allocations: 383.1 kB / 463.7 MB, free: 46.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000876/0.4429, allocations: 0.513 MB / 464.2 MB, free: 46.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000977/0.4439, allocations: 0.704 MB / 464.9 MB, free: 46.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008922/0.4448, allocations: 0.585 MB / 465.5 MB, free: 46.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4448, allocations: 4.266 kB / 465.5 MB, free: 46.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003712/0.4485, allocations: 2.109 MB / 467.6 MB, free: 45.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.4485, allocations: 6.688 kB / 467.6 MB, free: 45.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003437/0.452, allocations: 1.837 MB / 469.4 MB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/0.4536, allocations: 0.6949 MB / 470.1 MB, free: 44.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.4543, allocations: 158.5 kB / 470.3 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009524/0.4638, allocations: 7.239 MB / 477.5 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.4646, allocations: 83.47 kB / 477.6 MB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.4646, allocations: 36.94 kB / 477.6 MB, free: 40.82 MB / 382.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 (77): * Single equations (assignments): 74 * Array equations: 1 * 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.000401/0.465, allocations: 321.8 kB / 477.9 MB, free: 40.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.4652, allocations: 62.19 kB / 478 MB, free: 40.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001955/0.4671, allocations: 1.322 MB / 479.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.4672, allocations: 16.17 kB / 479.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4672, allocations: 3.938 kB / 479.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.4672, allocations: 6.516 kB / 479.3 MB, free: 40.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.4705, allocations: 2.429 MB / 481.8 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4705, allocations: 3.031 kB / 481.8 MB, free: 38.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002513/0.473, allocations: 0.6417 MB / 482.4 MB, free: 38.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-05/0.4731, allocations: 32.94 kB / 482.5 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-05/0.4732, allocations: 14.78 kB / 482.5 MB, free: 38.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006469/0.4738, allocations: 1.39 MB / 483.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4739, allocations: 3 kB / 483.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.4771, allocations: 2.112 MB / 486 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.4773, allocations: 126.2 kB / 486.1 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.4775, allocations: 21.3 kB / 486.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005193/0.478, allocations: 67.66 kB / 486.2 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.4782, allocations: 65.25 kB / 486.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.4782, allocations: 16.47 kB / 486.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000473/0.4787, allocations: 316.6 kB / 486.6 MB, free: 36.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4787, allocations: 0 / 486.6 MB, free: 36.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001227/0.48, allocations: 233.3 kB / 486.8 MB, free: 36.15 MB / 382.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 (68): * Single equations (assignments): 65 * Array equations: 1 * 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.0003468/0.4803, allocations: 143.3 kB / 486.9 MB, free: 36.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002872/0.4832, allocations: 1.585 MB / 488.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4832, allocations: 1.156 kB / 488.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003106/0.4863, allocations: 1.151 MB / 489.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.4871, allocations: 143.7 kB / 489.8 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.4915, allocations: 2.718 MB / 492.5 MB, free: 33.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.4921, allocations: 1.089 MB / 493.6 MB, free: 32.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006715/0.4928, allocations: 211.8 kB / 493.8 MB, free: 32.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.493, allocations: 56.14 kB / 493.9 MB, free: 32.72 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.493, allocations: 0 / 493.9 MB, free: 32.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02496/0.518, allocations: 12.19 MB / 0.4942 GB, free: 30.88 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: