Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 107.3 kB / 16.51 MB, free: 6.719 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.001616/0.001616, allocations: 194.5 kB / 17.43 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1713/0.1713, allocations: 38.02 MB / 329.3 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 73.8 kB / 398.1 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 58.05 MB / 456.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01063/0.1395, allocations: 7.529 MB / 463.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005509/0.1451, allocations: 2.395 MB / 466.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.1463, allocations: 39.75 kB / 466.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.1484, allocations: 486 kB / 466.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.1502, allocations: 0.5137 MB / 467.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.1514, allocations: 311.5 kB / 467.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.154, allocations: 1.84 MB / 469.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.1557, allocations: 0.6268 MB / 469.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.1571, allocations: 474.1 kB / 470.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.1584, allocations: 0.7478 MB / 471.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.1586, allocations: 64 kB / 471.1 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.1598, allocations: 0.6201 MB / 471.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.1603, allocations: 442.8 kB / 472.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005864/0.1609, allocations: 493.7 kB / 472.7 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.1626, allocations: 1.476 MB / 474.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1626, allocations: 0 / 474.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1626, allocations: 0 / 474.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1626, allocations: 0 / 474.2 MB, free: 6.434 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003161/0.1658, allocations: 1.379 MB / 475.5 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1659, allocations: 8.031 kB / 475.5 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007638/0.1666, allocations: 143.7 kB / 475.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1678, allocations: 0.6492 MB / 476.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/0.1681, allocations: 175.6 kB / 476.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.1683, allocations: 91.92 kB / 476.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/0.1706, allocations: 1.406 MB / 478 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/0.1707, allocations: 4 kB / 478 MB, free: 2.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.572e-05/0.1708, allocations: 31.98 kB / 478 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002186/0.171, allocations: 81.95 kB / 478.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.1736, allocations: 1.515 MB / 479.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007026/0.1807, allocations: 4.439 MB / 484.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002303/0.183, allocations: 1.19 MB / 485.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.1843, allocations: 0.7803 MB / 486 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.501e-05/0.1844, allocations: 16.64 kB / 486.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.1845, allocations: 47.16 kB / 486.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.586e-06/0.1845, allocations: 0 / 486.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.007625/0.1921, allocations: 3.846 MB / 489.9 MB, free: 6.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1922, allocations: 90.09 kB / 490 MB, free: 6.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.1927, allocations: 401.9 kB / 490.4 MB, free: 5.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.757e-05/0.1928, allocations: 41.64 kB / 490.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.193, allocations: 344.3 kB / 490.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003097/0.1934, allocations: 354.8 kB / 491.1 MB, free: 4.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.1936, allocations: 166.5 kB / 491.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1938, allocations: 378.8 kB / 491.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.195, allocations: 0.5914 MB / 492.3 MB, free: 3.852 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.1961, allocations: 0.7425 MB / 493 MB, free: 3.062 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/0.1984, allocations: 1.395 MB / 494.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1984, allocations: 0 / 494.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003022/0.2014, allocations: 1.603 MB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.2014, allocations: 8 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.2015, allocations: 4 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.2016, allocations: 41.02 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/0.204, allocations: 0.4953 MB / 496.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006881/0.2109, allocations: 6.188 MB / 0.491 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.2117, allocations: 87.98 kB / 0.491 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.985e-05/0.2118, allocations: 31.98 kB / 0.4911 GB, free: 8.602 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems 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 prepare postOptimizeDAE: time 0.0006294/0.2124, allocations: 313.5 kB / 0.4914 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.2126, allocations: 71.08 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.2158, allocations: 1.6 MB / 0.493 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.391e-05/0.2159, allocations: 20 kB / 0.493 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2159, allocations: 4 kB / 0.493 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.2159, allocations: 7.969 kB / 0.493 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004794/0.2207, allocations: 2.873 MB / 0.4958 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.2207, allocations: 8 kB / 0.4959 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/0.2233, allocations: 0.5268 MB / 0.4964 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001023/0.2234, allocations: 40.83 kB / 0.4964 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/0.2235, allocations: 20 kB / 0.4964 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.2249, allocations: 1.474 MB / 0.4979 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2249, allocations: 3.938 kB / 0.4979 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004109/0.229, allocations: 2.542 MB / 0.5003 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.2292, allocations: 140.2 kB / 0.5005 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.2294, allocations: 19.98 kB / 0.5005 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.2299, allocations: 71.91 kB / 0.5006 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002095/0.2302, allocations: 80.48 kB / 0.5006 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.307e-05/0.2302, allocations: 20 kB / 0.5007 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003457/0.2306, allocations: 283.1 kB / 0.5009 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2306, allocations: 0 / 0.5009 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008918/0.2315, allocations: 240 kB / 0.5012 GB, free: 13.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * 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.0003259/0.2318, allocations: 171 kB / 0.5013 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004439/0.2363, allocations: 1.825 MB / 0.5031 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.2363, allocations: 4 kB / 0.5031 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002854/0.2392, allocations: 1.202 MB / 0.5043 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008977/0.2401, allocations: 141.5 kB / 0.5044 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005297/0.2454, allocations: 2.969 MB / 0.5073 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/0.2463, allocations: 1.08 MB / 0.5084 GB, free: 6.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001022/0.2473, allocations: 269.5 kB / 0.5086 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.2476, allocations: 59.42 kB / 0.5087 GB, free: 6.086 MB / 398.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2476, allocations: 0 / 0.5087 GB, free: 6.086 MB / 398.1 MB Notification: Performance of Templates: time 0.2258/0.4734, allocations: 10.18 MB / 0.5186 GB, free: 70.29 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1)