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 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.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.001063/0.001063, allocations: 107.4 kB / 16.62 MB, free: 6.812 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.001016/0.001016, 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.362/1.362, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1752/0.1752, allocations: 38.03 MB / 329.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 64.83 kB / 398.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1185, allocations: 58.06 MB / 456.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.009171/0.1277, allocations: 7.798 MB / 464.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004501/0.1323, allocations: 2.446 MB / 466.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007959/0.1331, allocations: 47.69 kB / 466.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.1347, allocations: 494.1 kB / 467.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.1364, allocations: 0.5136 MB / 467.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1377, allocations: 331.5 kB / 467.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.1396, allocations: 1.313 MB / 469.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.1406, allocations: 0.7558 MB / 470 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.1416, allocations: 0.5449 MB / 470.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009918/0.1426, allocations: 0.7323 MB / 471.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.1428, allocations: 100 kB / 471.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009995/0.1438, allocations: 0.546 MB / 471.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.1443, allocations: 474.9 kB / 472.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005744/0.1448, allocations: 0.5172 MB / 472.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1465, allocations: 1.449 MB / 474.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1465, allocations: 0 / 474.4 MB, free: 6.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1465, allocations: 4 kB / 474.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.1465, allocations: 0 / 474.4 MB, free: 6.285 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002697/0.1492, allocations: 1.352 MB / 475.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1493, allocations: 11.89 kB / 475.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007539/0.15, allocations: 147.6 kB / 475.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.1512, allocations: 0.6593 MB / 476.5 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.1514, allocations: 167.6 kB / 476.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.1516, allocations: 91.92 kB / 476.8 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.1537, allocations: 1.358 MB / 478.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.1538, allocations: 0 / 478.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.752e-05/0.1539, allocations: 36 kB / 478.2 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.154, allocations: 65.97 kB / 478.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.1562, allocations: 1.292 MB / 479.5 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006679/0.1629, allocations: 4.923 MB / 484.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002099/0.1651, allocations: 1.137 MB / 485.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.1661, allocations: 0.6308 MB / 486.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.619e-05/0.1662, allocations: 12.55 kB / 486.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1663, allocations: 43.12 kB / 486.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.687e-06/0.1663, allocations: 0 / 486.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.005774/0.1721, allocations: 3.167 MB / 489.5 MB, free: 6.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1721, allocations: 89.66 kB / 489.5 MB, free: 6.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.1726, allocations: 465.9 kB / 490 MB, free: 6.145 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.1727, allocations: 37.7 kB / 490 MB, free: 6.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.173, allocations: 399.3 kB / 490.4 MB, free: 5.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.1732, allocations: 256.3 kB / 490.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002465/0.1735, allocations: 150.6 kB / 490.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1737, allocations: 374.8 kB / 491.2 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/0.1745, allocations: 0.4899 MB / 491.7 MB, free: 4.434 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009792/0.1755, allocations: 0.6911 MB / 492.4 MB, free: 3.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.1774, allocations: 1.216 MB / 493.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1775, allocations: 11.88 kB / 493.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004271/0.1817, allocations: 1.982 MB / 495.6 MB, free: 360 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1818, allocations: 4 kB / 495.6 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00381/0.1856, allocations: 1.723 MB / 497.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/0.1874, allocations: 0.6534 MB / 498 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.188, allocations: 151.8 kB / 498.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.1993, allocations: 7.415 MB / 0.4937 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.2002, allocations: 80 kB / 0.4937 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.2003, allocations: 28 kB / 0.4938 GB, free: 6 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 (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.0005572/0.2008, allocations: 305.5 kB / 0.4941 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.201, allocations: 67.23 kB / 0.4941 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.2035, allocations: 1.305 MB / 0.4954 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.095e-05/0.2035, allocations: 15.94 kB / 0.4954 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2035, allocations: 0 / 0.4954 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.2035, allocations: 7.984 kB / 0.4954 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.2074, allocations: 2.398 MB / 0.4978 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.2074, allocations: 7.938 kB / 0.4978 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002501/0.2099, allocations: 0.4915 MB / 0.4983 GB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001178/0.2101, allocations: 36.83 kB / 0.4983 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.2101, allocations: 16 kB / 0.4983 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.216/0.4261, allocations: 1.62 MB / 0.4999 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4262, allocations: 2.656 kB / 0.4999 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004116/0.4303, allocations: 2.016 MB / 0.5019 GB, free: 55.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.4305, allocations: 133.3 kB / 0.502 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.4307, allocations: 16.19 kB / 0.502 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.4312, allocations: 57.95 kB / 0.5021 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.4315, allocations: 73.33 kB / 0.5021 GB, free: 55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.4315, allocations: 17.36 kB / 0.5021 GB, free: 55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005824/0.4321, allocations: 315.5 kB / 0.5024 GB, free: 54.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4321, allocations: 0 / 0.5024 GB, free: 54.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001272/0.4334, allocations: 238.6 kB / 0.5027 GB, free: 54.91 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 (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.0003451/0.4338, allocations: 123.8 kB / 0.5028 GB, free: 54.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.4378, allocations: 1.85 MB / 0.5046 GB, free: 54.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4378, allocations: 0 / 0.5046 GB, free: 54.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002728/0.4405, allocations: 1.001 MB / 0.5056 GB, free: 53.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009521/0.4415, allocations: 152.9 kB / 0.5057 GB, free: 53.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.4459, allocations: 2.638 MB / 0.5083 GB, free: 52.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/0.4468, allocations: 1.083 MB / 0.5094 GB, free: 51.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008273/0.4476, allocations: 210.2 kB / 0.5096 GB, free: 51.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.4479, allocations: 51.02 kB / 0.5096 GB, free: 51.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4479, allocations: 0 / 0.5096 GB, free: 51.74 MB / 382.1 MB Notification: Performance of Templates: time 0.02327/0.4711, allocations: 13.22 MB / 0.5225 GB, free: 47.54 MB / 382.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)