Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 107 kB / 16.62 MB, free: 6.805 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.001314/0.001314, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.447/1.447, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1849/0.1849, allocations: 38.02 MB / 329.4 MB, free: 8.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 67.2 kB / 398.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1255, allocations: 58.05 MB / 456.3 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009577/0.1351, allocations: 7.104 MB / 463.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003523/0.1387, allocations: 1.656 MB / 465.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009037/0.1396, allocations: 43.69 kB / 465.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.1404, allocations: 123.2 kB / 465.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.1416, allocations: 378.4 kB / 465.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.1422, allocations: 171.8 kB / 465.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.1436, allocations: 1.087 MB / 466.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005636/0.1442, allocations: 352.6 kB / 467.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009711/0.1452, allocations: 458.3 kB / 467.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1464, allocations: 0.5608 MB / 468.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.1466, allocations: 68 kB / 468.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.1469, allocations: 71.94 kB / 468.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.1472, allocations: 307.2 kB / 468.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005933/0.1478, allocations: 362.4 kB / 469 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.1489, allocations: 0.8411 MB / 469.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1489, allocations: 0 / 469.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1489, allocations: 0 / 469.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.259e-05/0.149, allocations: 0 / 469.9 MB, free: 10.82 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002514/0.1515, allocations: 0.9997 MB / 470.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1515, allocations: 11.89 kB / 470.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.1518, allocations: 72.09 kB / 470.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.1529, allocations: 0.5535 MB / 471.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.1531, allocations: 120.8 kB / 471.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.1533, allocations: 52 kB / 471.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.1549, allocations: 0.7694 MB / 472.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.155, allocations: 7.938 kB / 472.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.155, allocations: 20 kB / 472.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.1552, allocations: 32.97 kB / 472.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.1568, allocations: 0.7337 MB / 473.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.1606, allocations: 2.593 MB / 475.8 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.1623, allocations: 0.8088 MB / 476.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.163, allocations: 399.4 kB / 477 MB, free: 3.379 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.1631, allocations: 12.42 kB / 477 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.1631, allocations: 42.98 kB / 477.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.305e-06/0.1631, allocations: 0 / 477.1 MB, free: 3.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.0044/0.1675, allocations: 2.131 MB / 479.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.1676, allocations: 89.58 kB / 479.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.1681, allocations: 398 kB / 479.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.1682, allocations: 33.7 kB / 479.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.1684, allocations: 284.5 kB / 480 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.1685, allocations: 181.4 kB / 480.2 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.1687, allocations: 98.16 kB / 480.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1689, allocations: 362.8 kB / 480.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.1695, allocations: 284.8 kB / 480.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.1701, allocations: 377.1 kB / 481.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1712, allocations: 0.6576 MB / 481.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1713, allocations: 0 / 481.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001595/0.1729, allocations: 0.8678 MB / 482.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1729, allocations: 8 kB / 482.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1729, allocations: 4.375 kB / 482.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000268/0.1732, allocations: 77.66 kB / 482.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.1747, allocations: 311.5 kB / 483.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006497/0.1812, allocations: 6.528 MB / 489.7 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.1817, allocations: 39.95 kB / 489.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.1818, allocations: 20 kB / 489.8 MB, free: 5.773 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004153/0.1822, allocations: 246.8 kB / 490 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.1824, allocations: 55.41 kB / 490.1 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.184, allocations: 0.8203 MB / 490.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1841, allocations: 12 kB / 490.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1841, allocations: 0 / 490.9 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1841, allocations: 3.984 kB / 490.9 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003129/0.1872, allocations: 1.681 MB / 492.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.1872, allocations: 0 / 492.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001595/0.1888, allocations: 323.6 kB / 492.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.1891, allocations: 89.64 kB / 493 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.1892, allocations: 11.98 kB / 493 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002338/0.1915, allocations: 3.161 MB / 496.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1915, allocations: 12.03 kB / 496.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.1938, allocations: 1.312 MB / 497.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.194, allocations: 120.5 kB / 497.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.1941, allocations: 19.97 kB / 497.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004144/0.1945, allocations: 39.95 kB / 497.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/0.1947, allocations: 43.94 kB / 497.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.1947, allocations: 16 kB / 497.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004479/0.1952, allocations: 283.1 kB / 498 MB, free: 13.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1952, allocations: 0 / 498 MB, free: 13.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008519/0.196, allocations: 144 kB / 498.1 MB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.1962, allocations: 123 kB / 498.3 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.1992, allocations: 1.179 MB / 499.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1992, allocations: 0 / 499.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.2012, allocations: 0.802 MB / 0.4885 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.2021, allocations: 141.3 kB / 0.4886 GB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.2057, allocations: 1.829 MB / 0.4904 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008152/0.2066, allocations: 0.9447 MB / 0.4914 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004918/0.2071, allocations: 132.7 kB / 0.4915 GB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.2072, allocations: 39.44 kB / 0.4915 GB, free: 7.586 MB / 382.1 MB Notification: Performance of SimCode: time 9.51e-07/0.2072, allocations: 0 / 0.4915 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Templates: time 0.01574/0.223, allocations: 7.726 MB / 0.4991 GB, free: 15.92 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1)