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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001601/0.001601, allocations: 114.9 kB / 17.74 MB, free: 5.34 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.001805/0.001805, allocations: 188.5 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1783/0.1783, allocations: 37.99 MB / 309.9 MB, free: 5.941 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 68.45 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1129, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008428/0.1214, allocations: 6.341 MB / 494.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002726/0.1241, allocations: 1.497 MB / 495.6 MB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004681/0.1246, allocations: 19.88 kB / 495.6 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.1254, allocations: 150.8 kB / 495.8 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.1265, allocations: 425.9 kB / 496.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.1272, allocations: 215.6 kB / 496.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.1286, allocations: 1.121 MB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.1291, allocations: 356.6 kB / 497.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.1299, allocations: 470.2 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.131, allocations: 0.5411 MB / 498.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001953/0.1312, allocations: 68 kB / 498.9 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.1314, allocations: 64 kB / 499 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.1318, allocations: 307.3 kB / 499.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006216/0.1324, allocations: 382.2 kB / 499.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.1335, allocations: 0.8644 MB / 0.4888 GB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1335, allocations: 4 kB / 0.4888 GB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1335, allocations: 0 / 0.4888 GB, free: 11.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.1335, allocations: 0 / 0.4888 GB, free: 11.51 MB / 382.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.002506/0.136, allocations: 1.027 MB / 0.4898 GB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1361, allocations: 11.89 kB / 0.4898 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1363, allocations: 84.03 kB / 0.4899 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.1375, allocations: 0.5807 MB / 0.4905 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.1377, allocations: 124.8 kB / 0.4906 GB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.724e-05/0.1378, allocations: 59.98 kB / 0.4907 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.1392, allocations: 0.7811 MB / 0.4914 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1393, allocations: 3.938 kB / 0.4914 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.1393, allocations: 20 kB / 0.4914 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.1395, allocations: 36.97 kB / 0.4915 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1409, allocations: 0.6908 MB / 0.4922 GB, free: 7.953 MB / 382.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.004544/0.1455, allocations: 2.704 MB / 0.4948 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001792/0.1473, allocations: 0.8702 MB / 0.4956 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.1479, allocations: 325.6 kB / 0.496 GB, free: 3.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.1479, allocations: 4 kB / 0.496 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.148, allocations: 38.56 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=38): time 2.705e-06/0.148, allocations: 0 / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.004052/0.152, allocations: 1.937 MB / 0.4979 GB, free: 1.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.844e-05/0.1521, allocations: 85.05 kB / 0.498 GB, free: 1.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.1527, allocations: 429.9 kB / 0.4984 GB, free: 1.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.1527, allocations: 33.7 kB / 0.4984 GB, free: 1.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.1529, allocations: 320.2 kB / 0.4987 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.1531, allocations: 130.1 kB / 0.4988 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.1532, allocations: 86.16 kB / 0.4989 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1534, allocations: 362.7 kB / 0.4993 GB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004907/0.1539, allocations: 245 kB / 0.4995 GB, free: 84 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/0.1545, allocations: 346.4 kB / 0.4998 GB, free: 15.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.1555, allocations: 0.5781 MB / 0.5004 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1555, allocations: 0 / 0.5004 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001435/0.157, allocations: 0.7959 MB / 0.5012 GB, free: 14.24 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.157, allocations: 8 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.157, allocations: 7.938 kB / 0.5012 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.1574, allocations: 69.67 kB / 0.5013 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.1588, allocations: 291.6 kB / 0.5015 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00636/0.1652, allocations: 6.512 MB / 0.5079 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.1658, allocations: 39.89 kB / 0.5079 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.1659, allocations: 16 kB / 0.5079 GB, free: 6.75 MB / 398.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.0004487/0.1663, allocations: 245.7 kB / 0.5082 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.1665, allocations: 47.44 kB / 0.5082 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.168, allocations: 0.7299 MB / 0.5089 GB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.168, allocations: 7.984 kB / 0.5089 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.168, allocations: 0 / 0.5089 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1681, allocations: 0 / 0.5089 GB, free: 5.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.1709, allocations: 1.495 MB / 0.5104 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1709, allocations: 0 / 0.5104 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.1725, allocations: 299.6 kB / 0.5107 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.1728, allocations: 85.64 kB / 0.5108 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.1728, allocations: 15.92 kB / 0.5108 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/0.1753, allocations: 3.165 MB / 0.5139 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.1753, allocations: 0 / 0.5139 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.1773, allocations: 1.122 MB / 0.515 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/0.1775, allocations: 128.4 kB / 0.5151 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.1776, allocations: 8 kB / 0.5151 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.178, allocations: 31.95 kB / 0.5151 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.1781, allocations: 47.64 kB / 0.5152 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/0.1782, allocations: 11.98 kB / 0.5152 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003866/0.1786, allocations: 299.1 kB / 0.5155 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1786, allocations: 3.938 kB / 0.5155 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.1793, allocations: 136 kB / 0.5156 GB, free: 14.41 MB / 414.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.0001626/0.1795, allocations: 103.2 kB / 0.5157 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002662/0.1821, allocations: 0.9972 MB / 0.5167 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1822, allocations: 0 / 0.5167 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001879/0.184, allocations: 0.7123 MB / 0.5174 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00087/0.1849, allocations: 158.6 kB / 0.5175 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/0.1876, allocations: 1.459 MB / 0.519 GB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.1883, allocations: 0.9448 MB / 0.5199 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.1885, allocations: 43.44 kB / 0.5199 GB, free: 9.867 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1885, allocations: 4 kB / 0.5199 GB, free: 9.863 MB / 414.1 MB Notification: Performance of Templates: time 0.2459/0.4344, allocations: 16.82 MB / 0.5364 GB, free: 50.66 MB / 414.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)