Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001636, 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.002012/0.002012, allocations: 195.2 kB / 18.52 MB, free: 4.633 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.452/1.452, 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.1815/0.1815, allocations: 38.03 MB / 330.4 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 66.16 kB / 399.5 MB, free: 34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 58.06 MB / 457.5 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.007371/0.1097, allocations: 6.333 MB / 463.9 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1123, allocations: 1.441 MB / 465.3 MB, free: 224 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.1128, allocations: 23.88 kB / 465.3 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005293/0.1134, allocations: 158.8 kB / 465.5 MB, free: 40 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009287/0.1143, allocations: 429.9 kB / 465.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004724/0.1148, allocations: 207.6 kB / 466.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1159, allocations: 1.118 MB / 467.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004417/0.1163, allocations: 356.6 kB / 467.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006483/0.117, allocations: 470.2 kB / 468 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.1177, allocations: 0.5412 MB / 468.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.1178, allocations: 68 kB / 468.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.118, allocations: 64 kB / 468.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.1183, allocations: 307.3 kB / 469 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.1187, allocations: 374.3 kB / 469.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.1195, allocations: 0.8683 MB / 470.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1195, allocations: 0 / 470.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1195, allocations: 0 / 470.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1195, allocations: 3.938 kB / 470.2 MB, free: 11.27 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001892/0.1214, allocations: 1.019 MB / 471.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1215, allocations: 15.89 kB / 471.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1216, allocations: 76.08 kB / 471.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.1224, allocations: 0.5534 MB / 471.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.1226, allocations: 120.8 kB / 472 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.1227, allocations: 52 kB / 472.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1239, allocations: 0.7889 MB / 472.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.1239, allocations: 0 / 472.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.243e-05/0.124, allocations: 23.94 kB / 472.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.1241, allocations: 36.97 kB / 472.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.1254, allocations: 0.6947 MB / 473.6 MB, free: 7.754 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003797/0.1292, allocations: 2.704 MB / 476.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.131, allocations: 0.8863 MB / 477.2 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.1315, allocations: 329.5 kB / 477.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.1316, allocations: 4 kB / 477.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1316, allocations: 38.56 kB / 477.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.814e-06/0.1316, allocations: 0 / 477.6 MB, free: 3.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.003717/0.1354, allocations: 1.941 MB / 479.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.1354, allocations: 85.05 kB / 479.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.1359, allocations: 429.8 kB / 480 MB, free: 1.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.1359, allocations: 33.7 kB / 480 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.1362, allocations: 320.2 kB / 480.4 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1363, allocations: 134.1 kB / 480.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.1364, allocations: 86.16 kB / 480.6 MB, free: 472 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1366, allocations: 362.8 kB / 480.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.1371, allocations: 237 kB / 481.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005434/0.1377, allocations: 350.2 kB / 481.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1387, allocations: 0.5822 MB / 482.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1387, allocations: 0 / 482.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001405/0.1401, allocations: 0.7878 MB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1402, allocations: 8.438 kB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1402, allocations: 4 kB / 482.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.1404, allocations: 73.67 kB / 483 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.142, allocations: 283.6 kB / 483.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006252/0.1482, allocations: 6.52 MB / 489.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004998/0.1488, allocations: 35.95 kB / 489.8 MB, free: 6.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.1488, allocations: 20 kB / 489.8 MB, free: 6.527 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0003477/0.1492, allocations: 237.5 kB / 490 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.1493, allocations: 55.48 kB / 490.1 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.1506, allocations: 0.7334 MB / 490.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1507, allocations: 7.984 kB / 490.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1507, allocations: 0 / 490.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1507, allocations: 3.984 kB / 490.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.1532, allocations: 1.502 MB / 492.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.1532, allocations: 0 / 492.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.1548, allocations: 299.6 kB / 492.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.1551, allocations: 85.64 kB / 492.7 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.1551, allocations: 11.98 kB / 492.7 MB, free: 3.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/0.1576, allocations: 3.165 MB / 495.9 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1576, allocations: 3.984 kB / 495.9 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.1595, allocations: 1.117 MB / 497 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.1597, allocations: 128.5 kB / 497.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-05/0.1598, allocations: 8 kB / 497.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.1601, allocations: 35.95 kB / 497.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.1602, allocations: 43.83 kB / 497.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.1603, allocations: 15.98 kB / 497.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000364/0.1607, allocations: 291.1 kB / 497.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1607, allocations: 0 / 497.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006705/0.1613, allocations: 136 kB / 497.7 MB, free: 14.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 36 * 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.0001731/0.1615, allocations: 115.2 kB / 497.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.1644, allocations: 1.043 MB / 498.8 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1644, allocations: 0 / 498.8 MB, free: 13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.1664, allocations: 0.7167 MB / 499.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.1673, allocations: 140.7 kB / 499.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.1699, allocations: 1.481 MB / 0.4894 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.1705, allocations: 0.9487 MB / 0.4903 GB, free: 9.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.1706, allocations: 39.44 kB / 0.4904 GB, free: 9.598 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1707, allocations: 0 / 0.4904 GB, free: 9.598 MB / 382.1 MB Notification: Performance of Templates: time 0.01949/0.1902, allocations: 16.85 MB / 0.5068 GB, free: 8.773 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)