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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001538/0.001538, allocations: 191.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.273/1.273, allocations: 194.2 MB / 212.2 MB, free: 2.379 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001702/0.001701, allocations: 120 kB / 256.6 MB, free: 4.293 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1703/0.1703, allocations: 37.94 MB / 338.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1011, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.007183/0.1083, allocations: 7.376 MB / 461.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1111, allocations: 1.804 MB / 463.2 MB, free: 7.348 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.1115, allocations: 39.75 kB / 463.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.1119, allocations: 135.1 kB / 463.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.1126, allocations: 406.3 kB / 463.7 MB, free: 6.777 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.113, allocations: 179.8 kB / 463.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.1141, allocations: 1.683 MB / 465.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.1145, allocations: 287 kB / 465.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.1149, allocations: 402.3 kB / 466.3 MB, free: 4.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.1154, allocations: 0.5646 MB / 466.8 MB, free: 3.672 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.148e-05/0.1155, allocations: 40 kB / 466.9 MB, free: 3.633 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1157, allocations: 40 kB / 466.9 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1159, allocations: 287.3 kB / 467.2 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.1162, allocations: 350.3 kB / 467.5 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.1167, allocations: 0.8371 MB / 468.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1167, allocations: 4 kB / 468.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1167, allocations: 0 / 468.4 MB, free: 2.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1168, allocations: 0 / 468.4 MB, free: 2.125 MB / 314.7 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.001772/0.1185, allocations: 1.031 MB / 469.4 MB, free: 1.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1186, allocations: 8.031 kB / 469.4 MB, free: 1.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.1187, allocations: 76.09 kB / 469.5 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.1196, allocations: 0.5495 MB / 470 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.1197, allocations: 120.6 kB / 470.2 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.756e-05/0.1198, allocations: 63.98 kB / 470.2 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.121, allocations: 0.7811 MB / 471 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.121, allocations: 4 kB / 471 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.443e-05/0.1211, allocations: 20 kB / 471 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.1212, allocations: 40.95 kB / 471.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1225, allocations: 0.6908 MB / 471.8 MB, free: 14.6 MB / 330.7 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.003975/0.1265, allocations: 2.708 MB / 474.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1282, allocations: 0.8702 MB / 475.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.1288, allocations: 325.6 kB / 475.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.1288, allocations: 4 kB / 475.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.1289, allocations: 42.5 kB / 475.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 3.406e-06/0.1289, allocations: 0 / 475.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.003665/0.1325, allocations: 1.944 MB / 477.6 MB, free: 8.418 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.1326, allocations: 92.92 kB / 477.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.1331, allocations: 425.9 kB / 478.1 MB, free: 7.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.1332, allocations: 29.7 kB / 478.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1334, allocations: 320.2 kB / 478.5 MB, free: 7.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1335, allocations: 142 kB / 478.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.1336, allocations: 82.25 kB / 478.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1338, allocations: 358.8 kB / 479.1 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004557/0.1342, allocations: 237 kB / 479.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005132/0.1348, allocations: 350.3 kB / 479.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009943/0.1358, allocations: 0.5859 MB / 480.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1358, allocations: 4 kB / 480.2 MB, free: 5.691 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001329/0.1371, allocations: 0.7842 MB / 481 MB, free: 4.875 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1372, allocations: 4 kB / 481 MB, free: 4.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1372, allocations: 4 kB / 481 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002614/0.1374, allocations: 77.89 kB / 481.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.1388, allocations: 287.5 kB / 481.4 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/0.1446, allocations: 6.006 MB / 487.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004294/0.1451, allocations: 43.83 kB / 487.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.1451, allocations: 16 kB / 487.4 MB, free: 13.91 MB / 346.7 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.000366/0.1455, allocations: 242.4 kB / 487.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.1456, allocations: 47.44 kB / 487.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.1469, allocations: 0.7296 MB / 488.4 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1469, allocations: 4 kB / 488.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1469, allocations: 0 / 488.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.147, allocations: 3.984 kB / 488.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002427/0.1494, allocations: 1.491 MB / 489.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1494, allocations: 4.062 kB / 489.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/0.151, allocations: 295.6 kB / 490.2 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.1513, allocations: 97.5 kB / 490.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.1513, allocations: 19.92 kB / 490.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002101/0.1534, allocations: 2.88 MB / 493.2 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.1535, allocations: 7.875 kB / 493.2 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.1649, allocations: 8.382 MB / 0.4899 GB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.165, allocations: 120.5 kB / 0.49 GB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.1651, allocations: 12 kB / 0.49 GB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.1654, allocations: 36.05 kB / 0.49 GB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.1655, allocations: 39.88 kB / 0.4901 GB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.1656, allocations: 15.94 kB / 0.4901 GB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003342/0.1659, allocations: 295.1 kB / 0.4904 GB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1659, allocations: 0 / 0.4904 GB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001014/0.1669, allocations: 192 kB / 0.4905 GB, free: 14.07 MB / 362.7 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.000185/0.1671, allocations: 115.1 kB / 0.4907 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.1697, allocations: 0.9926 MB / 0.4916 GB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1697, allocations: 0 / 0.4916 GB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.1716, allocations: 0.7123 MB / 0.4923 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007751/0.1724, allocations: 134.6 kB / 0.4924 GB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/0.1756, allocations: 2.193 MB / 0.4946 GB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.1761, allocations: 0.9603 MB / 0.4955 GB, free: 8.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.1764, allocations: 116.5 kB / 0.4956 GB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.1766, allocations: 39.44 kB / 0.4957 GB, free: 8.656 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1766, allocations: 4 kB / 0.4957 GB, free: 8.652 MB / 362.7 MB Notification: Performance of Templates: time 0.1945/0.3711, allocations: 8.923 MB / 0.5044 GB, free: 65.57 MB / 362.7 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)