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.001571/0.001571, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001876/0.001876, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.467/1.467, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1833/0.1833, allocations: 38.02 MB / 330.4 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 65.64 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1035, allocations: 58.06 MB / 457.5 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009155/0.1127, allocations: 6.247 MB / 463.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.1159, allocations: 1.426 MB / 465.2 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.1165, allocations: 23.81 kB / 465.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.1172, allocations: 142.9 kB / 465.4 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.1186, allocations: 410 kB / 465.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.1192, allocations: 203.6 kB / 466 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.1206, allocations: 1.087 MB / 467 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005466/0.1212, allocations: 348.6 kB / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000915/0.1221, allocations: 466.2 kB / 467.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009828/0.1231, allocations: 0.5179 MB / 468.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.1233, allocations: 68 kB / 468.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.1236, allocations: 67.94 kB / 468.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003681/0.124, allocations: 303.3 kB / 468.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005598/0.1246, allocations: 366.3 kB / 469.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.1255, allocations: 0.8372 MB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1256, allocations: 0 / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1256, allocations: 0 / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.279e-05/0.1256, allocations: 0 / 470 MB, free: 11.54 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.00237/0.128, allocations: 0.9998 MB / 471 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.128, allocations: 15.89 kB / 471 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.1282, allocations: 72.09 kB / 471.1 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.1292, allocations: 0.5496 MB / 471.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.1294, allocations: 120.8 kB / 471.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1296, allocations: 55.98 kB / 471.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.1311, allocations: 0.7694 MB / 472.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1311, allocations: 0 / 472.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.1312, allocations: 28 kB / 472.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.1313, allocations: 36.97 kB / 472.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.1327, allocations: 0.7181 MB / 473.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.1364, allocations: 2.612 MB / 476 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.138, allocations: 0.801 MB / 476.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006698/0.1387, allocations: 402.5 kB / 477.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.1387, allocations: 8.438 kB / 477.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/0.1388, allocations: 42.98 kB / 477.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.906e-06/0.1388, allocations: 0 / 477.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.004199/0.143, allocations: 2.139 MB / 479.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.143, allocations: 81.55 kB / 479.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.1435, allocations: 398 kB / 479.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.1435, allocations: 33.7 kB / 479.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1437, allocations: 292.5 kB / 480.1 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1439, allocations: 181.4 kB / 480.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001481/0.144, allocations: 98.25 kB / 480.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1442, allocations: 358.8 kB / 480.7 MB, free: 316 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/0.1447, allocations: 272.9 kB / 481 MB, free: 44 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.1453, allocations: 384.6 kB / 481.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.1466, allocations: 0.6576 MB / 482 MB, free: 14.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1466, allocations: 4 kB / 482.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001618/0.1482, allocations: 0.8719 MB / 482.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1483, allocations: 4 kB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1483, allocations: 4 kB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.1486, allocations: 85.75 kB / 483 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.1502, allocations: 307.5 kB / 483.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.1567, allocations: 6.528 MB / 489.8 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.1572, allocations: 44.08 kB / 489.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.1573, allocations: 16 kB / 489.9 MB, free: 6.484 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.0003845/0.1577, allocations: 246.8 kB / 490.1 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.1578, allocations: 47.44 kB / 490.2 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.1594, allocations: 0.828 MB / 491 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1594, allocations: 4 kB / 491 MB, free: 5.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1594, allocations: 4 kB / 491 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1595, allocations: 3.984 kB / 491 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/0.1625, allocations: 1.673 MB / 492.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1625, allocations: 4 kB / 492.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/0.1643, allocations: 327.7 kB / 493 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002803/0.1646, allocations: 85.55 kB / 493.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-05/0.1647, allocations: 23.98 kB / 493.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.1671, allocations: 3.157 MB / 496.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1671, allocations: 0 / 496.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.1694, allocations: 1.316 MB / 497.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.1696, allocations: 124.6 kB / 497.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-05/0.1697, allocations: 23.94 kB / 497.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1701, allocations: 35.95 kB / 497.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.1702, allocations: 43.94 kB / 497.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.1703, allocations: 12 kB / 497.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003552/0.1706, allocations: 279.1 kB / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1707, allocations: 0 / 498.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006842/0.1713, allocations: 152 kB / 498.3 MB, free: 13.62 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.0001424/0.1715, allocations: 119 kB / 498.4 MB, free: 13.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003139/0.1746, allocations: 1.183 MB / 499.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1747, allocations: 0 / 499.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.1766, allocations: 0.7938 MB / 0.4886 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.1775, allocations: 148.6 kB / 0.4888 GB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.1811, allocations: 1.652 MB / 0.4904 GB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.1817, allocations: 0.9408 MB / 0.4913 GB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.1819, allocations: 51.38 kB / 0.4913 GB, free: 8.594 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1819, allocations: 0 / 0.4913 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Templates: time 0.02061/0.2025, allocations: 16.69 MB / 0.5076 GB, free: 7.918 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)